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

CMake error #54

Open
ncrasta opened this issue Sep 18, 2019 · 1 comment
Open

CMake error #54

ncrasta opened this issue Sep 18, 2019 · 1 comment

Comments

@ncrasta
Copy link

ncrasta commented Sep 18, 2019

When I try to build it on ubuntu 18.04, I get the following error. Any suggestion to fix it? Thanks.

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/Findosg.cmake:50 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:26 (find_package)

-- Configuring incomplete, errors occurred!

@as14g18
Copy link

as14g18 commented Jan 31, 2021

Looks like cmake isn't able to find the OpenSceneGraph build location.
Try doing cmake -DCMAKE_SYSTEM_PREFIX_PATH=<path to osg>

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