TinyXML becomes a big problem

Install support for openEMS

Moderators: thorsten, sebastian

Post Reply
FlashPackets
Posts: 1
Joined: Tue 16 Jun 2020, 23:20

TinyXML becomes a big problem

Post by FlashPackets » Wed 17 Jun 2020, 00:16

On an Ubuntu 18.4 machine using
git clone --recursive https://github.com/thliebig/openEMS-Project.git

./update_openEMS.sh /hdd/home/flash/opt/openEMS from within /hdd/home/flash/tmp/openEMS-Project

I get
make failed ...

(base) flash@FlashSuper64:/hdd/home/flash/tmp/openEMS-Project$ cat build_20200616_141326.log
-- The CXX compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CMAKE_INSTALL_PREFIX: /hdd/home/flash/opt/openEMS
-- Build AppCSXCAD: YES
-- with MPI: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.UHXamvZaep
Scanning dependencies of target fparser
[ 2%] Creating directories for 'fparser'
[ 5%] No download step for 'fparser'
[ 7%] No patch step for 'fparser'
[ 10%] No update step for 'fparser'
[ 12%] Performing configure step for 'fparser'
-- The CXX compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.UHXamvZaep/fparser-prefix/src/fparser-build
[ 15%] Performing build step for 'fparser'
Scanning dependencies of target fparser
[ 33%] Building CXX object CMakeFiles/fparser.dir/fparser.cc.o
[ 66%] Building CXX object CMakeFiles/fparser.dir/fpoptimizer.cc.o
[100%] Linking CXX shared library libfparser.so
[100%] Built target fparser
[ 17%] Performing install step for 'fparser'
[100%] Built target fparser
Install the project...
-- Install configuration: ""
-- Installing: /hdd/home/flash/opt/openEMS/lib/libfparser.so.4.5.1
-- Up-to-date: /hdd/home/flash/opt/openEMS/lib/libfparser.so.4
-- Up-to-date: /hdd/home/flash/opt/openEMS/lib/libfparser.so
-- Up-to-date: /hdd/home/flash/opt/openEMS/include/fparser.hh
[ 20%] Completed 'fparser'
[ 20%] Built target fparser
Scanning dependencies of target CSXCAD
[ 22%] Creating directories for 'CSXCAD'
[ 25%] No download step for 'CSXCAD'
[ 27%] No patch step for 'CSXCAD'
[ 30%] No update step for 'CSXCAD'
[ 32%] Performing configure step for 'CSXCAD'
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.17.1")
-- Found Git repository, CSXCAD version tag: v0.6.2-93-gef6e409
-- FPARSER_ROOT_DIR: /hdd/home/flash/opt/openEMS
-- fparser_INCLUDE_DIR: /hdd/home/flash/opt/openEMS/include
-- TinyXML_ROOT_DIR
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find TinyXML (missing: TinyXML_LIBRARY TinyXML_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindTinyXML.cmake:65 (find_package_handle_standard_args)
CMakeLists.txt:96 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/tmp.UHXamvZaep/CSXCAD-prefix/src/CSXCAD-build/CMakeFiles/CMakeOutput.log".
CMakeFiles/CSXCAD.dir/build.make:106: recipe for target 'CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure' failed
make[2]: *** [CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/CSXCAD.dir/all' failed
make[1]: *** [CMakeFiles/CSXCAD.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

***********************************************************************************************************************************************
I've been down this road a few times .. so I fixed the paths but it doesn't help
echo $TinyXML_ROOT_PATH
/hdd/home/flash/opt/tinyxml

echo $TinyXML_LIBRARY
/hdd/home/flash/opt/tinyxml

echo $TinyXML_INCLUDE_DIR
/hdd/home/flash/opt/tinyxml

I'm already pretty much bald so pulling my hair won't work. Any suggestions?

Post Reply