在Qt和PCL联合编译的过程中,会出现各种各样的错误,解决这些错误的过程真是痛苦万分,所以总结一些常见错误方便自己也方便他人。比如我们要编译PCL1.8.0中的apps中的point_cloud_editor这个应用时,可能会遇到如下错误:

>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAccum'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAlphaFunc'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'GLboolean'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2371: 'APIENTRY' : redefinition; different basic types
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glArrayElement'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBegin'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBindTexture'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBitmap'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBlendFunc'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glCallList'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glCallLists'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClear'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearAccum'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearColor'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearDepth'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearIndex'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearStencil'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClipPlane'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3b'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3bv'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3d'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3dv'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): fatal error C1003: error count exceeds ; stopping compilation
> statisticsDialog.cpp
>G:\xiaochen\projects\pcl\PCLEditor\PCLEditor\pcl/apps/point_cloud_editor/statisticsDialog.h(): fatal error C1083: Cannot open include file: 'QLineEdit': No such file or directory
> transformCommand.cpp
>C:\PCL1.8.0\install\include\pcl-1.8\pcl/point_traits.h : warning C4819: The file contains a character that cannot be represented in the current code page (). Save the file in Unicode format to prevent data loss
>C:\PCL1.8.0\install\include\pcl-1.8\pcl/point_traits.h : warning C4819: The file contains a character that cannot be represented in the current code page (). Save the file in Unicode format to prevent data loss
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAccum'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAlphaFunc'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'GLboolean'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2371: 'APIENTRY' : redefinition; different basic types
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glArrayElement'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBegin'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBindTexture'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBitmap'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glBlendFunc'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glCallList'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glCallLists'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClear'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearAccum'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearColor'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearDepth'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearIndex'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClearStencil'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glClipPlane'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3b'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3bv'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3d'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int APIENTRY' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'APIENTRY'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2144: syntax error : 'void' should be preceded by ';'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2086: 'int WINGDIAPI' : redefinition
> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h() : see declaration of 'WINGDIAPI'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2146: syntax error : missing ';' before identifier 'glColor3dv'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): error C2182: 'APIENTRY' : illegal use of type 'void'
>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(): fatal error C1003: error count exceeds ; stopping compilation

这个错误的解决方法很简单,哪个cpp文件产生了这些错误,就在该文件中加入下面一行头文件:

#include <windows.h>

加入了上面这行声明后,可能会引发另外一个错误:

>selectionTransformTool.cpp(): error C2589: '(' : illegal token on right side of '::'
>selectionTransformTool.cpp(): error C2059: syntax error : '::'
>selectionTransformTool.cpp(): error C2589: '(' : illegal token on right side of '::'
>selectionTransformTool.cpp(): error C2059: syntax error : '::'

发生这个错误的地方一般会调用max或者min函数,原因是windows.h里面将max和min定义成了宏,我们只需在#include <windows.h>这行前面加上下面这行即可:

#define NOMINMAX

如果Qt中使用了OpenGL模块,可能会出现下面这行错误:

>cloudEditorWidget.obj : error LNK2019: unresolved external symbol _gluPerspective@ referenced in function "protected: virtual void __thiscall CloudEditorWidget::resizeGL(int,int)" (?resizeGL@CloudEditorWidget@@MAEXHH@Z)

解决方法是在项目Properties -> Linker -> Input 中加入:

GLu32.lib

还有如果用了Qt的UI,可能会有如下的错误:

>cloudEditorWidget.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const CloudEditorWidget::staticMetaObject" (?staticMetaObject@CloudEditorWidget@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl CloudEditorWidget::tr(char const *,char const *)" (?tr@CloudEditorWidget@@SA?AVQString@@PBD0@Z)
>cloudEditorWidget.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall CloudEditorWidget::metaObject(void)const " (?metaObject@CloudEditorWidget@@UBEPBUQMetaObject@@XZ)
>cloudEditorWidget.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall CloudEditorWidget::qt_metacast(char const *)" (?qt_metacast@CloudEditorWidget@@UAEPAXPBD@Z)
>cloudEditorWidget.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CloudEditorWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@CloudEditorWidget@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
>denoiseParameterForm.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const DenoiseParameterForm::staticMetaObject" (?staticMetaObject@DenoiseParameterForm@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl DenoiseParameterForm::tr(char const *,char const *)" (?tr@DenoiseParameterForm@@SA?AVQString@@PBD0@Z)
>denoiseParameterForm.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall DenoiseParameterForm::metaObject(void)const " (?metaObject@DenoiseParameterForm@@UBEPBUQMetaObject@@XZ)
>denoiseParameterForm.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall DenoiseParameterForm::qt_metacast(char const *)" (?qt_metacast@DenoiseParameterForm@@UAEPAXPBD@Z)
>denoiseParameterForm.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall DenoiseParameterForm::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@DenoiseParameterForm@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
>mainWindow.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const MainWindow::staticMetaObject" (?staticMetaObject@MainWindow@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl MainWindow::tr(char const *,char const *)" (?tr@MainWindow@@SA?AVQString@@PBD0@Z)
>mainWindow.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall MainWindow::metaObject(void)const " (?metaObject@MainWindow@@UBEPBUQMetaObject@@XZ)
>mainWindow.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall MainWindow::qt_metacast(char const *)" (?qt_metacast@MainWindow@@UAEPAXPBD@Z)
>mainWindow.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall MainWindow::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@MainWindow@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
>statisticsDialog.obj : error LNK2019: unresolved external symbol "public: static struct QMetaObject const StatisticsDialog::staticMetaObject" (?staticMetaObject@StatisticsDialog@@2UQMetaObject@@B) referenced in function "public: static class QString __cdecl StatisticsDialog::tr(char const *,char const *)" (?tr@StatisticsDialog@@SA?AVQString@@PBD0@Z)
>statisticsDialog.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall StatisticsDialog::metaObject(void)const " (?metaObject@StatisticsDialog@@UBEPBUQMetaObject@@XZ)
>statisticsDialog.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall StatisticsDialog::qt_metacast(char const *)" (?qt_metacast@StatisticsDialog@@UAEPAXPBD@Z)
>statisticsDialog.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall StatisticsDialog::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@StatisticsDialog@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
>G:\xiaochen\projects\qt\Qt4PCLEditor\Win32\Release\\Qt4PCLEditor.exe : fatal error LNK1120: unresolved externals

解决方法是将项目所有的头文件加入Headers中,并且在visual studio上加载正确版本的Qt Add-in。

Qt 4.8.6 PCL 1.8.0 VS 2010 联合编译常见错误的更多相关文章

  1. PCL 1.4.0 VS 2010 Configuration

    Open VS2010, create a new project, then open Property Manager, double-click Microsoft.Cpp.win32.user ...

  2. 3D Slicer 4.7.0 VS 2010 Compile 编译

    花了将近一周的时间的,终于在VS2010成功的编译了最新版的3D Slicer 4.7.0,感觉快要崩溃了.Slicer用了20多个外部的库,全都要一起编译,完整编译一次起码要七八个小时,光VS的Ou ...

  3. qt编译常见错误

    一.fatal error: QWidget: 没有那个文件或目录 类似于找不到文件目录的,在.pro文件中添加 QT +=\ widgets 类似就可以编译通过

  4. PCL 1.6.0 VS2010 Configuration

    Open VS2010, create a new project, then open Property Manager, double-click Microsoft.Cpp.win32.user ...

  5. Convert PLY to VTK Using PCL 1.6.0 使用PCL库将PLY格式转为VTK格式

    PLY格式是比较流行的保存点云Point Cloud的格式,可以用MeshLab等软件打开,而VTK是医学图像处理中比较常用的格式,可以使用VTK库和ITK库进行更加复杂的运算处理.我们可以使用Par ...

  6. Convert PLY to VTK Using PCL 1.6.0 or PCL 1.8.0 使用PCL库将PLY格式转为VTK格式

    PLY格式是比较流行的保存点云Point Cloud的格式,可以用MeshLab等软件打开,而VTK是医学图像处理中比较常用的格式,可以使用VTK库和ITK库进行更加复杂的运算处理.我们可以使用Par ...

  7. macOS 安装 pcl 1.8.0

    Mac 上的 pcl 一直有问题. 找不到 pcl_viewer 查看 pcd 文件.写个程序用 pcl::visualization::CloudViewer 查看点云,遇到 Runtime Exc ...

  8. Qt MinGW 使用联合编译IncrediBuild

    联合编译工具IncrediBuild提供了接口,以使得可以使用网格来处理各种任务,而不仅仅是VS的联合编译,文档地址:http://www.incredibuild.com/webhelp/xge_h ...

  9. PCL常见错误集锦

    来自微信公众号的分享 我刚刚开始接触PCL,懂的东西也很少,所以总是出现各种各样的问题,每次遇见问题的时候要查找各种各样的资料,很费时间.所以,今天我把我遇见的常见问题分享给大家,讲解的步骤尽量详细, ...

随机推荐

  1. boost.xml_parser中文字符问题 (转)

    当使用xml_parser进行读xml时,如果遇到中文字符会出现解析错误. 网上有解决方案说使用wptree来实现,但当使用wptree来写xml时也会出错.而使用ptree来写中文时不会出错. 综合 ...

  2. iOS开发-获取属性和方法

    iOS开发数据存储有两种方式,属性列表和对象编码,属性列表可以通过NSArray,NSMutableArray,NSMutableDictionary,存储对象我们可以通过归档和解档来完成.如果我们想 ...

  3. 【转】Vmware14安装Centos7无法上网问题的解决

    原文链接 1. 选择Net模式 修改配置子网ip. 修改子网的IP不要和本机的IP地址在同一个网段 比如本机IP地址信息: 无线局域网适配器 WLAN: 连接特定的 DNS 后缀 . . . . . ...

  4. 解决javah生成c头文件时找不到android类库的问题

    问题描述: cmd下面进入工程的bin/classes下面,执行 javah xxx.xxx.A 生成头文件, 一般来说都是可以成功执行的,但是如果xxx.xxx.A类里面引用了android类库里面 ...

  5. EasyUI tabs update 正确用法

    来源:http://ewoyaofei.blog.163.com/blog/static/343562612012617111734974/ 一直以为 tabs update 是 easyui 的 b ...

  6. 11G新特性 -- variable size extents

    AU是asm磁盘分配的基本单元.在oracle10g中,一个AU对应一个extent(这会增加对内存的使用),因为一个大的数据库如果含有大量的默认大小的AU,会导致数据库的share pool的大量使 ...

  7. 11G新特性 -- 块介质恢复性能增强(block media recovery)

    块介质恢复性能增强(block media recovery) :只是恢复受损的块.不需要将受损的数据文件offline.针对受损的数据块,使用备份中好的数据块进行restore和recover,避免 ...

  8. Redis资料整理

    1.Redis命令參考中文简体版. 2.java操作redis.jedis使用api 3.Redis学习笔记. 4.浅谈Redis数据库的键值设计 5.Redis资料汇总专题 6.MongoDB资料汇 ...

  9. R语言编程艺术#04#数据框(data.frame)

    从直观上看,数据框类似矩阵

  10. 7.翻译系列:EF 6中的继承策略(EF 6 Code-First 系列)

    原文地址:http://www.entityframeworktutorial.net/code-first/inheritance-strategy-in-code-first.aspx EF 6 ...