PengZheng commented on pull request #401: URL: https://github.com/apache/celix/pull/401#issuecomment-1079708818
As for CLion integration, when run CTest directly within CLion, you may encounter https://github.com/conan-io/conan/issues/7192. I solved this by using virtualrunenv generator, which is submitted in https://github.com/apache/celix/pull/401/commits/10267cfd74917e015db41b64236a3ffe2c85c0f5. After `conan install`, `activate_run.sh` will appear under your build directory. To use it setup environment variables (LD_LIBRARY_PATH) properly, open Run/Debug Configurations, choose to load environment variables from file, i.e. `source /home/peng/Downloads/my_minisys/cmake-build-relwithdebinfo-remote-host/activate_run.sh`. Then problem solved. Maybe you didn't encounter this problem in the build-tree of Celix (since RPATH is kept in the build-tree). However it's very easy to encounter this problem when running external project's test (e.g. my_minisys,), which is linking to Celix shared library managed by Conan. Hope that helps. @pnoltes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org