So today, I opened code::blocks, to continue my project... But there was a problem
Process returned -1073741511 (0xC0000139) execution time : 0.005 s
Press any key to continue.
that is what the console says. I tried to make the a test in a new project, the same.
#include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
using namespace std;
using namespace sf;
int main()
{
RenderWindow window(VideoMode(640, 360), "DirtyCraft");
while(window.isOpen())
{
Event e;
while(window.pollEvent(e))
{
switch(e.type)
{
case sf::Event::Closed: window.close(); break;
}
}
window.clear();
window.display();
}
cout << "Hello world!" << endl;
return EXIT_SUCCESS;
}
And after that I putted in the new project, the dlls, I put debug first, same, I put the release, and both, the same...
. Libraries are linked(I linked the entyre folder that comes with sfml in lib.)