Skip to content

Instantly share code, notes, and snippets.

@dakcarto
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dakcarto/8764035 to your computer and use it in GitHub Desktop.
Save dakcarto/8764035 to your computer and use it in GitHub Desktop.
MrSID 9.0.0 build error with PDAL-master
[ 59%] Building CXX object src/CMakeFiles/pdalcpp.dir/drivers/mrsid/Reader.cpp.o
cd /Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/build/src && /usr/local/Library/ENV/4.3/clang++
-DBOOST_ALL_NO_LIB -DHAVE_HEXER=1 -DHAVE_MRSID=1 -DHAVE_P2G=1 -DHAVE_PYTHON=1 -Dpdalcpp_EXPORTS
-Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual
-Wfloat-equal -Wredundant-decls -Wno-long-long -fPIC -I/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/boost
-I/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/build/include -I/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/../include
-I/usr/local/include -I/usr/local/include/soci -I/usr/local/opt/sqlite/include -I/usr/local/opt/libxml2/include/libxml2
-I/usr/local/opt/mrsid-sdk/include -isystem /usr/local/Frameworks/Python.framework/Headers
-isystem /Library/Python/2.7/site-packages/numpy-override/numpy/core/include -F/usr/local/Frameworks
-o CMakeFiles/pdalcpp.dir/drivers/mrsid/Reader.cpp.o
-c /Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:53:5: error: use of undeclared identifier 'addDefaultDimensions'; did you mean 'getDefaultDimensions'?
addDefaultDimensions();
^~~~~~~~~~~~~~~~~~~~
getDefaultDimensions
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/../include/pdal/drivers/mrsid/Reader.hpp:75:35: note: 'getDefaultDimensions' declared here
static std::vector<Dimension> getDefaultDimensions();
^
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:62:5: error: use of undeclared identifier 'addDefaultDimensions'; did you mean 'getDefaultDimensions'?
addDefaultDimensions();
^~~~~~~~~~~~~~~~~~~~
getDefaultDimensions
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/../include/pdal/drivers/mrsid/Reader.hpp:75:35: note: 'getDefaultDimensions' declared here
static std::vector<Dimension> getDefaultDimensions();
^
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:326:20: error: call to non-static member function without an object argument
x.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:331:20: error: call to non-static member function without an object argument
y.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:336:20: error: call to non-static member function without an object argument
z.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:341:20: error: call to non-static member function without an object argument
t.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:346:23: error: call to non-static member function without an object argument
blue.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:351:22: error: call to non-static member function without an object argument
red.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:356:24: error: call to non-static member function without an object argument
green.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:361:22: error: call to non-static member function without an object argument
cls.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:366:23: error: call to non-static member function without an object argument
edge.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:371:28: error: call to non-static member function without an object argument
intensity.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:376:30: error: call to non-static member function without an object argument
num_returns.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:381:28: error: call to non-static member function without an object argument
return_no.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:386:29: error: call to non-static member function without an object argument
scan_angle.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:391:27: error: call to non-static member function without an object argument
scan_dir.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:396:27: error: call to non-static member function without an object argument
ptsource.setNamespace(getName());
^~~~~~~
/Volumes/Scratch/osgeo4mac-tmp/pdal-sAvV/src/drivers/mrsid/Reader.cpp:401:27: error: call to non-static member function without an object argument
userdata.setNamespace(getName());
^~~~~~~
18 errors generated.
make[2]: *** [src/CMakeFiles/pdalcpp.dir/drivers/mrsid/Reader.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/pdalcpp.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment