eeklac / the-technocopia-project

Automatically exported from code.google.com/p/the-technocopia-project
0 stars 0 forks source link

Compile issues for ubuntu 12.10 #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.follow instructions
2. compile 
3. fails at [ 36%]

What is the expected output? What do you see instead?

Scanning dependencies of target FreeCADBase
[  8%] Building CXX object src/Base/CMakeFiles/FreeCADBase.dir/swigpyrun.cpp.o
Linking CXX shared library ../../lib/libFreeCADBase.so
[ 14%] Built target FreeCADBase
Scanning dependencies of target FreeCADApp
[ 14%] Building CXX object src/App/CMakeFiles/FreeCADApp.dir/Application.cpp.o
Linking CXX shared library ../../lib/libFreeCADApp.so
[ 17%] Built target FreeCADApp
Linking CXX shared library ../../lib/libFreeCADGui.so
[ 36%] Built target FreeCADGui
Linking CXX shared library ../../lib/FreeCADGui.so
[ 36%] Built target FreeCADGuiPy
Linking CXX executable ../../bin/FreeCAD
../../lib/libFreeCADBase.so: undefined reference to `PyCapsule_New'
../../lib/libFreeCADBase.so: undefined reference to `PyCapsule_GetPointer'
../../lib/libFreeCADBase.so: undefined reference to `PyCapsule_Import'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/FreeCAD] Error 1
make[1]: *** [src/Main/CMakeFiles/FreeCADMain.dir/all] Error 2
make: *** [all] Error 2

Please use labels and text to provide additional information.

Original issue reported on code.google.com by Mad.Hephaestus@gmail.com on 9 Feb 2013 at 5:01

GoogleCodeExporter commented 8 years ago
Is this the fix?
https://groups.google.com/forum/?fromgroups=#!topic/hermes2d/E06zWRXAAR0

Original comment by thomaslr...@gmail.com on 23 Feb 2013 at 5:04

GoogleCodeExporter commented 8 years ago
This is the exact error Im getting, but this line is missing out of FreeCAD. I 
can not seem to find where you tell cmake to change from2.6 to 2.7, in fact it 
seems as though it is hard coded...

Original comment by Mad.Hephaestus@gmail.com on 23 Feb 2013 at 7:27

GoogleCodeExporter commented 8 years ago
The issue is resolved by purging all python2.6 from the system. THis removed 
programs I needed like VirtualBox, so I am looking to make the cmake list a bit 
more robust. In the mean time removing 2.6 is a workaround

Original comment by Mad.Hephaestus@gmail.com on 24 Feb 2013 at 2:52