Skip to content
Can you Open a Window in
Profile icon

So I was thinking of making a quick 2d C++ game using SFML in to test the capabilities of it (like performance) but to make games with SFML you need to make a window appear. This is totally possible with a normal text-editor/IDE but I was wondering if it was even possible to open a window with

You are viewing a single comment. View All
Profile icon

windows.h won't work because is a UNIX-like environment, not a windows environment. regardless, you still have a valid point: Graphics are pretty hard to get working on


, In order to get SFML working on, you need to download and compile the actual SFML library yourself, and even then it won't work if you don't have the hacker plan.
AFAIK, there are other ways of getting graphics on with C/C++, but they are kinda annoying