Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

RE: [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: RE: [cgal-discuss] RE: having trouble buildling Mesh3 example - looks like a Boost CMake problem; how to fix?
  • Date: Fri, 5 Jul 2013 14:51:00 +0000
  • Accept-language: en-US

Hi Laurent,

thanks for your kind reply. I will proceed accordingly.

Bien amicalement,

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


[]
on behalf of Laurent Rineau (CGAL/GeometryFactory)
[]
Sent: Friday, July 05, 2013 6:02 AM
To:

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

Le jeudi 04 juillet 2013 19:58:14 Audette, Michel A. a écrit :
> 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...

The variable Boost_DIR is not for the usage you think about. It must be used
only if your installation of Boost used boost-cmake. That is not common.

It if BOOST_ROOT you should set. If that is not sufficient, have a look at the
section "Boost libraries" in the Installation chapter of the CGAL manuals:

http://doc.cgal.org/4.2/CGAL.CGAL/html/installation.html#title47

I also suggest you set Boost_DEBUG:BOOL=TRUE if you have any issue with the
script FindBoost.cmake. That will display extra information.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss




--
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------


Teach CanIt if this mail (ID 02JUy4135) is spam:

Spam:
https://www.spamtrap.odu.edu/canit/b.php?i=02JUy4135&m=071d33ef4ad5&t=20130705&c=s

Not spam:
https://www.spamtrap.odu.edu/canit/b.php?i=02JUy4135&m=071d33ef4ad5&t=20130705&c=n

Forget vote:
https://www.spamtrap.odu.edu/canit/b.php?i=02JUy4135&m=071d33ef4ad5&t=20130705&c=f
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS




Archive powered by MHonArc 2.6.18.

Top of Page