tango-controls-hdbpp / hdbpp-timescale-project

hdbpp-timescale-project. Moved to https://gitlab.com/tango-controls/hdbpp/hdbpp-timescale-project
0 stars 1 forks source link

Issue with linking #18

Open johanfforsberg opened 3 years ago

johanfforsberg commented 3 years ago

(This is the thing I mentioned in the latest HDB++ meeting).

I was trying to build this project on my Ubuntu 20.4 machine for doing local testing and ran into some linker errors, complaining about missing "-lrt" flag. In the end I got it to work by adding rt to the target_link_libraries in CMakeLists.txt in both the hdbpp_es and hdbpp_cm subrepos. No real clue to why this is needed or if it's even the right approach.

I was compiling against the latest cpptango in conda-forge, which is 9.3.4.