In order to resolve an other issue I posted here, I needed to compile the development version.
So I did:
Code: Select all
git clone --recursive https://github.com/thliebig/openEMS-Project.git
cd openEMS-Project
./update_openEMS.sh ~/opt/openEMS
The build log file says:
Code: Select all
-- Configuring incomplete, errors occurred!
See also "/tmp/tmp.SehMXHlfFx/CSXCAD-prefix/src/CSXCAD-build/CMakeFiles/CMakeOutput.log".
See also "/tmp/tmp.SehMXHlfFx/CSXCAD-prefix/src/CSXCAD-build/CMakeFiles/CMakeError.log".
CMakeFiles/CSXCAD.dir/build.make:106: recipe for target 'CSXCAD-prefix/src/CSXCAD-stamp/CSXCAD-configure' failed
Looking at the CMakeOutput.log file I see the lines:
Code: Select all
Linking CXX executable cmTC_195cd
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_195cd.dir/link.txt --verbose=1
/usr/bin/c++ -frounding-math -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_195cd.dir/CheckFunctionExists.cxx.o -o cmTC_195cd -rdynamic -lpthread
gmake[4]: Leaving directory '/tmp/tmp.SehMXHlfFx/CSXCAD-prefix/src/CSXCAD-build/CMakeFiles/CMakeTmp'
BUT looking at the CMakeError.log file I see the lines:
Code: Select all
Linking CXX executable cmTC_8d7a8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8d7a8.dir/link.txt --verbose=1
/usr/bin/c++ -frounding-math -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_8d7a8.dir/CheckFunctionExists.cxx.o -o cmTC_8d7a8 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8d7a8.dir/build.make:97: recipe for target 'cmTC_8d7a8' failed
gmake[4]: *** [cmTC_8d7a8] Error 1
And this is consistent with the build log file:
Code: Select all
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
Thanks, Robert.
Code: Select all
cmake --version
cmake version 3.6.2
c++ --version
c++ (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
uname -rpio
4.8.10-200.fc24.x86_64 x86_64 x86_64 GNU/Linux
CMakeOutput.log attached
CMakeError.log attached