kenchan
25th October 2012, 13:17
VS2008 + Qt call third-party library
software environment: VS2008 + qt-win-opensource-4.8.1-vs2008 + qt-vs-addin-1.1.11-opensource
The following steps is correct ?:
1. Add third-party header file into "Header Files";
2.Add file path which third-party lib and header file into "Include directory" and "lib directory" which
location of "Project " --> "property" --> "VC++directory ";
3. Add lib filename into "linker" --> "Additional Dependencies" --> "input";
4. Add related dll into "Debug" or "Release" directory;
5.compiltion.
There are err when I according to the above step to run.
1> xx.h(6): error C2143: Syntax error: missing ";" ("__ stdcall" front)
1>xx.h(6) : error C4430:Missing type specifier - assumed to be int. Note: C + + does not support default-int
1>xx.h(6) : error C4430: Missing type specifier - assumed to be int. Note: C + + does not support default-int
I'm a newer, Please help me to deal with this issue. TKS!
software environment: VS2008 + qt-win-opensource-4.8.1-vs2008 + qt-vs-addin-1.1.11-opensource
The following steps is correct ?:
1. Add third-party header file into "Header Files";
2.Add file path which third-party lib and header file into "Include directory" and "lib directory" which
location of "Project " --> "property" --> "VC++directory ";
3. Add lib filename into "linker" --> "Additional Dependencies" --> "input";
4. Add related dll into "Debug" or "Release" directory;
5.compiltion.
There are err when I according to the above step to run.
1> xx.h(6): error C2143: Syntax error: missing ";" ("__ stdcall" front)
1>xx.h(6) : error C4430:Missing type specifier - assumed to be int. Note: C + + does not support default-int
1>xx.h(6) : error C4430: Missing type specifier - assumed to be int. Note: C + + does not support default-int
I'm a newer, Please help me to deal with this issue. TKS!