Hello,
I got SFML working and running. But when I add the following line to my code:
sf::Http http;
I get an error "The program has unexpectedly finished." in my Application output.
I tried using Breakpoints and #defines but no output is visible.
When I run it in "debug" mode I get a pop-up with the error as described in this topic title.
When I just run my game (without the Http code) everything works, runs, debugs and compiles just fine.
I tried Google but no solutions there, and I cannot find what is wrong.
The error only comes when I try to use the Http code.
Anyone knows any solution or anything I can try?
My .pro file:
QT += core gui
TARGET = project
TEMPLATE = app
SOURCES += main.cpp
HEADERS +=
LIBS += -L"C:\\SFML\lib" -lsfml-graphics -lsfml-window -lsfml-system -lsfml-network
INCLUDEPATH = "C:\\SFML\\include"