View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001171 | FreeCAD | Bug | public | 2013-07-09 06:56 | 2013-07-14 14:17 |
| Reporter | csanyi_pal | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Product Version | 0.13 | ||||
| Summary | 0001171: Can't build FreeCAD from GIT branch Raytracing | ||||
| Description | Hi, On my Debian GNU/Linux unstable (sid) system I have downloaded the source: FreeCAD Raytracing branch from GUT. I used the command: git://github.com/mrlukeparry/FreeCAD_sf_master.git I just refresh my git repository with command: git pull After that I change directory to the build directory: cd freecad-build and run the command: cmake DCMAKE_BUILD_TYPE=Debug PYTHON_INCLUDE_DIR = /usr/include/python2.7/ ../freecad The output of this command follows: -- The C compiler identification is GNU 4.8.1 -- The CXX compiler identification is GNU 4.8.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- The Fortran compiler identification is GNU -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- prefix: /usr/local -- datadir: data -- docdir: doc -- includedir: include -- Found PythonInterp: /usr/bin/python (found version "2.7.5") -- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (found suitable exact version "2.7.5+") Python not found, install python! -- Boost version: 1.49.0 -- Found the following Boost libraries: -- filesystem -- program_options -- regex -- signals -- system -- thread -- Found Xerces-C: /usr/lib/libxerces-c.so -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") CMake Warning at CMakeLists.txt:217 (find_package): By not providing "FindOCE.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OCE", but CMake did not find one. After that I tried to build it with command: make -j2 The output of this command follows: Scanning dependencies of target soqt Scanning dependencies of target coin make[2]: *** make[2]: *** No rule to make target `/usr/lib/libSoQt.so', needed by `bin/pivy/gui/_soqt.so'No rule to make target `/usr/lib/libpython2.7.so', needed by `bin/pivy/_coin.so'. Stop. make[2]: *** Waiting for unfinished jobs.... . Stop. make[2]: *** Waiting for unfinished jobs.... [ 0%] [ 1%] Building CXX object src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/coin_wrap.cpp.o Building CXX object src/3rdParty/Pivy-0.5/CMakeFiles/soqt.dir/soqt_wrap.cpp.o /home/csanyipal/CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad/src/3rdParty/Pivy-0.5/soqt_wrap.cpp: In function ‘PyObject* _wrap_delete_QWidget(PyObject*, PyObject*)’: /home/csanyipal/CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad/src/3rdParty/Pivy-0.5/soqt_wrap.cpp:17377:10: warning: possible problem detected in invocation of delete operator: [enabled by default] delete arg1; ^ /home/csanyipal/CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad/src/3rdParty/Pivy-0.5/soqt_wrap.cpp:17336:12: warning: ‘arg1’ has incomplete type [enabled by default] QWidget *arg1 = (QWidget *) 0 ; ^ In file included from /usr/include/qt4/QtGui/qevent.h:45:0, from /usr/include/Inventor/Qt/devices/SoQtDevice.h:39, from /home/csanyipal/CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad/src/3rdParty/Pivy-0.5/soqt_wrap.cpp:3284: /usr/include/qt4/QtGui/qwindowdefs.h:56:7: warning: forward declaration of ‘class QWidget’ [enabled by default] class QWidget; ^ /home/csanyipal/CAD/FreeCAD/GIT_FreeCAD_branchRaytracing/freecad/src/3rdParty/Pivy-0.5/soqt_wrap.cpp:17377:10: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined delete arg1; ^ make[1]: *** [src/3rdParty/Pivy-0.5/CMakeFiles/soqt.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [src/3rdParty/Pivy-0.5/CMakeFiles/coin.dir/all] Error 2 make: *** [all] Error 2 So what is the problem here and how can I solve it? Regards, from Pal | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Oops, I lapse in one thing: I used command to download the sources: git clone git://github.com/mrlukeparry/FreeCAD_sf_master.git freecad and not that command in my first post. |
|
|
On debian system there is an official pivy package available. So, in CMake configure you should disable to build pivy again. Btw, you shouldn't open tickets on Mantis for git *branches* because this should be reserved for git *master* only. Instead open a topic in the phpBB forum. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-07-09 06:56 | csanyi_pal | New Issue | |
| 2013-07-09 07:00 | csanyi_pal | Note Added: 0003361 | |
| 2013-07-09 07:33 | wmayer | Note Added: 0003362 | |
| 2013-07-14 14:17 | wmayer | Status | new => closed |
| 2013-07-14 14:17 | wmayer | Resolution | open => not fixable |
FreeCAD