orocos-toolchain / ocl

Orocos Component Library
Other
16 stars 33 forks source link

Doesn't build on OSX #8

Closed colincsl closed 2 years ago

colincsl commented 10 years ago

readline is keg-only so it doesn't get installed to the normal system paths in OSX 10.9.

I added /usr/local/opt/readline to the CMAKE_PREFIX path and it worked.

meyerj commented 2 years ago

For future reference: The creation of symlinks at /usr/local can be enforced with

brew link [--force] readline

which is what has been applied for Travis at https://github.com/orocos-toolchain/orocos_toolchain/pull/34, for example. Setting the CMAKE_PREFIX_PATH manually to the location where readline is installed is indeed another option.