cnlohr / noeuclid

Non-euclidean GPU Raytraced Game
BSD 3-Clause "New" or "Revised" License
645 stars 48 forks source link

Incorrect header enclosure in noeuclid.cpp, no mouse movement #58

Open Jabrrak opened 5 years ago

Jabrrak commented 5 years ago

I'm on Windows 10 for reference, compiling with MinGW64.

In noeuclid.cpp, line 29, #include <Windows/GL/glew.h>, I have found this array does not allow the compiler to correctly locate glew.h as it is searching a global directory. Replacing <Windows/GL/glew.h> with "Windows/GL/glew.h" allows it to search the local directory and correctly find the header file. This issue may be specific to my software environment, but it may resolve the "no such directory" error in the compiler for anyone else running into it while attempting to compile.

As I am new to the coding scene, I haven't been able to interpret from prior posts if the mouse issue has been resolved on Windows or not. When inside the program, it registers keyboard input and mouse clicks, but not mouse drags, so I am unable to look around. From what I gathered, the issue is unresolved and may not be worth looking into. If anyone has any ideas for how to fix this or if a post discusses how to fix it, that'd be great.

I've attached a ss of the output when compiling if it points to any problems.

NoUclidCompile

Edit: I'm also having the issue of the viewport being rendered upside down, but the OP of the post on this issue never responded if the issue was fixed or not. I have tried the make clean command as suggested, which did not resolve this.