syroco/orca

Fresh instal yields unexpected results

Opened this issue · 1 comments

Hello,

Due to a unrelated issue with my pc i had to reinstall. (I have intsalled ORCA before).
However, using the same installation commands (https://orca-controller.readthedocs.io/en/master/getting_started/install.html),
i find that the installation of ORCA does not work.
After running " sudo cmake --build . --target install " I can see that the executables of the examples are not placed in /orca/build/examples/.. but in /orca/build/lib/orca/examples/..
However, I can not run the examples (error: command not found).

In addition, when using the same CMakeLists file i used before i can not compile the sample programs using the orca name space.
Error: Target "Example00" links to target "orca::orca" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?

Note that i use the CMakeLists file as defined on https://orca-controller.readthedocs.io/en/master/getting_started/using_the_lib.html

It seems to me that during installation something went wrong. If possible, could you point me in which direction to search for a solution?

thanks in advance

Hello,
Thanks for reporting, I must admit the orca dev is in pause but the lib still compiles.
Here a way to test in a "clean" environement:

git clone https://github.com/syroco/orca
cd orca
docker build -f docker/self_contained/bionic.Dockerfile .

This dockerfile contains all the necessary lines to 1. build orca 2. build another package with orca.
Side note: never run cmake with sudo !