Problems compiling with PIvy
Hi I'm trying to install FreeCAD 0:16 on my Slackware chart using the SlackBuild, downloaded from https://slackbuilds.org/repository/14.2 ... ch=freecad, I compiled and installed the dependencies:
shiboken 1.2.2
Xerces-c 3.1.4
pyside (qt4.8+1.2.2)
pyside-tools 0.2.15
OpenCASCADE 6.9.1
matplotlib 1.5.2
reached Pivy-hg_20101207.tar.bz2, I have problems, compiling stops, giving the following error message
building 'gui._soqt' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pivy
creating build/temp.linux-x86_64-2.7/pivy/gui
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pivy/gui/soqt_wrap.cpp -o build/temp.linux-x86_64-2.7/pivy/gui/soqt_wrap.o -Iinterfaces -I/usr/include/Inventor/annex -D_REENTRANT -DQT_SHARED -I/usr/lib64/qt/include/QtOpenGL -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtCore
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
pivy/gui/soqt_wrap.cpp: In function 'void initialize_pyqt_module_import_name()':
pivy/gui/soqt_wrap.cpp:3806:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PYQT_MODULE_IMPORT_NAME = "qt";
^
pivy/gui/soqt_wrap.cpp:3810:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PYQT_MODULE_IMPORT_NAME = "PyQt4.Qt";
^
pivy/gui/soqt_wrap.cpp: In function 'PyObject* _wrap_delete_SoQtObject(PyObject*, PyObject*)':
pivy/gui/soqt_wrap.cpp:18579:10: warning: deleting object of abstract class type 'SoQtObject' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete arg1;
^
g++ -pthread -shared build/temp.linux-x86_64-2.7/pivy/gui/soqt_wrap.o -L/usr/lib64 -lpython2.7 -o build/lib/pivy/gui/_soqt.so -L/usr/lib64 -lSoQt -lXmu -L/usr/lib64/qt/lib -lQtOpenGL -lQtGui -lQtCore -lXi -lCoin -lGL -lXext -lSM -lICE -lX11 -ldl -lpthread
building '_coin' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c pivy/coin_wrap.cpp -o build/temp.linux-x86_64-2.7/pivy/coin_wrap.o -Iinterfaces -I/usr/include/Inventor/annex -D_REENTRANT
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
error: command 'gcc' failed with exit status 4
my system configuration:
gcc 5.3.0
python 2.7
kernel 4.4.9
KDE 04/14/18
I searched on the forum and I found these two solutions
https://forum.freecadweb.org/viewtopic.php?t=8097
http://forums.fedoraforum.org/archive/i ... 74836.html
but they do not work.
Thank you for any help you can give me.
Problems compiling with PIvy
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!