rjones30 / hddm Goto Github PK
View Code? Open in Web Editor NEWHierarchical Document Data Model
License: Apache License 2.0
Hierarchical Document Data Model
License: Apache License 2.0
I'm trying to build HDDM on a new Debian system, different than what I had done before and it's failing. CMake works when I point it directly to the XercesC library
base) bellis@titan:~/HDDM/build$ cmake ../ -DXercesC_LIBRARY_DEBUG=/usr/lib/x86_64-linux-gnu/libxerces-c.a -DCMAKE_INSTALL_PREFIX=/home/bellis -DXercesC_INCLUDE_DIR=/usr/include
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /opt/anaconda3/bin/x86_64-conda_cos6-linux-gnu-c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found BZip2: /opt/anaconda3/lib/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /opt/anaconda3/lib/libz.so (found version "1.2.11")
-- Found XercesC: /usr/lib/x86_64-linux-gnu/libxerces-c.a (found version "3.2.2")
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found xalan2 at /usr/share/java/xalan2.jar
-- Found xmllint at /usr/bin/xmllint
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bellis/HDDM/build
But make
fails
(base) bellis@titan:~/HDDM/build$ make
Scanning dependencies of target xstream
[ 1%] Building CXX object xstream/src/CMakeFiles/xstream.dir/base64.cpp.o
[ 3%] Building CXX object xstream/src/CMakeFiles/xstream.dir/bz.cpp.o
[ 4%] Building CXX object xstream/src/CMakeFiles/xstream.dir/common.cpp.o
[ 6%] Building CXX object xstream/src/CMakeFiles/xstream.dir/dater.cpp.o
[ 7%] Building CXX object xstream/src/CMakeFiles/xstream.dir/debug.cpp.o
[ 9%] Building CXX object xstream/src/CMakeFiles/xstream.dir/digest.cpp.o
[ 10%] Building CXX object xstream/src/CMakeFiles/xstream.dir/fd.cpp.o
[ 12%] Building CXX object xstream/src/CMakeFiles/xstream.dir/md5.cpp.o
[ 13%] Building CXX object xstream/src/CMakeFiles/xstream.dir/posix.cpp.o
[ 15%] Building CXX object xstream/src/CMakeFiles/xstream.dir/tee.cpp.o
[ 16%] Building CXX object xstream/src/CMakeFiles/xstream.dir/xdr.cpp.o
[ 18%] Building CXX object xstream/src/CMakeFiles/xstream.dir/z.cpp.o
[ 19%] Building CXX object xstream/src/CMakeFiles/xstream.dir/z_digest.cpp.o
[ 21%] Linking CXX static library libxstream.a
[ 21%] Built target xstream
Scanning dependencies of target hddm-xml
[ 22%] Building CXX object src/CMakeFiles/hddm-xml.dir/hddm-xml.cpp.o
/home/bellis/HDDM/src/hddm-xml.cpp:58:10: fatal error: xercesc/util/PlatformUtils.hpp: No such file or directory
#include <xercesc/util/PlatformUtils.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Even though that header file exists.
base) bellis@titan:~/HDDM/build$ ls -l /usr/include/xercesc/util/PlatformUtils.hpp
-rw-r--r-- 1 root root 32790 Dec 15 09:55 /usr/include/xercesc/util/PlatformUtils.hpp
It even files if I try to explicitly point it to the include directory
base) bellis@titan:~/HDDM/build$ make -I/usr/include
[ 21%] Built target xstream
[ 22%] Building CXX object src/CMakeFiles/hddm-xml.dir/hddm-xml.cpp.o
/home/bellis/HDDM/src/hddm-xml.cpp:58:10: fatal error: xercesc/util/PlatformUtils.hpp: No such file or directory
#include <xercesc/util/PlatformUtils.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/hddm-xml.dir/build.make:63: src/CMakeFiles/hddm-xml.dir/hddm-xml.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:206: src/CMakeFiles/hddm-xml.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
I'm guessing this system is a bit different than my other computer, but it shouldn't be that different.
Trying to build the GlueX halld_recon package using this repository rather than the halld_recon-on-board versions of the hddm utilities. Getting the following error writing C code from an HDDM XML file:
$ hddm-c -o .Linux_CentOS7-x86_64-gcc4.8.5-cntr/libraries/HDDM/hddm_mc_s libraries/HDDM/mc.xml
hddm-c: Template does not contain valid hddm header
when using hddm-c built from this repository:
$ which hddm-c
/data/scratch/hddm_standalone_build/gluex_top/hddm/hddm/bin/hddm-c
The hddm-c from halld_recon seems fine with mc.xml as has been demonstrated by build after build, year after year.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.