[pdal] Compile error with master

Stefan Ziegler stefan.ziegler.de at gmail.com
Sun May 1 05:31:21 PDT 2016


Now "arbiter" makes some problems:

[  2%] Building CXX object
vendor/arbiter/CMakeFiles/pdal_arbiter.dir/arbiter.cpp.o
In file included from
/home/stefan/sources/pdal/vendor/arbiter/arbiter.cpp:43:0:
/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:61: error: ‘Json’
does not name a type
     static std::unique_ptr<Fs> create(HttpPool& pool, const Json::Value&
json);
                                                             ^
/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:72: error:
expected unqualified-id before ‘&’ token
     static std::unique_ptr<Fs> create(HttpPool& pool, const Json::Value&
json);

/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:72: error:
expected ‘)’ before ‘&’ token
/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:72: error: static
member function ‘static std::unique_ptr<arbiter::drivers::Fs>
arbiter::drivers::Fs::create(...)’ cannot have ref-qualifier
/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:72: error:
expected ‘;’ at end of member declaration
/home/stefan/sources/pdal/vendor/arbiter/arbiter.hpp:298:74: error: ‘json’
does not name a type
     static std::unique_ptr<Fs> create(HttpPool& pool, const Json::Value&
json);

etc. etc.

/home/stefan/sources/pdal/vendor/arbiter/arbiter.cpp:3046:1: error:
expected ‘}’ at end of input
 } // namespace arbiter
 ^
vendor/arbiter/CMakeFiles/pdal_arbiter.dir/build.make:62: recipe for target
'vendor/arbiter/CMakeFiles/pdal_arbiter.dir/arbiter.cpp.o' failed
make[2]: *** [vendor/arbiter/CMakeFiles/pdal_arbiter.dir/arbiter.cpp.o]
Error 1
CMakeFiles/Makefile2:3788: recipe for target
'vendor/arbiter/CMakeFiles/pdal_arbiter.dir/all' failed
make[1]: *** [vendor/arbiter/CMakeFiles/pdal_arbiter.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


regards
Stefan



On Sat, Apr 30, 2016 at 10:13 AM, Stefan Ziegler <
stefan.ziegler.de at gmail.com> wrote:

> Disabling in CMakeCache.txt or by cmake does not work. Still the same
> error:
>
> -- checking for one of the modules 'spatialite>=4.2.0'
> CMake Error at
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
> (message):
>   Could NOT find Nitro (missing: NITRO_LIBRARIES NITRO_INCLUDE_DIR)
> (Required
>   is at least version "2.6")
> Call Stack (most recent call first):
>   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
> (_FPHSA_FAILURE_MESSAGE)
>   cmake/modules/FindNitro.cmake:73 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   cmake/nitro.cmake:5 (find_package)
>   tools/nitfwrap/CMakeLists.txt:2 (include)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/home/stefan/sources/pdal/build/CMakeFiles/CMakeOutput.log".
> See also "/home/stefan/sources/pdal/build/CMakeFiles/CMakeError.log".
>
> Isn't there also an error on line 75 in src/CMakeList.txt? The closing
> double brackets?
>
> regr
>
> On Fri, Apr 29, 2016 at 5:14 PM, Andrew Bell <andrew.bell.ia at gmail.com>
> wrote:
>
>> On Fri, Apr 29, 2016 at 9:39 AM, Stefan Ziegler <
>> stefan.ziegler.de at gmail.com> wrote:
>>
>>> Hi
>>>
>>> can anybody give a hint a about "nitro". I get some cmake errors:
>>>
>>
>> Are you processing NITF files?  If not, you can just turn it off in
>> CMakeCache.txt with:
>>
>> BUILD_PLUGIN_NITF:BOOL=OFF
>>
>> Otherwise you can get NITRO from:
>>
>> https://github.com/hobu/nitro
>>
>> --
>> Andrew Bell
>> andrew.bell.ia at gmail.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20160501/ec2af298/attachment.html>


More information about the pdal mailing list