-
Notifications
You must be signed in to change notification settings - Fork 99
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
Error while install, need help find out reason. #92
Comments
Same issue here with the latest build of Pangolin. (The default commit of Pangolin is dated back to 2019, and no longer compiles). |
Update: @XinyueZ I resolved this issue by manually compiling and linking OpenGL paths. You can double check the OpenGL paths in cmake config and see it they are all properly set. |
Hi there! Could you please tell me how you manually compile and link OpenGL paths? Same issue here but I dont know how to solve it. |
I solved this problem. |
Thanks! I followed your comment and succeed. |
Thank you, it works for me as weel! |
$ make -j
[ 10%] Building CXX object ReplicaSDK/CMakeFiles/ptex.dir/ptex/EGL.cpp.o
[ 20%] Building CXX object ReplicaSDK/CMakeFiles/ptex.dir/ptex/PLYParser.cpp.o
[ 30%] Building CXX object ReplicaSDK/CMakeFiles/ptex.dir/ptex/PTexLib.cpp.o
/home/xx/Desktop/work/Replica-Dataset/ReplicaSDK/ptex/EGL.cpp: In constructor ‘EGLCtx::EGLCtx(bool, int, bool)’:
/home/xx/Desktop/work/Replica-Dataset/ReplicaSDK/ptex/EGL.cpp:127:7: error: ‘Display’ was not declared in this scope; did you mean ‘display’?
127 | Display* x11 = XOpenDisplay(NULL);
| ^~~~~~~
| display
/home/xx/Desktop/work/Replica-Dataset/ReplicaSDK/ptex/EGL.cpp:127:16: error: ‘x11’ was not declared in this scope
127 | Display* x11 = XOpenDisplay(NULL);
| ^~~
/home/xx/Desktop/work/Replica-Dataset/ReplicaSDK/ptex/EGL.cpp:127:22: error: ‘XOpenDisplay’ was not declared in this scope
127 | Display* x11 = XOpenDisplay(NULL);
| ^~~~~~~~~~~~
make[2]: *** [ReplicaSDK/CMakeFiles/ptex.dir/build.make:76: ReplicaSDK/CMakeFiles/ptex.dir/ptex/EGL.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:102: ReplicaSDK/CMakeFiles/ptex.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: