Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compiling the ipelets on OS X 10.7.5 with IPE 7.1.4

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compiling the ipelets on OS X 10.7.5 with IPE 7.1.4


Chronological Thread 
  • From: Elena <>
  • To:
  • Subject: [cgal-discuss] Compiling the ipelets on OS X 10.7.5 with IPE 7.1.4
  • Date: Fri, 9 Aug 2013 04:32:32 -0700 (PDT)

Hello!

I have a problem compiling CGAL ipelets on OS X 10.7.5. Ipe version is
7.1.4.
CGAL 4.2.0 (installed via Macports, cgal @4.2_0+demos+qt4)
Demos and examples compile smoothly.

Now I want to install CGAL ipelets.
I do


/*cmake -DIPE_INCLUDE_DIR=/opt/local/include -DIPE_LIBRARY_DIR=/opt/local/
.*/

and get

/-- Build type: Release
-- USING CXXFLAGS = '-pipe -Os -arch x86_64 -O3 -DNDEBUG'
-- USING EXEFLAGS = ' -L/opt/local/lib -Wl,-headerpad_max_install_names
-arch x86_64
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
'
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- DARWIN_VERSION=11
-- Mac Leopard detected
-- Requested component: Core
-- Requested component: MPFR
-- Requested component: GMP
-- Found Ipe: /opt/local/include /opt/local/lib/libipe.so
-- Using IPE version 7 compatibility.
-- Set Ipelets install dir: /opt/local/lib/ipe/7.1.4/ipelets
-- Configuring done
-- Generating done
-- Build files have been written to:
/opt/local/share/cgal/demo/CGAL_ipelets/

Then I do

/*make install*/

and get


/Scanning dependencies of target CGAL_alpha_shapes
Linking CXX shared module libCGAL_alpha_shapes.so
Undefined symbols for architecture x86_64:
"ipe::Lex::getInt()", referenced from:
std::pair<int, int> CGAL::Ipelet_base<CGAL::Epick,
2>::request_value_from_user<int>(std::string) const in alpha_shapes.cpp.o

[...] // a lot of similar text here

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [libCGAL_alpha_shapes.so] Error 1
make[1]: *** [CMakeFiles/CGAL_alpha_shapes.dir/all] Error 2
make: *** [all] Error 2/


Does anybody have an idea how to deal with that?
Best regards,
Elena



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compiling-the-ipelets-on-OS-X-10-6-8-with-IPE-7-1-4-tp4657910p4657913.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page