[pdal] PDAL compilation (MSVC9)

Jerome Chatillon j.chatillon at terraimaging.nl
Tue Nov 22 04:06:01 EST 2011


Hi everyone,

I have some difficulties to compile PDAL on my computer:
- my compiler: MS Visual Studio 9 2008
- my installed libraries: boost 1.46.1, Qt4.7.2, OSGEO4W(gdal, ogr, 
laswip, liblas, ...)


Here what I do after downloading the zip of PDAL:

*cd c:\devCpp\LIBS\PDAL
cmake-gui*

In the CMake-Gui, I press the *Configure* button and set the 
*BOOST_LIBRARIES_DIR* until the configuration is done:

Searching for GDAL 1.6.0+ library
    NOTE: Required version is not checked - to be implemented
Searching for GeoTIFF 1.2.5+ library
Found GeoTIFF version: 1.3.0
Searching for LASzip 1.0.1+ library
Found LASzip version: 2.0.1
Searching for LibLAS 1.6.0+ library
Found libLAS version: 1.06.000
Configuring done

Then i generate the MS Visual Studio 9 2008 project file(s):
*Generate Done*


Open the PDAL.sln with MS Visual Studio 9 2008
Select release mode, then start to Build the solution (F7) then the drama :

1>------ Build started: Project: pdal, Configuration: Release Win32 ------
1>Compiling...
1>ReaderBase.hpp
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C2146: syntax 
error : missing ';' before identifier 'getPointFormat'
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C2433: 
'pdal::drivers::las::ReaderBase::PointFormat' : 'virtual' not permitted 
on data declarations
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C4430: missing 
type specifier - int assumed. Note: C++ does not support default-int
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C4430: missing 
type specifier - int assumed. Note: C++ does not support default-int
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : warning C4183: 
'getPointFormat': missing return type; assumed to be a member function 
returning 'int'
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C2253: 
'pdal::drivers::las::ReaderBase::getPointFormat' : pure specifier or 
abstract override specifier only allowed on virtual function
1>uuid_serialize.hpp
1>C:\devCpp\LIBS\PDAL\src\..\include\pdal/external/boost/uuid/uuid.hpp(65) 
: error C2146: syntax error : missing ';' before identifier 'value_type'
1>C:\devCpp\LIBS\PDAL\src\..\include\pdal/external/boost/uuid/uuid.hpp(65) 
: error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
1>C:\devCpp\LIBS\PDAL\src\..\include\pdal/external/boost/uuid/uuid.hpp(65) 
: error C4430: missing type specifier - int assumed. Note: C++ does not 
support default-int
1>C:\devCpp\LIBS\PDAL\src\..\include\pdal/external/boost/uuid/uuid.hpp(108) 
: warning C4244: 'initializing' : conversion from 'const 
pdal::external::boost::uuids::uuid::uint8_t' to 'unsigned char', 
possible loss of data
... etc... ...
bla bla ...



I used the same method for the liblas, and it's working great. Here i 
don't understand why it's pointing so many errors.

Does anyone have an advice ?

Thanks


-- 
Jerome Chatillon

TerraImaging
Groenewoudsedijk 40
3528 BK  Utrecht
The Netherlands
tel: +31 (0)30-686 616 7
fax: +31 (0)30-686 616 6
email: j.chatillon at terraimaging.nl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pdal/attachments/20111122/e3b7dd2f/attachment.html


More information about the pdal mailing list