Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] Installation of CGAL 3.5
- Date: Tue, 10 Nov 2009 14:10:27 +0300
> If you compiled Boost using Visual Studio, I doubt you can use it with the
> MinGW g++ compiler. In C++ world, binaries coming from different compilers
> (even even different compiler versions of the same compiler suite) are not
> binary compatible.
> You need to choose if you want to use CGAL with MinGW or Visual. Then you
> need
> to compile Boost and Qt with the same compiler.
Ok. Attempt #2.
I delete folders - boost, cgal, and clear variable PATH, again do all
according to
http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows
except
"# Open the newly generated solution in the boost directory and press Build
-> Clean Solution when this is done press Build -> Rebuild Solution
# Wait a long time.... If it asks you to save and restart visual studio using
some sort of macro agree to it and let the macro finish." Instead it i run
make in command shell. So boost was compiled with gcc 4.4 without errors. And
there is
libboost_thread-gcc44-mt-d-1_40.dll.a and
libboost_thread-gcc44-mt-1_40.dll.a files in c:\devel\tools\boost_1_40_0\lib
and
libboost_thread-gcc44-mt-1_40.dll and
libboost_thread-gcc44-mt-d-1_40.dll files in c:\devel\tools\boost_1_40_0\bin.
Then i run CGAL-3.5-Setup.exe and choose all variant and 32bit platform. And
got the same error while configuring with cmake-gui (full log):
CGAL_MAJOR_VERSION=3
CGAL_MINOR_VERSION=5
CGAL_BUILD_VERSION=
CGAL_SONAME_VERSION=4
CGAL_SOVERSION =4.0.0
CGAL_REFERENCE_CACHE_DIR=
Building static libraries
Targetting MinGW Makefiles
Using c:/devel/MinGW/bin/g++.exe compiler.
USING CMake version: 2.6.4
System: Windows
USING GCC_VERSION = '4.4.1'
Using gcc version 4 or later. Adding -frounding-math
Build type: Release
USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
USING LDFLAGS = ' '
Could NOT find GMP
Could NOT find MPFR
CMake Error at cmake/modules/FindBoost.cmake:885 (message):
Unable to find the requested Boost libraries.
Boost version: 1.40.0
Boost include path: C:/devel/tools/boost_1_40_0
The following Boost libraries could not be found:
boost_thread
No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
cmake/modules/CGAL_SetupDependencies.cmake:17 (include)
CMakeLists.txt:220 (include)
Boost include: C:/devel/tools/boost_1_40_0
Boost libraries:
Boost definitions:
USING BOOST_VERSION = '1.40.0'
CMAKE_INSTALL_PREFIX=C:/Program Files (x86)/CGAL
CGAL_Core needs GMP, cannot be configured.
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
OpenGL include:
OpenGL libraries: glu32;opengl32
NOTICE: CGAL_ImageIO needs ZLib to read compressed files. That feature will
not be activated.
CGAL_Qt3 needs Qt3, cannot be configured.
USING QT4_VERSION = '4.6.0'
OpenGL include:
OpenGL libraries: glu32;opengl32
OpenGL definitions:
Qt4 include: C:/devel/Qt/4.6.0-beta1/include
Qt4 libraries:
optimized;C:/devel/Qt/4.6.0-beta1/lib/libqtmain.a;debug;C:/devel/Qt/4.6.0-beta1/lib/libqtmaind.a;optimized;C:/devel/Qt/4.6.0-beta1/lib/libQtOpenGL4.a;debug;C:/devel/Qt/4.6.0-beta1/lib/libQtOpenGLd4.a;-lopengl32
-lglu32 -lgdi32
-luser32;optimized;C:/devel/Qt/4.6.0-beta1/lib/libQtGui4.a;debug;C:/devel/Qt/4.6.0-beta1/lib/libQtGuid4.a;imm32;winmm;optimized;C:/devel/Qt/4.6.0-beta1/lib/libQtCore4.a;debug;C:/devel/Qt/4.6.0-beta1/lib/libQtCored4.a;ws2_32
Qt4 definitions: -DQT_DLL
moc executable: C:/devel/Qt/4.6.0-beta1/bin/moc.exe
uic executable: C:/devel/Qt/4.6.0-beta1/bin/uic.exe
Configuring incomplete, errors occurred!
Choosing 64bit platform in CGAL-3.5-Setup.exe does not help and i got same
error:
CMake Error at cmake/modules/FindBoost.cmake:885 (message):
Unable to find the requested Boost libraries.
Boost version: 1.40.0
Boost include path: C:/devel/tools/boost_1_40_0
The following Boost libraries could not be found:
boost_thread
No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
cmake/modules/CGAL_SetupDependencies.cmake:17 (include)
CMakeLists.txt:220 (include)
- [cgal-discuss] Installation of CGAL 3.5, dimanne, 11/10/2009
- Re: [cgal-discuss] Installation of CGAL 3.5, Laurent Rineau (GeometryFactory), 11/10/2009
- Re: [cgal-discuss] Installation of CGAL 3.5, Dimanne, 11/10/2009
- Re: [cgal-discuss] Installation of CGAL 3.5, Laurent Rineau (GeometryFactory), 11/10/2009
- Re: [cgal-discuss] Installation of CGAL 3.5, Dimanne, 11/10/2009
- <Possible follow-up(s)>
- Re: [cgal-discuss] Installation of CGAL 3.5, Dimanne, 11/11/2009
- Re: [cgal-discuss] Installation of CGAL 3.5, Laurent Rineau (GeometryFactory), 11/10/2009
Archive powered by MHonArc 2.6.16.