[Liblas-devel] compile errors
Mateusz Loskot
mateusz at loskot.net
Tue Sep 8 07:24:45 EDT 2009
Volker Wichmann wrote:
> Hi,
>
> I've just checked out a recent version:
>
> hg clone http://hg.liblas.org/main
>
> Then
> ./autogen.sh and ./configure
>
> result in a minimalistic configuration:
>
> libLAS configuration summary:
>
> Version..................: 1.3.0
> Installation directory...: /usr/local
> C compiler...............: gcc -Wall -Wno-long-long -pedantic -O3
> -DNDEBUG
> C++ compiler.............: g++ -Wall -Wno-long-long -pedantic
> -std=c++98 -O3 -DNDEBUG
> Debugging support........:
> GDAL support.............: no
> GeoTIFF SRS support......: no
> Spatial Index support....: no
> Oracle support...........: no
> zlib support.............: yes
> - lz....................: yes
> - INCLUDE directories...: -I/usr/include
> Boost support............: no
>
> LIBS.....................: -lz
>
> libLAS - http://liblas.org
>
>
> But "make" results in the following error:
>
> In file included from lasclassification.cpp:44:
> ../include/liblas/detail/utility.hpp:58:35: error:
> boost/concept_check.hpp: No such file or directory
> In file included from lasclassification.cpp:44:
> ../include/liblas/detail/utility.hpp:76: error: ‘boost’ has not been
> declared
> ../include/liblas/detail/utility.hpp: In function ‘void
> liblas::detail::check_stream_state(std::basic_ios<_CharT, _Traits>&)
> [with C = char, T = std::char_traits<char>]’:
> ../include/liblas/detail/utility.hpp:394: instantiated from here
> ../include/liblas/detail/utility.hpp:362: error:
> ‘ignore_unused_variable_warning’ was not declared in this scope
> make[2]: *** [lasclassification.lo] Error 1
> make[2]: Leaving directory `/usr/local/src/liblas-hg/main/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/liblas-hg/main/src'
> make: *** [all-recursive] Error 1
Volker,
It is related to my recent commit:
http://liblas.org/changeset/1258%3Afbd6387b5776
I see you don't use Boost, however it still should work.
If you use libLAS from the repository, could you please re-generate
./configure script by running:
./autogen.sh
and then configure again:
./configure ...
Let's see if this [1] improvement will catch what's the
real HAVE_BOOST value.
[1] http://liblas.org/changeset/1260%3A69fab7799e56
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the Liblas-devel
mailing list