<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi everyone,<br>
<br>
I have some difficulties to compile PDAL on my computer:<br>
- my compiler: MS Visual Studio 9 2008<br>
- my installed libraries: boost 1.46.1, Qt4.7.2, OSGEO4W(gdal, ogr,
laswip, liblas, ...)<br>
<br>
<br>
Here what I do after downloading the zip of PDAL:<br>
<br>
<b>cd c:\devCpp\LIBS\PDAL<br>
cmake-gui</b><br>
<br>
In the CMake-Gui, I press the <b>Configure</b> button and set the <b>BOOST_LIBRARIES_DIR</b>
until the configuration is done:<br>
<br>
Searching for GDAL 1.6.0+ library<br>
NOTE: Required version is not checked - to be implemented<br>
Searching for GeoTIFF 1.2.5+ library<br>
Found GeoTIFF version: 1.3.0<br>
Searching for LASzip 1.0.1+ library<br>
Found LASzip version: 2.0.1<br>
Searching for LibLAS 1.6.0+ library<br>
Found libLAS version: 1.06.000<br>
Configuring done<br>
<br>
Then i generate the MS Visual Studio 9 2008 project file(s):<br>
<b>Generate Done</b><br>
<br>
<br>
Open the PDAL.sln with MS Visual Studio 9 2008<br>
Select release mode, then start to Build the solution (F7) then the
drama :<br>
<br>
1>------ Build started: Project: pdal, Configuration: Release
Win32 ------<br>
1>Compiling...<br>
1>ReaderBase.hpp<br>
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C2146:
syntax error : missing ';' before identifier 'getPointFormat'<br>
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C2433:
'pdal::drivers::las::ReaderBase::PointFormat' : 'virtual' not
permitted on data declarations<br>
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C4430:
missing type specifier - int assumed. Note: C++ does not support
default-int<br>
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : error C4430:
missing type specifier - int assumed. Note: C++ does not support
default-int<br>
1>..\include\pdal\drivers\las\ReaderBase.hpp(56) : warning C4183:
'getPointFormat': missing return type; assumed to be a member
function returning 'int'<br>
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<br>
1>uuid_serialize.hpp<br>
1>C:\devCpp\LIBS\PDAL\src\..\include\pdal/external/boost/uuid/uuid.hpp(65)
: error C2146: syntax error : missing ';' before identifier
'value_type'<br>
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<br>
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<br>
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<br>
... etc... ...<br>
bla bla ...<br>
<br>
<br>
<br>
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.<br>
<br>
Does anyone have an advice ?<br>
<br>
Thanks<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:j.chatillon@terraimaging.nl">j.chatillon@terraimaging.nl</a>
</pre>
</body>
</html>