I am trying to compile FreeCAD but I occurs this error during running make -j$(nproc --ignore=2)
Any suggestion about it?
I attached summary with the results from this command.
Thanks so much.
Error displayed:
Code: Select all
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `SoInput::setBuffer(void*, unsigned long)'
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `SoTextureEnabledElement::set(SoState*, SoNode*, int)'
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `ScXML::readBuffer(char const*)'
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `SoGLTextureEnabledElement::set(SoState*, SoNode*, int)'
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `SbPList::find(void*) const'
/usr/local/bin/ld: ../../lib/libFreeCADGui.so: undefined reference to `SoGLTexture3EnabledElement::set(SoState*, SoNode*, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/Main/CMakeFiles/FreeCADMain.dir/build.make:123: bin/FreeCAD] Error 1
make[1]: *** [CMakeFiles/Makefile2:2749: src/Main/CMakeFiles/FreeCADMain.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 85%] Built target PathGui
[ 86%] Built target MeshPartGui
[ 88%] Built target SketcherGui
[ 90%] Built target FemGui
[ 93%] Built target TechDraw
make: *** [Makefile:130: all] Error 2
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Unknown
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)