When building the current isaac dev as follows:
git clone -b dev https://github.com/ComputationalRadiationPhysics/isaac.git
cd ./isaac
mkdir .build
cd .build
cmake -DCMAKE_INSTALL_PREFIX=__some_other_path__/bin __above_path__/isaac/server
I ran into the following problem:
executing
./__some_other_path__/isaac/server/issac
results in
./bin/isaac: error while loading shared libraries: libwebsockets.so.16: cannot open shared object file: No such file or directory
and also ldd shows that the library is not linked.
Ween I however execute the isaac server directly from the build directory:
__some_other_path__/isaac/.build/issac
it runs fine (and ldd shows that all links work). Also when I copy this executable to another location it still runs fine.
Hashing both executables shows a different hash. Thus the isaac server binary installed in the CMAKE_INSTALL_PREFIX is a different version than the one installed in the .build/ directory.
This confused me a lot, since I thought that the first is just a copy of the latter.
What is going wrong here (in the CMake files)?
When building the current isaac
devas follows:I ran into the following problem:
executing
results in
and also
lddshows that the library is not linked.Ween I however execute the
isaacserver directly from the build directory:it runs fine (and
lddshows that all links work). Also when I copy this executable to another location it still runs fine.Hashing both executables shows a different hash. Thus the
isaacserver binary installed in theCMAKE_INSTALL_PREFIXis a different version than the one installed in the.build/directory.This confused me a lot, since I thought that the first is just a copy of the latter.
What is going wrong here (in the CMake files)?