QCAD Community Edition 3.1.0.3 not building
Posted: Sat May 25, 2013 1:48 am
Hi, hopefully this is the right section of the forum
OpenNurbs fails to build in Community Edition (tagged as v3.1.0.3) on Ubuntu 13.04, 32bit:
make[5]: Entering directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQCAD_DLL -DPTHREADS -DHAVE_PTHREAD_H -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../../../core -I../../../core/math -I../../../grid -I../../../snap -I../../../gui -I../../../entity -I../../../operations -I../../../scripting -I../../../stemmer -I../../../scripting/ecmaapi -I../../../scripting/ecmaapi/generated -I../../../scripting/ecmaapi/adapters -I../../../io/dxf -I../../../spatialindex -I../../../3rdparty -I/usr/X11R6/include -Irelease -o release/opennurbs_brep_tools.o ../opennurbs_brep_tools.cpp
In file included from ../opennurbs.h:42:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_base64.h:130:22: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from ../opennurbs.h:93:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_light.h:115:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:116:40: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:117:33: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:118:35: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:119:40: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_brep_tools.cpp: In function 'bool CheckForMatchingVertexIndices(int, int, int*)':
../opennurbs_brep_tools.cpp:399:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
../opennurbs_brep_tools.cpp: At global scope:
../opennurbs_brep_tools.cpp:1981:11: warning: unused parameter 'start_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp:1986:11: warning: unused parameter 'end_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp:2031:11: warning: unused parameter 'end_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp: In member function 'bool ON_Brep::CloseTrimGap(ON_BrepTrim&, ON_BrepTrim&)':
../opennurbs_brep_tools.cpp:2084:7: warning: variable 'coord1_lock' set but not used [-Wunused-but-set-variable]
../opennurbs_brep_tools.cpp: At global scope:
../opennurbs_brep_tools.cpp:2337:6: warning: unused parameter 'min_degree' [-Wunused-parameter]
In file included from ../opennurbs_array.h:1548:0,
from ../opennurbs.h:47,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_array_defs.h: In instantiation of 'bool ON_SimpleArray<T>::HeapSort(int (*)(const T*, const T*)) [with T = int [2]]':
../opennurbs_brep_tools.cpp:2769:21: required from here
../opennurbs_array_defs.h:463:7: error: 'ON_hsort' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ../opennurbs.h:67:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_math.h:1403:6: note: 'void ON_hsort(void*, size_t, size_t, int (*)(void*, const void*, const void*), void*)' declared here, later in the translation unit
make[5]: *** [release/opennurbs_brep_tools.o] Error 1
make[5]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
make[4]: *** [release] Error 2
make[4]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
make[3]: *** [sub-opennurbs-make_default-ordered] Error 2
make[3]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs'
make[2]: *** [sub-opennurbs-make_default-ordered] Error 2
make[2]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty'
make[1]: *** [sub-3rdparty-make_default-ordered] Error 2
make[1]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src'
make: *** [sub-src-make_default-ordered] Error 2
OpenNurbs fails to build in Community Edition (tagged as v3.1.0.3) on Ubuntu 13.04, 32bit:
make[5]: Entering directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DQCAD_DLL -DPTHREADS -DHAVE_PTHREAD_H -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../../../core -I../../../core/math -I../../../grid -I../../../snap -I../../../gui -I../../../entity -I../../../operations -I../../../scripting -I../../../stemmer -I../../../scripting/ecmaapi -I../../../scripting/ecmaapi/generated -I../../../scripting/ecmaapi/adapters -I../../../io/dxf -I../../../spatialindex -I../../../3rdparty -I/usr/X11R6/include -Irelease -o release/opennurbs_brep_tools.o ../opennurbs_brep_tools.cpp
In file included from ../opennurbs.h:42:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_base64.h:130:22: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from ../opennurbs.h:93:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_light.h:115:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:116:40: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:117:33: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:118:35: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_light.h:119:40: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
../opennurbs_brep_tools.cpp: In function 'bool CheckForMatchingVertexIndices(int, int, int*)':
../opennurbs_brep_tools.cpp:399:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
../opennurbs_brep_tools.cpp: At global scope:
../opennurbs_brep_tools.cpp:1981:11: warning: unused parameter 'start_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp:1986:11: warning: unused parameter 'end_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp:2031:11: warning: unused parameter 'end_point' [-Wunused-parameter]
../opennurbs_brep_tools.cpp: In member function 'bool ON_Brep::CloseTrimGap(ON_BrepTrim&, ON_BrepTrim&)':
../opennurbs_brep_tools.cpp:2084:7: warning: variable 'coord1_lock' set but not used [-Wunused-but-set-variable]
../opennurbs_brep_tools.cpp: At global scope:
../opennurbs_brep_tools.cpp:2337:6: warning: unused parameter 'min_degree' [-Wunused-parameter]
In file included from ../opennurbs_array.h:1548:0,
from ../opennurbs.h:47,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_array_defs.h: In instantiation of 'bool ON_SimpleArray<T>::HeapSort(int (*)(const T*, const T*)) [with T = int [2]]':
../opennurbs_brep_tools.cpp:2769:21: required from here
../opennurbs_array_defs.h:463:7: error: 'ON_hsort' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ../opennurbs.h:67:0,
from ../opennurbs_brep_tools.cpp:16:
../opennurbs_math.h:1403:6: note: 'void ON_hsort(void*, size_t, size_t, int (*)(void*, const void*, const void*), void*)' declared here, later in the translation unit
make[5]: *** [release/opennurbs_brep_tools.o] Error 1
make[5]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
make[4]: *** [release] Error 2
make[4]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs/opennurbs'
make[3]: *** [sub-opennurbs-make_default-ordered] Error 2
make[3]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty/opennurbs'
make[2]: *** [sub-opennurbs-make_default-ordered] Error 2
make[2]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src/3rdparty'
make[1]: *** [sub-3rdparty-make_default-ordered] Error 2
make[1]: Leaving directory `/home/alexandre/soft/graphics/qcad/qcad-3.1.0.3/src'
make: *** [sub-src-make_default-ordered] Error 2