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
We use the path to the data dir from the cabal provided modules but when the path is not defined or defined incorrect we get segfaults. Really this points to two separate issues:
Don't trust the path from that module, and check it so we don't segfault
Use a different mechanism that provides relative paths or is otherwise less brittle to how people build the examples vs. how they run them.
The text was updated successfully, but these errors were encountered:
After trying to compile lesson6 and up GHC complained about a the module Paths_nehe_tuts being missing. After adding the file Paths_nehe_tuts.hs with the following contents it worked fine (given that you have all the image assets under data/ relative to the hs-files):
I didn't get past the "runhaskell Setup configure" part, because it complained about missing depencies (GLFW-b >= 1.0.0). I'm not sure why, because I have 1.4.6 installed. So I did compile it manually, which works fine after generating the Paths-file.
We use the path to the data dir from the cabal provided modules but when the path is not defined or defined incorrect we get segfaults. Really this points to two separate issues:
The text was updated successfully, but these errors were encountered: