[pdal] PDAL compilation (MSVC9)

Jerome Chatillon j.chatillon at terraimaging.nl
Tue Nov 22 11:42:28 EST 2011


Correct, I'm building from the zip PDAL-PDAL-72c7e33.zip. I just get the 
last version using git, and still 'some' errors:

1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32 
------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: pdal, Configuration: Debug Win32 ------
2>Compiling...
2>ReaderBase.hpp
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C2146: syntax 
error : missing ';' before identifier 'getPointFormat'
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C2433: 
'pdal::drivers::las::ReaderBase::PointFormat' : 'virtual' not permitted 
on data declarations
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C4430: missing 
type specifier - int assumed. Note: C++ does not support default-int
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C4430: missing 
type specifier - int assumed. Note: C++ does not support default-int
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : warning C4183: 
'getPointFormat': missing return type; assumed to be a member function 
returning 'int'
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C2253: 
'pdal::drivers::las::ReaderBase::getPointFormat' : pure specifier or 
abstract override specifier only allowed on virtual function
2>ZipPoint.hpp
2>GeotiffSupport.hpp
2>Iterator.hpp
... etc ...

Note, the first error is qt the line 54 :) Is that a progress  ? :-D



"we’re using some C++ constructs that VS2008 doesn’t accept." :-\
Give one more 'excuse' to work on linux :) But my colleagues will hate 
me (more) :)


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


On 22/11/2011 17:18, Michael P. Gerlek wrote:
>
> Looking at line 56 of ReaderBase.hpp, I suspect you’re not actually 
> building off the latest sources on github, is that correct?
>
> Beyond that, I also suspect that we’re going to find that we’re using 
> some C++ constructs that VS2008 doesn’t accept.
>
> -mpg
>
> *From:*pdal-bounces at lists.osgeo.org 
> [mailto:pdal-bounces at lists.osgeo.org] *On Behalf Of *Jerome Chatillon
> *Sent:* Tuesday, November 22, 2011 1:06 AM
> *To:* pdal at lists.osgeo.org
> *Subject:* [pdal] PDAL compilation (MSVC9)
>
> 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  <mailto:j.chatillon at terraimaging.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pdal/attachments/20111122/0de4733a/attachment-0001.html


More information about the pdal mailing list