-
Notifications
You must be signed in to change notification settings - Fork 30
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
FindIgnOGRE2: how to find a from-source (non-system) install? #192
Comments
There isn't a consistent way to do it at the moment. We do all of the name mangling via the Debian packaging step, so it's not reflected in the CMake. In the past, @ahcorde and I hardcoded paths to be able to use the colcon-local version, but I don't know if that is current best practice. |
Just to crossref the related issues, eventually this problem will be solved upstream by OGRECave/ogre-next#232 . |
Ok, good to hear there is activity to solve it upstream ;) |
The use case of having OGRE2 compiled via colcon workspace should have been covered by #174. Not sure if it cover your specific use case but should be supported. |
#342 makes it work with ogre 2.3 from our fork: https://github.com/gazebo-forks/ogre-next/tree/gazebo/v2-3 in a colcon workspace. ogre-next needs to be built with these variables: https://github.com/gazebo-forks/ogre-next/blob/gazebo/v2-3/colcon.pkg |
Closing since it's fixed by #342. |
Environment
Description
CMAKE_PREFIX_PATH
I have OGRE2 source build in a colcon workspace together with ign-rendering4. I don't see a way to point
FindIgnOGRE2
to this source build. In the CMake module, first a check forOGRE-2.1
is done, and if found, the rest of the search logic is skipped. And as the comment correctly points out,OGRE-2.1
is the name of the system-installed binary library, whereas source libraries use justOGRE
. So once there is anOGRE-2.1
installed in the system, the CMake module doesn't allow me to point it anywhere else...The text was updated successfully, but these errors were encountered: