chrisidefix / cgal-bindings

Automatically exported from code.google.com/p/cgal-bindings
Boost Software License 1.0
0 stars 0 forks source link

SWING error with home brew installed cgal 4.3 and python2.7.6 on OSX10.6 #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.cmake -DCGAL_DIR=/usr/local/Cellar/cgal/4.3 -DBUILD_JAVA=OFF

then everything seems okey:

-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -fno-strict-aliasing -O3 -DNDEBUG'
-- USING EXEFLAGS = '  
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries
/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/li
bGL.dylib '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- DARWIN_VERSION=10
-- Mac Leopard detected
-- Requested component: ImageIO
-- Requested component: MPFR
-- Requested component: GMP
-- Release mode with g++: using -fno-strict-aliasing flags
-- BUILD_JAVA is set to OFF: no CGAL-bindings for Java will be generated.
-- Found Python libs.
-- CGAL-SWIG Python files and libraries will be written in 
/Users/../cgal-bindings/build-python/CGAL.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/../cgal-bindings

2.Then: 
    make
But,After scanning over "Scanning dependencies of target CGAL_Kernel_cpp"
Linking CXX shared library ../../lib/libCGAL_Kernel_cpp.dylib
[ 44%] Built target CGAL_Kernel_cpp
[ 46%] Swig source
Scanning dependencies of target _CGAL_Kernel
[ 48%] Building CXX object 
SWIG_CGAL/Kernel/CMakeFiles/_CGAL_Kernel.dir/CGAL_KernelPYTHON_wrap.cxx.o
/Users/../cgal-bindings/SWIG_CGAL/Kernel/CGAL_KernelPYTHON_wrap.cxx: In 
function ‘void SWIG_Python_AddErrorMsg(const char*)’:
/Users/../cgal-bindings/SWIG_CGAL/Kernel/CGAL_KernelPYTHON_wrap.cxx:870: 
warning: format not a string literal and no format arguments
Linking CXX shared module ../../build-python/CGAL/_CGAL_Kernel.so
Undefined symbols for architecture x86_64:
  "__PyObject_NextNotImplemented", referenced from:
      Input_iterator_wrapper<Point_2, CGAL::Point_2<CGAL::Epick> >::Input_iterator_wrapper(_object*, swig_type_info*)in CGAL_KernelPYTHON_wrap.cxx.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [build-python/CGAL/_CGAL_Kernel.so] Error 1
make[1]: *** [SWIG_CGAL/Kernel/CMakeFiles/_CGAL_Kernel.dir/all] Error 2
make: *** [all] Error 2

I had try make -j before with similar errors, any help?

Original issue reported on code.google.com by Alan...@gmail.com on 12 Feb 2014 at 1:20

GoogleCodeExporter commented 9 years ago
What is your HEAD?

Original comment by sloriot...@gmail.com on 13 Feb 2014 at 7:19