Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] configure fails

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] configure fails


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] configure fails
  • Date: Wed, 30 Mar 2011 13:57:01 +0200
  • Organization: GeometryFactory



I am since long on Windows 7, and was on XP64 before.

I huilt Boost 1_41_0 this way

bjam address-model=64 --with-thread --with-date_time --with-program_options --with-filesystem --with-system debug release stage

and I copied the libraries (they are all static) to
the directory lib.

In my CMakeCache I have

//Path to a file.
Boost_INCLUDE_DIR:PATH=c:/boost/boost_1_41_0

//Boost library directory
Boost_LIBRARY_DIRS:FILEPATH=c:/boost/boost_1_41_0/lib;c:/boost/boost_1_41_0/lib

//Boost diagnostic define
Boost_LIB_DIAGNOSTIC_DEFINITIONS:STRING=-DBOOST_LIB_DIAGNOSTIC

//The Boost THREAD library
Boost_THREAD_LIBRARY:FILEPATH=optimized;c:/boost/boost_1_41_0/lib/libboost_thread-vc90-mt-1_41.lib;debug;c:/boost/boost_1_41_0/lib/libboost_thread-vc90-mt-gd-1_41.lib

//Path to a library.
Boost_THREAD_LIBRARY_DEBUG:FILEPATH=c:/boost/boost_1_41_0/lib/libboost_thread-vc90-mt-gd-1_41.lib

//Path to a library.
Boost_THREAD_LIBRARY_RELEASE:FILEPATH=c:/boost/boost_1_41_0/lib/libboost_thread-vc90-mt-1_41.lib


In case you created dll's did you put them in the PATH

andreas


On 30/03/2011 12:35, Dominik Szczerba wrote:
Hmmm, this switch is not documented (no mention in bjam --help) so I
assume 64 bit version would be built on 64 bit command prompt.
But anyway, I compiled a version with your switch, but the problem is
still there.

Dominik

On Wed, Mar 30, 2011 at 9:16 AM, Andreas Fabri
<
<mailto:>>
wrote:


Hi Dominik,

there is a switch:

bjam address-model=64

andreas



On 30/03/2011 09:06, Dominik Szczerba wrote:

I have built boost in the 64 bit VC prompt, so I assume so. I
did not
see a switch to chose 32/64 with bjam.
$BOOST_ROOT/lib contains files like
boost_thread-vc100-mt-1_46_1.lib/dll.

Dominik

On Tue, Mar 29, 2011 at 11:00 PM, Andreas Fabri

<

<mailto:>

<mailto:

<mailto:>>>
wrote:

Hi Dominik,

Did you build boost for 64 bits? The precompiled versions from
Boost Consulting are for 32 bit.

What are the files in your directory
$BOOST_ROOT/lib

andreas



On 29/03/2011 21:57, Dominik Szczerba wrote:

Is it possible to configure CGAL 3.7 with MSVC 2010 64?

I have boost 1.46.1 here and whatever I do to configure
CGAL I
always see:

The following Boost libraries could not be found:

boost_thread

No Boost libraries were found. You may need to set
Boost_LIBRARYDIR to
directory containing Boost libraries or BOOST_ROOT to the
location of
Boost.

I set both Boost_LIBRARYDIR and BOOST_ROOT to the right
values to no
avail. Whatever I put as contents of the thread
release/debug
libraries
they are always reset to NOTFOUND.

I have also removed the FindBoost.cmake in CGAL to use
the one
bundled
in cmake 2.8.4 - no avail.

I will be grateful for any pointers.

Dominik

PS. I tried hacking and hardcoded boost paths/libs but
this bites me
back later during compilation and linking.


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




--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: ++33.492.954.912 <tel:%2B%2B33.492.954.912> skype:
andreas.fabri


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




--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: ++33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.16.

Top of Page