[Liblas-devel] dev version doesn't build

J Luis jmfluis at gmail.com
Sun Sep 5 08:18:55 EDT 2010


Hi,

I tried to build the dev version but I simply was not able to pass the Boost step (very confusing).

To start with, Cmake is not able to find Boost by itself (!?)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:910 (message):
   Unable to find the requested Boost libraries.


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.


So, as recomended, I did try to set

set BOOST_ROOT="C:\Program Files (x86)\boost\boost_1_44"
or
set BOOST_ROOT="C:\Program Files (x86)\boost\boost_1_44\boost"

but error are the same.

BTW, what does it mean by "to the directory containing Boost libraries..."
There isn't one single .lib inside the entire Boost installation!!

Next I tried to set the Boost_INCLUDE_DIR inside Cmake to (that's where I find the .hpp files)
C:\Program Files (x86)\boost\boost_1_44\boost

Result:

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:522 (FILE):
   file Internal CMake error when trying to open file: C:\Program Files
   (x86)\boost\boost_1_44\boost/boost/version.hpp for reading.
Call Stack (most recent call first):

Obvious. The "version.hpp" is under

...boost_1_44\boost/version.hpp
not
...boost_1_44\boost/boost/version.hpp

Joaquim Luis


More information about the Liblas-devel mailing list