eth-igl / gp2024-Assignments

0 stars 0 forks source link

IOError #14

Closed Genjo00 closed 6 months ago

Genjo00 commented 6 months ago

Hello, when compiling and running the viewer, I get a IOError message. The matrix P appears to be empty. I tried manually loading a mesh, but when I press 1 the mesh disappers and matrix P is again empty, how can I fix this? This is the message I get. Searching for this specific string in the code gives no results. IOError: ../data/sphere.off could not be opened...

FloorVerhoeven commented 6 months ago

Hi, does this happen with the unmodified starter code? And does it happen for all input models or only the sphere?

It might be a problem with the structure of your directory tree. The path to the default sphere that is loaded is expecting your build and data folders to be at the same level within the assignment2 folder. If this is not the case for you, you should either change the structure of your directory or change the default path for loading the sphere.