Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] RE: having trouble buildling Mesh3 example - looks like a Boost CMake problem; how to fix?

Subject: CGAL users discussion list

List archive

[cgal-discuss] RE: having trouble buildling Mesh3 example - looks like a Boost CMake problem; how to fix?


Chronological Thread 
  • From: "Audette, Michel A." <>
  • To: "" <>
  • Subject: [cgal-discuss] RE: having trouble buildling Mesh3 example - looks like a Boost CMake problem; how to fix?
  • Date: Thu, 4 Jul 2013 19:58:14 +0000
  • Accept-language: en-US

Hi again,

I think that the Mesh3 CMake process is not acknowledging the existence of Boost successfully...

if ( CGAL_FOUND )
  include( ${CGAL_USE_FILE} )
  find_package(Boost)

  if ( Boost_FOUND AND Boost_VERSION GREATER 103400 )
    include( CGAL_CreateSingleSourceCGALProgram )

    # Compilable examples
    create_single_source_cgal_program( "mesh_implicit_sphere.cpp" )
    create_single_source_cgal_program( "mesh_implicit_sphere_variable_size.cpp" )
    create_single_source_cgal_program( "mesh_two_implicit_spheres_with_balls.cpp" )
(etc...)

My ccmake looks as follows... I have not been successful getting cmake to accept my BOOST_DIR properly, even though I went out of my way to get the Cmake-based Boost source tree and build it in the usual CMake fashion with a separate build directory.
Boost_DIR                        Boost_DIR-NOTFOUND 

If there is a trick to get Boost_DIR to be set properly, please let me know...

Cheers,

Michel

Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.
 

From: [] on behalf of Audette, Michel A. []
Sent: Thursday, July 04, 2013 3:38 PM
To:
Subject: [cgal-discuss] having trouble buildling Mesh3 example

Dear CGAL users,

I would like to play with the 3D Mesh generation example mesh_polyhedral_domain_with_features.cpp ,
however I'm finding that the build seems to be successful with most example directories, but is not successful in the Mesh_3 directory.

audette@msvel608:~/projects/CGAL-4.1Build/examples$ ls Mesh_3
CMakeFiles  cmake_install.cmake  Makefile

audette@msvel608:~/projects/CGAL-4.1Build/examples$ ls Mesh_2
CMakeFiles  cmake_install.cmake  conforming  Makefile  mesh_class  mesh_global  mesh_with_seeds

audette@msvel608:~/projects/CGAL-4.1Build/examples$ ls Polyhedron
CMakeFiles                    polyhedron_prog_normals               polyhedron_prog_traits
cmake_install.cmake           polyhedron_prog_off                   polyhedron_prog_vector
Makefile                      polyhedron_prog_planes                polyhedron_prog_vertex_color
polyhedron_prog_color         polyhedron_prog_simple                polyhedron_prog_vertex_normal
polyhedron_prog_cube          polyhedron_prog_subdiv                polyhedron_self_intersection
polyhedron_prog_cut_cube      polyhedron_prog_subdiv_with_boundary
polyhedron_prog_incr_builder  polyhedron_prog_tetra

When I go into Mesh_3 and try a make from within, nothing seems to happen.

Can anyone suggest a fix?

Thanks for your kind support.

Best wishes,

Michel

Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.



Archive powered by MHonArc 2.6.18.

Top of Page