Skip to content

possible issue: make issac server  #170

@PrometheusPi

Description

@PrometheusPi

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)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions