GithubHelp home page GithubHelp logo

Comments (9)

velociraptor111 avatar velociraptor111 commented on August 22, 2024 1

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.

velociraptor111 avatar velociraptor111 commented on August 22, 2024 1

Found the culprit : https://stackoverflow.com/questions/1951951/when-including-header-files-is-the-path-case-sensitive

from computer-graphics-bounding-volume-hierarchy.

edwardyliu avatar edwardyliu commented on August 22, 2024 1

yeah...I'm on Ubuntu....

Thank you for the help :)

from computer-graphics-bounding-volume-hierarchy.

edwardyliu avatar edwardyliu commented on August 22, 2024

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.

edwardyliu avatar edwardyliu commented on August 22, 2024

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.

edwardyliu avatar edwardyliu commented on August 22, 2024

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.

edwardyliu avatar edwardyliu commented on August 22, 2024

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.

velociraptor111 avatar velociraptor111 commented on August 22, 2024

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.

alecjacobson avatar alecjacobson commented on August 22, 2024

fixed in 1a38eae

from computer-graphics-bounding-volume-hierarchy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.