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

can't build cpp branch #30

Open
Jpower2023 opened this issue Jun 18, 2023 · 0 comments
Open

can't build cpp branch #30

Jpower2023 opened this issue Jun 18, 2023 · 0 comments

Comments

@Jpower2023
Copy link

Jpower2023 commented Jun 18, 2023

Hello,

I'm currently trying to build cam_overlay_cpp on Crankshaft-NG. Unfortunately, I'm getting the following error message in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindOpenGL.cmake:397 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/Gl/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!
See also "/opt/crankshaft/cam_overlay-cpp/CMakeFiles/CMakeOutput.log".

Does anyone have any ideas regarding this?
I've already tried modifying RaspberryPi.cmake l (ike this post #25 (comment)), but without success.

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

1 participant