-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
I want to cross compile the package with aarch64 platform which support opengl ES2, I write a crosss.cmake like
# the name of the target operating system
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(TOOLCHAIN_PATH /home/wj/Linux/LinuxSDK/rk3576_linux6.1_release/buildroot/output/rockchip_rk3576/host)
set(CMAKE_C_COMPILER ${TOOLCHAIN_PATH}/bin/aarch64-linux-gcc)
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PATH}/bin/aarch64-linux-g++)
when I try to build , I get failed as
/home/wj/nanogui/ext/glfw/include/GLFW/glfw3.h:241:12: fatal error: GL/gl.h: No such file or directory
241 | #include <GL/gl.h>
| ^~~~~~~~~
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels