Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 13

Thread: linking error

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    8

    linking error

    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.
    akhan45

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,194
    Please provide the linker errors and the OS and compiler you're trying to use.

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    8
    Ebarcadero xe4 compiler, windows 8 pr0 ,GeForce gtx 660 graphics card.
    LINK 64 error: unresolved symbol glewInit refferenced from .o module.
    I downloaded:
    glew- 1.10.0 from sourceforge.net
    freeglut-28.1-1
    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.
    thank you
    Last edited by akhan45; 11-06-2013 at 01:32 PM.

  4. #4
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,194
    Did you google the linker error? Try these suggestions:

    * https://www.opengl.org/discussion_bo...glewInit%28%29

  5. #5
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    8
    Yes I did the same url. and did everything there. I am targeting 64 bit compiling and linking
    thank you

  6. #6
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,194
    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).

  7. #7
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    8
    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?

  8. #8
    Junior Member Newbie
    Join Date
    Nov 2013
    Posts
    8
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •