Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Glew: Unresolved dependencies


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 J.d. Ballard   Members   -  Reputation: 100

Like
0Likes
Like

Posted 08 February 2012 - 09:39 AM

Alright, I've been searching the internet for hours for this.

I'm trying to get Glew to link with my program, but I'm getting unresolved depenendies errors.

I've seriously tried everything - all 4 forms of the lib/dll, adding __declspec(dllexport) ,etc.

Here is the error that is generated when calling glewInit():



OGLInit.obj : error LNK2019: unresolved external symbol _glewInit@0 referenced in function "bool __stdcall vexal::OGLStartup(void)" (?OGLStartup@vexal@@YG_NXZ)



And then the C++ command line for the project:

/Ox /I "C:\Users\**\Documents\Vexal2\glm" /I "C:\Users\**\Documents\Vexal2\glfw\include" /I "C:\Users\**\Documents\Vexal2\glew\include" /Gm /EHsc /MTd /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /nologo /c /Zi /Gz /TP /errorReport:prompt /D "GLEW_STATIC"


And then the linker command line

/OUT:"C:\Users\**\Documents\Vexal2\vexal\vc9_x86\bin\Debug\VexalClient.exe" /NOLOGO /LIBPATH:"C:\Users\**\Documents\Vexal2\vexal\vc9_x86\lib\Debug" /MANIFEST /MANIFESTFILE:"Debug\VexalClient.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\**\Documents\Vexal2\vexal\vc9_x86\bin\Debug\VexalClient.pdb" /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT ws2_32.lib glew32.lib GLFW.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\lib\minsizerel\glew.lib" /VERBOSE


I've used dumpbin to check that glewInit is being exported, and it is.

SO Post: http://stackoverflow...ternal-glewinit

I'm pulling my hair out over this one! HALP!

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS