Skip to content
New issue

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

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

Already on GitHub? # to your account

Examples don't work when installation instructions are followed (.local) #312

Closed
MLopez-Ibanez opened this issue Jun 19, 2019 · 3 comments
Closed

Comments

@MLopez-Ibanez
Copy link
Contributor

The documentation suggests:

cmake -DCMAKE_INSTALL_PREFIX=~/.local .

However, none of the examples will work this way because GCC does not search in ~/.local by default. Every example must be amended to use something like:

g++ -c -O2 -DNDEBUG -std=c++11 nsga2.cpp -I $HOME/.local/include -o nsga2.o
g++ -O2 -DNDEBUG -std=c++11 nsga2.o  -L $HOME/.local/lib  -lpagmo -Wl,-R$HOME/.local/lib  -o nsga2
@bluescarni
Copy link
Member

CC #285.

@bluescarni
Copy link
Member

Being addressed in #340.

@bluescarni
Copy link
Member

Fixed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants