Hi spdlib-develops,
We are trying to install spdlib on a VM running Red Hat Enterprise Linux
Server release 6.3.
We have the following two packages installed -
xerces-c-devel-3.0.1-0.20.1.el6.x86_64
xerces-c-3.0.1-0.20.1.el6.x86_64
but have installed, from source, xerces-c-3.1.1 elsewhere on the filesystem.
The following command -
cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/opt/spdlib/...
returns with $? = 0
but make returns the error below in the appendix.
Can you please make any suggestions?
What more information do you need from us?
The include and library paths for HDF5, GSL, LibLAS, CGAL, Xerces-c, GMP
and MPFR
have been reset in CMakeLists.txt and .bash_profile
A copy of spdlib has been obtained using -
hg clone http://hg.code.sf.net/p/spdlib/code spdlib
Thank you, in advance, for any information that you may be able to provide.
Regards,
Peter.
---
[ 71%] Building CXX object
CMakeFiles/spdclearclass.dir/src/exe/spdclearclass/main.cpp.o
In file included from /usr/include/gdal/ogr_feature.h:34,
from /usr/include/gdal/ogrsf_frmts.h:33,
from
/opt/spdlib/src/spdlib_hg/include/spd/SPDProcessDataBlocks.h:33,
from
/opt/spdlib/src/spdlib_hg/include/spd/SPDProcessPulses.h:37,
from
/opt/spdlib/src/spdlib_hg/include/spd/SPDCopyRemovingClassificationProcessor.h:38,
from
/opt/spdlib/src/spdlib_hg/src/exe/spdclearclass/main.cpp:31:
/usr/include/gdal/ogr_featurestyle.h: In member function ‘const char*
OGRStylePen::Pattern(GBool&)’:
/usr/include/gdal/ogr_featurestyle.h:263: warning: cast from type ‘const
char*’ to type ‘char*’ casts away constness
In file included from
/opt/spdlib/src/spdlib_hg/include/spd/SPDProcessDataBlocks.h:34,
from
/opt/spdlib/src/spdlib_hg/include/spd/SPDProcessPulses.h:37,
from
/opt/spdlib/src/spdlib_hg/include/spd/SPDCopyRemovingClassificationProcessor.h:38,
from
/opt/spdlib/src/spdlib_hg/src/exe/spdclearclass/main.cpp:31:
/usr/include/gdal/ogr_api.h: At global scope:
/usr/include/gdal/ogr_api.h:393: warning: redundant redeclaration of ‘void
OGRRegisterAll()’ in same scope
/usr/include/gdal/ogrsf_frmts.h:305: warning: previous declaration of ‘void
OGRRegisterAll()’
Linking CXX executable spdclearclass
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLAttDefList::serialize(xercesc_3_1::XSerializeEngine&)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::DTDEntityDecl::isSerializable() const'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::SAXParseException::~SAXParseException()'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::DOMImplementationRegistry::getDOMImplementation(unsigned
short const*)'
src/libspd.so.3.0.0: undefined reference to `typeinfo for
xercesc_3_1::SAXParseException'
src/libspd.so.3.0.0: undefined reference to `xercesc_3_1::XMemory::operator
delete(void*)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::DTDEntityDecl::getProtoType() const'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLUni::fgDOMErrorHandler'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLString::release(char**, xercesc_3_1::MemoryManager*)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLAttDefList::isSerializable() const'
src/libspd.so.3.0.0: undefined reference to `typeinfo for
xercesc_3_1::XMLException'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLPlatformUtils::Initialize(char const*, char const*,
xercesc_3_1::PanicHandler*, xercesc_3_1::MemoryManager*)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLPlatformUtils::fgMemoryManager'
src/libspd.so.3.0.0: undefined reference to `typeinfo for
xercesc_3_1::XMLEntityDecl'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::DTDEntityDecl::serialize(xercesc_3_1::XSerializeEngine&)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLString::release(unsigned short**,
xercesc_3_1::MemoryManager*)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLString::transcode(char const*,
xercesc_3_1::MemoryManager*)'
src/libspd.so.3.0.0: undefined reference to `typeinfo for
xercesc_3_1::DOMException'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLPlatformUtils::Terminate()'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLEntityDecl::~XMLEntityDecl()'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::SAXParseException::SAXParseException(xercesc_3_1::SAXParseException
const&)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLAttDefList::getProtoType() const'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLString::transcode(unsigned short const*,
xercesc_3_1::MemoryManager*)'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLUni::fgXercescDefaultLocale'
src/libspd.so.3.0.0: undefined reference to
`xercesc_3_1::XMLString::transcode(char const*, unsigned short*, unsigned
long, xercesc_3_1::MemoryManager*)'
collect2: ld returned 1 exit status
make[2]: *** [spdclearclass] Error 1
make[1]: *** [CMakeFiles/spdclearclass.dir/all] Error 2
make: *** [all] Error 2
---
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop