thliebig / openEMS-Project

openEMS is a free and open electromagnetic field solver using the FDTD method.
412 stars 76 forks source link

Error in installation #218

Open nuclearrambo opened 4 months ago

nuclearrambo commented 4 months ago

While running the install script I am coming across these errors. Can anyone help me get past these so I can successfully install OpenEMS?

-- Build files have been written to: /tmp/tmp.YLCiiFlJam/AppCSXCAD-prefix/src/AppCSXCAD-build
[ 90%] Performing build step for 'AppCSXCAD'
[ 20%] Automatic MOC for target AppCSXCAD
[ 97%] Linking CXX executable nf2ff
[ 97%] Built target openEMS
[ 98%] Building CXX object CMakeFiles/openEMS_bin.dir/main.cpp.o
[ 20%] Built target AppCSXCAD_autogen
[ 60%] Building CXX object CMakeFiles/AppCSXCAD.dir/main.cpp.o
[ 60%] Building CXX object CMakeFiles/AppCSXCAD.dir/AppCSXCAD_autogen/mocs_compilation.cpp.o
[ 80%] Building CXX object CMakeFiles/AppCSXCAD.dir/AppCSXCAD.cpp.o
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_global_init@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_perform@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_slist_free_all@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_setopt@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_init@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_slist_append@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_cleanup@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_global_cleanup@CURL_OPENSSL_4'
collect2: error: ld returned 1 exit status
make[5]: *** [nf2ff/CMakeFiles/nf2ff_bin.dir/build.make:105: nf2ff/nf2ff] Error 1
make[4]: *** [CMakeFiles/Makefile2:254: nf2ff/CMakeFiles/nf2ff_bin.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable openEMS
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_global_cleanup@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_global_init@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_perform@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_init@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_slist_free_all@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_setopt@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_slist_append@CURL_OPENSSL_4'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so: undefined reference to `curl_easy_cleanup@CURL_OPENSSL_4'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/openEMS_bin.dir/build.make:125: openEMS] Error 1
make[4]: *** [CMakeFiles/Makefile2:202: CMakeFiles/openEMS_bin.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/openEMS.dir/build.make:86: openEMS-prefix/src/openEMS-stamp/openEMS-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:144: CMakeFiles/openEMS.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable AppCSXCAD
[100%] Built target AppCSXCAD
[ 92%] Performing install step for 'AppCSXCAD'
[ 20%] Automatic MOC for target AppCSXCAD
[ 20%] Built target AppCSXCAD_autogen
[100%] Built target AppCSXCAD
Install the project...
-- Install configuration: "Release"
-- Installing: /home/nuclearrambo/opt/openEMS/bin/AppCSXCAD
-- Set runtime path of "/home/nuclearrambo/opt/openEMS/bin/AppCSXCAD" to "/home/nuclearrambo/opt/openEMS/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial"
-- Up-to-date: /home/nuclearrambo/opt/openEMS/bin/AppCSXCAD.sh
[ 95%] Completed 'AppCSXCAD'
[ 95%] Built target AppCSXCAD
make: *** [Makefile:91: all] Error 2
jabowery commented 6 days ago

Lots of people have this problem.