garrynewman / GWEN

Abandoned: GWEN - GUI Without Extravagant Nonsense.
MIT License
428 stars 102 forks source link

No way the unit test can work on non-Windows platforms #10

Open sreich opened 11 years ago

sreich commented 11 years ago

The OpenGL sample uses windows stuff instead of something like GLEW, and the "CrossPlatform" sample uses Gwen::Controls::WindowCanvas, which due to there being no !Windows implementation, other than Null in Platform/*, it will crash.

Specifically, it will attempt to use a Null platform and not return a void* for a method that returns one, which on most compilers will cause an "illegal hardware instruction".

So I'm trying to work through this just to get it (an example, or anything) to run on Linux.