You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a system with no root access, I manually extracted libxcursor-dev to a folder and set the proper variables in ccmake ../src/ command.
mnaderan@fury0:/mnt/local/mnaderan/op/optix_advanced_samples/build$ grep -r X11_Xcursor_INCLUDE_PATH .
./CMakeCache.txt:X11_Xcursor_INCLUDE_PATH:PATH=/mnt/local/mnaderan/op/libxcursor-dev/include
./CMakeCache.txt://ADVANCED property for variable: X11_Xcursor_INCLUDE_PATH
./CMakeCache.txt:X11_Xcursor_INCLUDE_PATH-ADVANCED:INTERNAL=1
./CMakeCache.txt://MODIFIED property for variable: X11_Xcursor_INCLUDE_PATH
./CMakeCache.txt:X11_Xcursor_INCLUDE_PATH-MODIFIED:INTERNAL=ON
However, make fails with this message
mnaderan@fury0:/mnt/local/mnaderan/op/optix_advanced_samples/build$ make
Scanning dependencies of target glfw
[ 0%] Building C object support/glfw/src/CMakeFiles/glfw.dir/context.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
In file included from /mnt/local/mnaderan/op/optix_advanced_samples/src/support/glfw/src/internal.h:169:0,
from /mnt/local/mnaderan/op/optix_advanced_samples/src/support/glfw/src/context.c:28:
/mnt/local/mnaderan/op/optix_advanced_samples/src/support/glfw/src/x11_platform.h:39:10: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
#include <X11/Xcursor/Xcursor.h>
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
support/glfw/src/CMakeFiles/glfw.dir/build.make:62: recipe for target 'support/glfw/src/CMakeFiles/glfw.dir/context.c.o' failed
make[2]: *** [support/glfw/src/CMakeFiles/glfw.dir/context.c.o] Error 1
CMakeFiles/Makefile2:191: recipe for target 'support/glfw/src/CMakeFiles/glfw.dir/all' failed
make[1]: *** [support/glfw/src/CMakeFiles/glfw.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
In fact, the file exists
mnaderan@fury0:/mnt/local/mnaderan/op/optix_advanced_samples/build$ ls ../../libxcursor-dev/include/X11/Xcursor/Xcursor.h
How can I fix that?
The text was updated successfully, but these errors were encountered:
On a system with no root access, I manually extracted libxcursor-dev to a folder and set the proper variables in
ccmake ../src/
command.However,
make
fails with this messageIn fact, the file exists
How can I fix that?
The text was updated successfully, but these errors were encountered: