Page 1 of 1

promlem when compiling

Posted: 22 Mar 2012, 04:31
by Ezio
using visual studio 10 i got linker error on glew, i tried compiling glew static and shared then add it to lib folder but it doesn't work :hmm:, a bit googling told me to add define glew_static but i'm not sure where should i put it. then i tried Qt Creator (load lib.pro) and had this error

Code: Select all

09:25:06: Running build steps for project lib...
09:25:06: Configuration unchanged, skipping qmake step.
09:25:06: Starting: "C:\Qt\qtcreator-2.4.1\bin\jom.exe" 
	cd exceptionhandler\ && C:\Qt\qtcreator-2.4.1\bin\jom.exe -nologo -j 2 -f Makefile
	C:\Qt\qtcreator-2.4.1\bin\jom.exe -nologo -j 2 -f Makefile.Debug
	cd framework\ && C:\Qt\qtcreator-2.4.1\bin\jom.exe -nologo -j 2 -f Makefile

jom 1.0.6 - empower your cores

Error: dependent 'exchndl.c' does not exist.
command failed with exit code 2
command failed with exit code 2
	C:\Qt\qtcreator-2.4.1\bin\jom.exe -nologo -j 2 -f Makefile.Debug
Error: dependent 'resource_lexer.lex.c' does not exist.
command failed with exit code 2
command failed with exit code 2
09:25:10: The process "C:\Qt\qtcreator-2.4.1\bin\jom.exe" exited with code 2.
Error while building project lib (target: Desktop)
When executing build step 'Make'
any solution?

Re: promlem when compiling

Posted: 22 Mar 2012, 05:17
by vexed
Are you using the latest solution files ? For glew, when you build the lib, just add the define someplace in the project setting, and it should work.

Re: promlem when compiling

Posted: 23 Mar 2012, 05:23
by Ezio
vexed wrote:Are you using the latest solution files ? For glew, when you build the lib, just add the define someplace in the project setting, and it should work.
Yes, fresh from git (beta 7). i'll test it