[postgis-tickets] [PostGIS] #2330: SFCGAL install does not specify minimum boost required
PostGIS
trac at osgeo.org
Wed May 15 01:26:10 PDT 2013
#2330: SFCGAL install does not specify minimum boost required
---------------------+------------------------------------------------------
Reporter: robe | Owner: colivier
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.1.0
Component: sfcgal | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Olivier,
I'm running into some issues with getting to compile sfcgal. I have boost
1.46 and CGAL 4.2 compiled. I had to recompile boost because I had
compiled a minimalist version and sfcgal seems to require a LOT of boost
parts and after recompiling I was left with these last 2 dependencies.
Now I am left with this:
{{{
-- The C compiler identification is GNU 4.5.4
-- The CXX compiler identification is GNU 4.5.4
-- Check for working C compiler: c:/ming64/mingw64/bin/gcc.exe
-- Check for working C compiler: c:/ming64/mingw64/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: c:/ming64/mingw64/bin/g++.exe
-- Check for working CXX compiler: c:/ming64/mingw64/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost_USE_STATIC_LIBS=OFF
-- Boost_USE_MULTITHREAD=ON
CMake Error at C:/ming64/msys/share/cmake-2.8/Modules/FindBoost.cmake:1192
(mess
age):
Unable to find the requested Boost libraries.
Boost version: 1.46.1
Boost include path:
c:/ming64/projects/boost/rel-1.46w64/include/boost-1_46_1
The following Boost libraries could not be found:
boost_chrono
boost_timer
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or
BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:46 (find_package)
-- Found GMP: c:/ming64/mingw64/include
-- GMP_INCLUDE_DIRS = c:/ming64/mingw64/include
-- GMP_LIBRARIES = c:/ming64/projects/CGAL/rel-gmp-5.1.1w64/lib/libgmp.a
-- Found MPFR: c:/ming64/mingw64/include
-- MPFR_INCLUDE_DIRS = c:/ming64/mingw64/include
-- MPFR_LIBRARIES = c:/ming64/projects/CGAL/rel-
mpfr-3.1.2w64/lib/libmpfr.a
-- Found CGAL: c:/ming64/projects/CGAL/rel-cgal-4.2w64/include
-- CGAL found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring incomplete, errors occurred!
}}}
It seems boost_chrono came in boost 1.47. according to this:
http://stackoverflow.com/questions/6730422/boost-chrono-vs-boost-date-time
Does SFCGAL really need like 20 bits of boost or can we reduce teh
footprint a bit so mere mortals or people with not more up to date boost
can compile this :)
FROM CGAL 4.2 make -- all CGAL 4.2 uses from boost is boost_thread and
boost_system
Also do we really need DOXYGEN to be able to compile this?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2330>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list