Search code examples
c++opengllinkercmakebulletphysics

cmake / c++ : which package contains `-lOpenGLSupport`


/usr/bin/ld: cannot find -lOpenGLSupport

The above error occurs when linking.

I have googled, to no avail.
Where can I obtain this library (package / build from source)?

(If this question is more at home/ appropriate on superuser.com, mods feel free to move it)

Thanks!


OS is Ubuntu Karmic.


Solution

  • -lOpenGLSupport appears to be from the bulletphysics library.


    More details:

    I had built this from source, however, had not specified that it should build shared libraries. Doing this appears to have rectified the problem.

    For future reference:

    Build bulletphysics using these commands

    cmake  -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebugInfo . -G "Unix Makefiles"
    make
    

    (answering own question)