Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh instal yields unexpected results #19

Open
RemcoVDoorn opened this issue Mar 24, 2020 · 1 comment
Open

Fresh instal yields unexpected results #19

RemcoVDoorn opened this issue Mar 24, 2020 · 1 comment

Comments

@RemcoVDoorn
Copy link

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

@ahoarau
Copy link
Member

ahoarau commented Mar 24, 2020

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants