<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Correct, I'm building from the zip PDAL-PDAL-72c7e33.zip. I just get
the last version using git, and still 'some' errors:<br>
<br>
1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug
Win32 ------<br>
1>Project not selected to build for this solution configuration <br>
2>------ Build started: Project: pdal, Configuration: Debug Win32
------<br>
2>Compiling...<br>
2>ReaderBase.hpp<br>
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C2146:
syntax error : missing ';' before identifier 'getPointFormat'<br>
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C2433:
'pdal::drivers::las::ReaderBase::PointFormat' : 'virtual' not
permitted on data declarations<br>
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C4430:
missing type specifier - int assumed. Note: C++ does not support
default-int<br>
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : error C4430:
missing type specifier - int assumed. Note: C++ does not support
default-int<br>
2>..\include\pdal\drivers\las\ReaderBase.hpp(54) : warning C4183:
'getPointFormat': missing return type; assumed to be a member
function returning 'int'<br>
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<br>
2>ZipPoint.hpp<br>
2>GeotiffSupport.hpp<br>
2>Iterator.hpp<br>
... etc ...<br>
<br>
Note, the first error is qt the line 54 :) Is that a progress ? <span
class="moz-smiley-s5"><span> :-D </span></span><br>
<br>
<br>
<br>
<span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31, 73,
125);">"</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">we’re
using some </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">C++
constructs that VS2008 doesn’t accept."</span> <span
class="moz-smiley-s7"><span> :-\ </span></span><br>
Give one more 'excuse' to work on linux :) But my colleagues will
hate me (more) :)<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>
<br>
On 22/11/2011 17:18, Michael P. Gerlek wrote:
<blockquote cite="mid:034501cca932$58d16a80$0a743f80$@flaxen.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Looking
at line 56 of ReaderBase.hpp, I suspect you’re not actually
building off the latest sources on github, is that correct?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Beyond
that, I also suspect that we’re going to find that we’re
using some C++ constructs that VS2008 doesn’t accept.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-mpg<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in
0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:pdal-bounces@lists.osgeo.org">pdal-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:pdal-bounces@lists.osgeo.org">mailto:pdal-bounces@lists.osgeo.org</a>] <b>On Behalf Of
</b>Jerome Chatillon<br>
<b>Sent:</b> Tuesday, November 22, 2011 1:06 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<b>Subject:</b> [pdal] PDAL compilation (MSVC9)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Jerome Chatillon<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>TerraImaging<o:p></o:p></pre>
<pre>Groenewoudsedijk 40<o:p></o:p></pre>
<pre>3528 BK Utrecht<o:p></o:p></pre>
<pre>The Netherlands<o:p></o:p></pre>
<pre>tel: +31 (0)30-686 616 7<o:p></o:p></pre>
<pre>fax: +31 (0)30-686 616 6<o:p></o:p></pre>
<pre>email: <a moz-do-not-send="true" href="mailto:j.chatillon@terraimaging.nl">j.chatillon@terraimaging.nl</a><o:p></o:p></pre>
</div>
</div>
</blockquote>
</body>
</html>