Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
elliotpotts opened this issue Apr 3, 2013 · 0 comments
Open

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

elliotpotts opened this issue Apr 3, 2013 · 0 comments

Comments

@elliotpotts
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant