Hi,
I'm trying to install openEMS with the help of build tutorial in the wiki.
Here is the error in the logfile:
CMake Warning at CMakeLists.txt:124 (find_package):
Could not find a package configuration file provided by "VTK" (requested
version 6.1) with any of the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
CMake Error at CMakeLists.txt:126 (find_package):
By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "VTK", but
CMake did not find one.
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
I have installed VTK 6.3, I tried also version 7 which made no difference.
I could not find version 6.1 neither in the repositories nor unter http://www.vtk.org/download/
Does anybody know where I can find a version 6.1? Or what else can I do to make it work?
Error during installation on ArchLinux
Moderators: thorsten, sebastian
Re: Error during installation on ArchLinux
Hi,
both vtk6.3 and vtk7 should work. The question is why does cmake not find it...
Have you had a look at this AUR package? https://aur.archlinux.org/packages/openems/
It looks quite up to date, but I do not have Arch and thus cannot test it.
regards
Thorsten
both vtk6.3 and vtk7 should work. The question is why does cmake not find it...
Have you had a look at this AUR package? https://aur.archlinux.org/packages/openems/
It looks quite up to date, but I do not have Arch and thus cannot test it.
regards
Thorsten
Re: Error during installation on ArchLinux
Hi,
thank you for your suggestion, this solved the problem with vtk.
After skipping the checking of the checksum and installing openmpi, I got another error which I can't solve:
[ 18%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o
In file included from /home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:35:0:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h: In Elementfunktion »void NS_Engine_Multithread::thread::operator()()«:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h:850:1: Fehler: »inline« beim Aufruf von always_inline »void _mm_setcsr(unsigned int)« gescheitert: target specific option mismatch
_mm_setcsr (unsigned int __I)
^~~~~~~~~~
/home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:259:24: Anmerkung: von hier aufgerufen
_mm_setcsr( newMXCSR ); //write the new MXCSR setting to the MXCSR
^
In file included from /home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:35:0:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h:818:1: Fehler: »inline« beim Aufruf von always_inline »unsigned int _mm_getcsr()« gescheitert: target specific option mismatch
_mm_getcsr (void)
^~~~~~~~~~
/home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:257:37: Anmerkung: von hier aufgerufen
unsigned int oldMXCSR = _mm_getcsr(); //read the old MXCSR setting
^
CMakeFiles/openEMS.dir/build.make:350: die Regel für Ziel „CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o“ scheiterte
make[5]: *** [CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o] Fehler 1
CMakeFiles/Makefile2:67: die Regel für Ziel „CMakeFiles/openEMS.dir/all“ scheiterte
make[4]: *** [CMakeFiles/openEMS.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make[3]: *** [all] Fehler 2
CMakeFiles/openEMS.dir/build.make:112: die Regel für Ziel „openEMS-prefix/src/openEMS-stamp/openEMS-build“ scheiterte
make[2]: *** [openEMS-prefix/src/openEMS-stamp/openEMS-build] Fehler 2
CMakeFiles/Makefile2:179: die Regel für Ziel „CMakeFiles/openEMS.dir/all“ scheiterte
make[1]: *** [CMakeFiles/openEMS.dir/all] Fehler 2
Makefile:83: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
I found these threads http://openems.de/forum/viewtopic.php?f ... atch#p2059 and http://openems.de/forum/viewtopic.php?f ... atch#p1775
I tried without the gui and with the suggested change in the update skript, but neither changed the error and now it does not make a difference whether I try to build the package from the AUR nor whether I try to use the tutorial in the wiki.
Could you help me again?
thank you for your suggestion, this solved the problem with vtk.
After skipping the checking of the checksum and installing openmpi, I got another error which I can't solve:
[ 18%] Building CXX object CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o
In file included from /home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:35:0:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h: In Elementfunktion »void NS_Engine_Multithread::thread::operator()()«:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h:850:1: Fehler: »inline« beim Aufruf von always_inline »void _mm_setcsr(unsigned int)« gescheitert: target specific option mismatch
_mm_setcsr (unsigned int __I)
^~~~~~~~~~
/home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:259:24: Anmerkung: von hier aufgerufen
_mm_setcsr( newMXCSR ); //write the new MXCSR setting to the MXCSR
^
In file included from /home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:35:0:
/usr/lib/gcc/i686-pc-linux-gnu/6.1.1/include/xmmintrin.h:818:1: Fehler: »inline« beim Aufruf von always_inline »unsigned int _mm_getcsr()« gescheitert: target specific option mismatch
_mm_getcsr (void)
^~~~~~~~~~
/home/katharina/builds/openems/src/openEMS/openEMS/FDTD/engine_multithread.cpp:257:37: Anmerkung: von hier aufgerufen
unsigned int oldMXCSR = _mm_getcsr(); //read the old MXCSR setting
^
CMakeFiles/openEMS.dir/build.make:350: die Regel für Ziel „CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o“ scheiterte
make[5]: *** [CMakeFiles/openEMS.dir/FDTD/engine_multithread.cpp.o] Fehler 1
CMakeFiles/Makefile2:67: die Regel für Ziel „CMakeFiles/openEMS.dir/all“ scheiterte
make[4]: *** [CMakeFiles/openEMS.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make[3]: *** [all] Fehler 2
CMakeFiles/openEMS.dir/build.make:112: die Regel für Ziel „openEMS-prefix/src/openEMS-stamp/openEMS-build“ scheiterte
make[2]: *** [openEMS-prefix/src/openEMS-stamp/openEMS-build] Fehler 2
CMakeFiles/Makefile2:179: die Regel für Ziel „CMakeFiles/openEMS.dir/all“ scheiterte
make[1]: *** [CMakeFiles/openEMS.dir/all] Fehler 2
Makefile:83: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
I found these threads http://openems.de/forum/viewtopic.php?f ... atch#p2059 and http://openems.de/forum/viewtopic.php?f ... atch#p1775
I tried without the gui and with the suggested change in the update skript, but neither changed the error and now it does not make a difference whether I try to build the package from the AUR nor whether I try to use the tutorial in the wiki.
Could you help me again?
Re: Error during installation on ArchLinux
Hi,
try to uncomment this line: https://github.com/thliebig/openEMS/blo ... s.txt#L152
I guess you are running a 32bit Arch?
regards
Thorsten
try to uncomment this line: https://github.com/thliebig/openEMS/blo ... s.txt#L152
I guess you are running a 32bit Arch?
regards
Thorsten