my gpu is capable of openGl 4.3. compilation is ok.but y problem is linking error .Unresolved functions while linking.I downloaded glew.h wglew.h ,I down loaded latest drivers for the gpu from Nvidia. slill problem with
liking.linker can not find the functions. I read throgh all forum Faqs.Can any one help me.Please.
Please provide the linker errors and the OS and compiler you're trying to use.
Ebarcadero xe4 compiler, windows 8 pr0 ,GeForce gtx 660 graphics card.
LINK 64 error: unresolved symbol glewInit refferenced from .o module.
glew- 1.10.0 from sourceforge.net
latest gpu drivers from Nvidia
Added the filePATH to the project through project->options
Inluded: glwe.h, wglew.h ,glut.h in project header
Still the linker error.
Last edited by akhan45; 11-06-2013 at 12:32 PM.
Did you google the linker error? Try these suggestions:
Yes I did the same url. and did everything there. I am targeting 64 bit compiling and linking
Moved your thread to the Windows forum where you might get more help with this Windows linker error.
Obviously you aren't successfully linking with the GLEW library. Would double-check the path-to and name-of the library you are providing, make sure the compiler is trying to link with that, and verify that the architecture of the library matches the architecture that you are compiling for (e.g. 64-bit).
I have my embarcaderoXe4 compiler in C:\program Files\Embaecadero\RAD Studio\
and glew 1.10.0 in C:\program Files\Embaecadero\glew\
and Nvidia drivers in C:\program Files\NVIDIA\
Do I have to include the bin paths to the projects
And add the GPU drivers path to the project if so how.
The error::Checking project dependencies...
Compiling skeletonTreeProject1.cbproj (Release, Win64)
"C:\Program Files (x86)\Embarcadero\glew\glew-1.10.0\bin";
"C:\Program Files (x86)\Embarcadero\glew\glew-1.10.0\lib\Release\Win32";
"C:\Program Files (x86)\Embarcadero\glew\glew-1.10.0\lib\Release\x64";
"C:\Program Files (x86)\Embarcadero\glew\glew-1.10.0\lib\Release MX\Win32";
"C:\Program Files (x86)\Embarcadero\glew\glew-1.10.0\lib\Release MX\x64";
"c:\program files (x86)\embarcadero\rad studio\11.0\lib\win64\release";
"c:\program files (x86)\embarcadero\rad studio\11.0\lib\win64\release\psdk";
"C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\lib";
[ilink64 Error] Error: Unresolved external 'glewInit' referenced from E:\XE42013NOVEMBER\GL\WIN64\RELEASE\OPENGL64ADT.O
[ilink64 Error] Error: Unresolved external 'wglewIsSupported' referenced from E:\XE42013NOVEMBER\GL\WIN64\RELEASE\OPENGL64ADT.O
Elapsed time: 00:00:24.8
Last edited by akhan45; 11-08-2013 at 10:05 AM.
can any one help me in this mater of linking opengl. /thanks in advance, akhan45
when I tried to compile a program with directx I am getting the same linker error
[ilink64 Error] Error: Unresolved external 'D3D11CreateDeviceAndSwapChain' referenced from C:\MY PRORAM FILES\DX\DX1\WIN64\RELEASE\DXADT.O
So the error is in adding the lib files to the project,which I am not able to solve.Any help?
This is very good. so many days no help from any one.I think no one ever use opengl for programming.Even the embarcadero company is not giving any help in there help system for adding third party libraries,through the "project options".I hope some software maker comes with good development Platform and frame for easy programming.Now, one has to spend days ,in setting up the development frame for any result,if at all there is any result.
Does linker error has any thing to do with packages?