Comments (9)
wow that is so weird ... I have mine in lower case and it is working on my mac.
Out of curiosity , I tried cloning the repo and tried building the project in the UG machine at uoft and it has the same error as yours! but it is definitely working on my mac.
I'd suggest try running it and you should see a diagram pop up. If it does, then I suggest just keep on working so that you are not stuck on it until Professor Alec responds to this issue ....
from computer-graphics-bounding-volume-hierarchy.
Found the culprit : https://stackoverflow.com/questions/1951951/when-including-header-files-is-the-path-case-sensitive
from computer-graphics-bounding-volume-hierarchy.
yeah...I'm on Ubuntu....
Thank you for the help :)
from computer-graphics-bounding-volume-hierarchy.
I tried again to compile it using the CDF computers, I got the same error message:
[ 82%] Building CXX object CMakeFiles/rays.dir/rays.cpp.o
In file included from /h/u8/c8/01/liuedwa1/Desktop/projects/computer-graphics-bounding-volume-hierarchy/rays.cpp:9:0:
/h/u8/c8/01/liuedwa1/Desktop/projects/computer-graphics-bounding-volume-hierarchy/include/visualize_aabbtree.h:6:36: fatal error: igl/opengl/glfw/viewer.h: No such file or directory
compilation terminated.
CMakeFiles/rays.dir/build.make:62: recipe for target 'CMakeFiles/rays.dir/rays.cpp.o' failed
make[2]: *** [CMakeFiles/rays.dir/rays.cpp.o] Error 1
CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/rays.dir/all' failed
make[1]: *** [CMakeFiles/rays.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Please help!
from computer-graphics-bounding-volume-hierarchy.
I dug around and found the file that was "missing":
wolf:~/Desktop/projects/computer-graphics-bounding-volume-hierarchy/libigl/include/igl/opengl/glfw$ ls -l -a
total 72
drwx------ 3 liuedwa1 cstudent 4096 Oct 5 10:10 .
drwx------ 3 liuedwa1 cstudent 4096 Oct 5 10:10 ..
-rw------- 1 liuedwa1 cstudent 988 Oct 5 10:10 background_window.cpp
-rw------- 1 liuedwa1 cstudent 777 Oct 5 10:10 background_window.h
drwx------ 2 liuedwa1 cstudent 4096 Oct 5 10:10 imgui
-rw------- 1 liuedwa1 cstudent 6793 Oct 5 10:10 map_texture.cpp
-rw------- 1 liuedwa1 cstudent 1889 Oct 5 10:10 map_texture.h
-rw------- 1 liuedwa1 cstudent 24438 Oct 5 10:10 Viewer.cpp
-rw------- 1 liuedwa1 cstudent 6166 Oct 5 10:10 Viewer.h
-rw------- 1 liuedwa1 cstudent 5191 Oct 5 10:10 ViewerPlugin.h
What should I do?
from computer-graphics-bounding-volume-hierarchy.
It compiled when I changed:
"#include <igl/opengl/glfw/viewer.h>" to "#include <igl/opengl/glfw/Viewer.h>"
in "include/visualize_aabbtree.h"
Is this an appropriate change to make?
from computer-graphics-bounding-volume-hierarchy.
It ran: ray, distance, and intersection; different images popped up in all 3.
There were no errors though, just the image, which I'm not sure if it's suppose to be like this or not; since I didn't write any code at all yet.
from computer-graphics-bounding-volume-hierarchy.
Yes I think you are good then. The images should look something like in the readme.
Wow, sucks you have to go through this debugging man lol. Just curious, what machine are you using?
from computer-graphics-bounding-volume-hierarchy.
fixed in 1a38eae
from computer-graphics-bounding-volume-hierarchy.
Related Issues (20)
- AABB Tree Infinite Recursion HOT 1
- What partitioning strategy should we use for AABB tree? HOT 1
- Issues on X11 and GLFW for WSL HOT 11
- AABBTree_ray_intersect.cpp how to quarry HOT 1
- point_box_squared_distance question HOT 4
- How fast is fast enough? HOT 2
- Missing pthread.h and Vulcan when running cmake on Windows HOT 4
- triangle-trianlge box-box intersections HOT 5
- Hint for triangle-triangle intersection algorithm HOT 1
- Stack Overflow Error when running Rays on the Duck in Windows HOT 4
- triangle_triangle_intersection algorithm question HOT 1
- I might have found a bug in your code ... ? HOT 1
- triangle-triangle intersection algorithm HOT 1
- Cannot toggle animation in libigl viewer HOT 1
- Unresolved external symbol with Eigen::Matrix3d::determinant() and Eigen::Vector3d::cross(v) HOT 2
- Broken Eigen download HOT 4
- Can't use gdb HOT 1
- About pseudo-code for distance queries HOT 1
- The GLFW library is not initialized HOT 15
- BoundingBox::center is non-const
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from computer-graphics-bounding-volume-hierarchy.