dereferencing pointer to incomplete type" make sure you include the type-define file,especially when it's damn big project....