Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL-3.7-Beta: bug in demo/Mesh_3?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL-3.7-Beta: bug in demo/Mesh_3?


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] CGAL-3.7-Beta: bug in demo/Mesh_3?
  • Date: Tue, 24 Aug 2010 16:21:10 +0200

Salut Laurent,
it solves the second problem(2.), I can now open any correct file.
For the first one:
1. I can see now the choice Implict Function in the menu, but it is empty ... (no Spheres, or TangleCube)

thanks you for the patch
bye


Laurent Rineau (GeometryFactory) wrote:
Le mardi 24 août 2010 10:58:19,

a écrit :
Hello,

in the demo/Mesh_3 : the demo compiles correctly, but at execution time:
1. the choice of "implicit function" is not possible in the menu (I
think it should as there is an implicit_function directory..).
2. And whatever you give him as input file (*.off, *.inr, *.inr.gz), it
says : "File ... has not a known file format." (It's could be a problem
due with the linking with CGAL_ImageIO ??)

Hi Emmanuel, in demo/Mesh_3/, can you try this patch?

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 58149)
+++ CMakeLists.txt (working copy)
@@ -95,7 +95,7 @@
# put plugins (which are shared libraries) at the same location as
# executable files
- set(LIBRARY_OUTPUT_PATH ${RUNTIME_OUTPUT_PATH})
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
# prefix for Mesh_3 libs to avoid conflicts with Polyhedron demo
set(MESH_3_LIB_PREFIX "mesh_3_demo_")



The patched file is attached. Just copy it to replace demo/Mesh_3/CMakeLists.txt




Archive powered by MHonArc 2.6.16.

Top of Page