Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] example in Surface_mesher

Subject: CGAL users discussion list

List archive

[cgal-discuss] example in Surface_mesher


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] example in Surface_mesher
  • Date: Wed, 4 Nov 2009 03:09:19 +0100 (CET)

Hi,there
I got a problem.
when i ran the example " mesh_a_3d_gray_image.cpp" in Surface_mesher, it gave
me error messages.See the log:

[root@localhost
examples]# cd Surface_mesher
[root@localhost
Surface_mesher]# ls
CMakeLists.txt data mesh_a_3d_gray_image.cpp mesh_an_implicit_function.cpp
skip_vcproj_auto_generation
[root@localhost
Surface_mesher]# cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
-- USING EXEFLAGS = ' '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Configuring done
-- Generating done
-- Build files have been written to:
/root/src/CGAL-3.5/examples/Surface_mesher

[root@localhost
Surface_mesher]# make
Scanning dependencies of target mesh_a_3d_gray_image
[ 50%] Building CXX object
CMakeFiles/mesh_a_3d_gray_image.dir/mesh_a_3d_gray_image.o
Linking CXX executable mesh_a_3d_gray_image
[ 50%] Built target mesh_a_3d_gray_image
Scanning dependencies of target mesh_an_implicit_function
[100%] Building CXX object
CMakeFiles/mesh_an_implicit_function.dir/mesh_an_implicit_function.o
Linking CXX executable mesh_an_implicit_function
[100%] Built target mesh_an_implicit_function
[root@localhost
Surface_mesher]# ls
CMakeCache.txt cmake_install.cmake data mesh_a_3d_gray_image
mesh_an_implicit_function skip_vcproj_auto_generation
CMakeFiles CMakeLists.txt Makefile mesh_a_3d_gray_image.cpp
mesh_an_implicit_function.cpp

[root@localhost
Surface_mesher]# ./mesh_a_3d_gray_image
./mesh_a_3d_gray_image: symbol lookup error:
/usr/local/lib/libCGAL_ImageIO.so.4: undefined symbol:

the file "/usr/local/lib/libCGAL_ImageIO.so.4" is existing in that location.

Thanks!



Archive powered by MHonArc 2.6.16.

Top of Page