promlem when compiling

For code related discussions and questions
Post Reply
User avatar
Ezio
Trained
Trained
Posts: 306
Joined: 24 Apr 2010, 16:42

promlem when compiling

Post 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?
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: promlem when compiling

Post 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.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
User avatar
Ezio
Trained
Trained
Posts: 306
Joined: 24 Apr 2010, 16:42

Re: promlem when compiling

Post 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
Post Reply