Errors during installation
I have followed the instructions to install VILLASnode, but during cmake I already had various warnings which were similiar:
CMake Warning at src/CMakeLists.txt:36 (add_executable):
Cannot generate a safe runtime search path for target villas-test-config
because files in some directories may conflict with libraries in implicit
directories:
runtime library [libspdlog.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/usr/local/lib
Some of these libraries may not be found correctly.
After I have deleted the library "libspdlog" in /usr/local/lib , I still got the following errors when executing "make -j$(nproc)". I am using Ubuntu 20.04.
[ 1%] Built target python
[ 15%] Built target villas-common
[ 16%] Built target rmsem
[ 17%] Built target rmshm
[ 27%] Built target api
[ 42%] Built target nodes
[ 50%] Built target formats
[ 64%] Built target hooks
[ 65%] Linking CXX executable villas-zmq-keygen
[ 86%] Built target villas
[ 87%] Linking CXX executable villas-node
/usr/bin/ld: ../common/lib/libvillas-common.so.0.11.0: undefined reference to spdlog::pattern_formatter::pattern_formatter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, spdlog::pattern_time_type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unordered_map<char, std::unique_ptr<spdlog::custom_flag_formatter, std::default_delete<spdlog::custom_flag_formatter> >, std::hash<char>, std::equal_to<char>, std::allocator<std::pair<char const, std::unique_ptr<spdlog::custom_flag_formatter, std::default_delete<spdlog::custom_flag_formatter> > > > >)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/villas-zmq-keygen.dir/build.make:94: src/villas-zmq-keygen] Error 1
make[1]: *** [CMakeFiles/Makefile2:896: src/CMakeFiles/villas-zmq-keygen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../common/lib/libvillas-common.so.0.11.0: undefined reference to spdlog::pattern_formatter::pattern_formatter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, spdlog::pattern_time_type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unordered_map<char, std::unique_ptr<spdlog::custom_flag_formatter, std::default_delete<spdlog::custom_flag_formatter> >, std::hash<char>, std::equal_to<char>, std::allocator<std::pair<char const, std::unique_ptr<spdlog::custom_flag_formatter, std::default_delete<spdlog::custom_flag_formatter> > > > >)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/villas-node.dir/build.make:100: src/villas-node] Error 1
make[1]: *** [CMakeFiles/Makefile2:757: src/CMakeFiles/villas-node.dir/all] Error 2
make: *** [Makefile:152: all] Error 2