[pdal] Write and zip function based on PDAL

Michael P. Gerlek mpg at flaxen.com
Wed Oct 12 22:31:40 EDT 2011


Try setting the Start Project to pdal_test directly, don't use the cmake testing tool - that's how I do it.

 

-mpg

 

 

From: ping yang [mailto:pingyang.whu at gmail.com] 
Sent: Wednesday, October 12, 2011 4:25 PM
To: mpg at flaxen.com
Cc: pdal at lists.osgeo.org
Subject: Re: [pdal] Write and zip function based on PDAL

 

Hi Mike,

 

In the PDAL.sln, I had successfully built the ALL_BUILD project with no error, and I built pdal_test with no error, but I didn't build RUN_TEST successfully, the errors are:

 

Error    1          error MSB3073: The command "setlocal

"C:\Program Files (x86)\CMake 2.8\bin\ctest.exe" --force-new-ctest-process -C Debug

if %errorlevel% neq 0 goto :cmEnd

:cmEnd

endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

:cmErrorLevel

exit /b %1

:cmDone

if %errorlevel% neq 0 goto :VCEnd

:VCEnd" exited with code 8. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets            113      6          RUN_TESTS

 

and I still didn't get the pdal_swig.sln build successfully because the missing file in the pdal_swig_cs project, can we schedule a time for the problem solving?

 

Ping

On Tue, Oct 11, 2011 at 11:19 AM, Michael P. Gerlek <mpg at flaxen.com> wrote:

You can ignore those warnings probably for now.

 

After you build pdal itself (PDAL.sln), you then build the SWIG bindings (csharp/pdal_swig.sln).  As part of that build process, those .cs files are all automatically generated - they serve as stubs for the real C++ classes.

 

-mpg

 

 

From: ping yang [mailto:pingyang.whu at gmail.com] 
Sent: Tuesday, October 11, 2011 10:12 AM
To: Michael Gerlek


Subject: Re: [pdal] Write and zip function based on PDAL

 

Hi Mike,

 

Eventually I successfully run the mpg-config.bat by many tries last night and after I restarted my computer this morning. However, I got some warning like this:

CMake Warning:

 

  Manually-specified variables were not used by the project:

    BOOST_INCLUDEDIR

    FREEGLUT_INCLUDE_DIR

    FREEGLUT_LIBRARY

    GLUT_INCLUDE_DIR

    GLUT_LIBRARY

    ICONV_INCLUDE_DIR

    ICONV_LIBRARY

    LASZIP_INCLUDE_DIR

    LIBLAS_INCLUDE_DIR

 

I am going to compile the project, but I found a lot of files are missing:

 

Error  1          error : Syntax error in input(3).           C:\swigwin-2.0.4\Lib\std\std_basic_string.i   48        1          pdal_swig_cpp

Error  2          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Bounds_double.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  41        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Dimension.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  38        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\DimensionId.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  21        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\DimensionLayout.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  19        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\EndianType.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  39        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Filter.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  42        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\ios.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  43        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\ios_base.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  22        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\iostream.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  51        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\istream.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  14        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\LasReader.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  15        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\LasWriter.cs' could not be opened ('Unspecified error ')        pdal_swig_cs

Error  48        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\MultiFilter.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  12        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Option.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  4          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Options.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  8          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\ostream.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  23        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\pdal_swig_cpp.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  26        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\pdal_swig_cppPINVOKE.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  35        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\PointBuffer.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  31        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\PointCountType.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  52        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\PointFormat.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  3          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Range_double.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  5          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Reader.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  30        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\ReaderBase.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  20        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Schema.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  24        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SpatialReference.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  32        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Stage.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

Error  36        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageBase.cs' could not be opened ('Unspecified error ')        pdal_swig_cs

Error  53        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageBlockIterator.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  44        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageIterator.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  27        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageIteratorType.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  45        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageRandomIterator.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  25        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\StageSequentialIterator.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  29        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\std_vector_Dimension.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  13        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\std_vector_double.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  16        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\std_vector_Range_double.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  33        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\std_vector_u8.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  46        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_boost__property_tree__ptree.cs' could not be opened ('Unspecified error ')    pdal_swig_cs

Error  9          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_char.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  28        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void.cs' could not be opened ('Unspecified error ')    pdal_swig_cs

Error  47        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_long.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  40        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_p_unsigned_char.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  55        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_p_void.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  17        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_pdal__external__boost__uuids__uuid.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  10        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t.cs' could not be opened ('Unspecified error ')    pdal_swig_cs

Error  34        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_std__locale.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  6          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_std__vectorT_pdal__drivers__las__VariableLengthRecord_t.cs' could not be opened ('Unspecified error ')    pdal_swig_cs

Error  49        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_streamoff.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  11        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_streampos.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  54        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_unsigned_char.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  50        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\SWIGTYPE_p_unsigned_int.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  18        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\VariableLengthRecord.cs' could not be opened ('Unspecified error ') pdal_swig_cs

Error  37        Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Vector_double.cs' could not be opened ('Unspecified error ')            pdal_swig_cs

Error  7          Source file 'C:\dev\PDAL\csharp\pdal_swig_cs\Writer.cs' could not be opened ('Unspecified error ')          pdal_swig_cs

 

I tried to search all the places, I found some of them, but some(like Bounds_double.cs) are still missing, do you have some idea of this?

 

Ping





 

-- 
Ping Yang, Ph.D.
Postdoctoral Research Associate
Idaho State University-Idaho Falls
yangping at isu.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pdal/attachments/20111012/68098bf4/attachment-0001.html


More information about the pdal mailing list