[Solved] Compilation fails on Debian.

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Compilation fails on Debian.

Post by Kunda1 »

If this is fixed please mark thread [Solved]
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
hobbes1069
Posts: 291
Joined: Wed Nov 09, 2011 3:49 pm
Location: Southaven, MS

Re: [Solved] Compilation fails on Debian.

Post by hobbes1069 »

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
Post Reply