首页 技术 正文
技术 2022年11月19日
0 收藏 688 点赞 3,298 浏览 47864 个字

在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。

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,491
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,907
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,740
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,493
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,132
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,294