[Solved] Compilation fails on Debian.

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
Kunda1
Posts: 7053
Joined: Thu Jan 05, 2017 9:03 pm

Re: Compilation fails on Debian.

Postby Kunda1 » Thu Aug 22, 2019 4:12 pm

If this is fixed please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
hobbes1069
Posts: 226
Joined: Wed Nov 09, 2011 3:49 pm

Re: [Solved] Compilation fails on Debian.

Postby hobbes1069 » Thu Oct 31, 2019 5:47 pm

I am working on this for Fedora and fixed the namespace issues created by moving to opencascase 7.4.0 but now I'm getting a linker error. Switching back to OCE 0.18 does not show this error.

Code: Select all

/usr/bin/ld: CMakeFiles/PartGui.dir/SoBrepFaceSet.cpp.o: in function `PartGui::SoBrepFaceSet::VBO::render(SoGLRenderAction*, SoGLCoordinateElement const*, int const*, int, int const*, int, SbVec3f const*, int const*, SoMaterialBundle*, int const*, SoTextureCoordinateBundle*, int const*, int, int, int)':
/builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1035: undefined reference to `glGenBuffersARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1068: undefined reference to `glDeleteBuffersARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1069: undefined reference to `glGenBuffersARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1289: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1290: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1306: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1307: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1267: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1268: undefined reference to `glBufferDataARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1270: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1271: undefined reference to `glBufferDataARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1273: undefined reference to `glBindBufferARB'
/usr/bin/ld: /builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:1274: undefined reference to `glBindBufferARB'
/usr/bin/ld: CMakeFiles/PartGui.dir/SoBrepFaceSet.cpp.o: in function `PartGui::SoBrepFaceSet::VBO::context_destruction_cb(unsigned int, void*)':
/builddir/build/BUILD/FreeCAD-0.18.4/src/Mod/Part/Gui/SoBrepFaceSet.cpp:155: undefined reference to `glDeleteBuffersARB'
Thanks,
Richard