garrynewman / GWEN

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

No window visible at all using CrossPlatform sample on Linux #49

Open elliotpotts opened 11 years ago

elliotpotts commented 11 years ago

I'm on linux mint 64 bit using gcc 4.7.2 and I built GWEN with this simple SConstruct file:

sources = []
incpath = ["include"]

sources += Glob("src/*.cpp")
sources += Glob("src/Platforms/*.cpp")
sources += Glob("src/Controls/*.cpp")
sources += Glob("src/Controls/Dialog/*.cpp")
sources += Glob("UnitTest/*.cpp")

# OpenGL
sources += Glob("Renderers/OpenGL/*.cpp")
sources += Glob("Renderers/OpenGL/DebugFont/*.cpp")
incpath += ["Renderers/OpenGL/FreeImage"]
incpath += ["Renderers/OpenGL/DebugFont"]

Library(target = 'libgwen', source = sources, CPPPATH = incpath)

And compiled the CrossPlatform sample by cd'ing into the directory and using this command:

g++ CrossPlatform.cpp -I../../include -L../../ -lgwen -lGL -lfreeimage

When running the resulting a.out I get no window, no output or anything, just a programme that isn't finishing.

I may have misunderstood and in fact CrossPlatform means a null renderer, but I was expecting to get a quick look at GWEN and see if it is suitable for my project.