Hello people, this is my first time here.
I am having a compiling issue, I have tried most settings but it will not work.
Using Mingw32 and GCC version 4.8.1
#include "SFML/Graphics.hpp"
#include "SFML/Window.hpp"
#include "SFML/System.hpp"
int main(int argc, char* argv[])
{
sf::RenderWindow gameWindow(sf::VideoMode(1024,768), "SFML practice");
sf::Event event;
while(gameWindow.isOpen())
{
while(gameWindow.pollEvent(event))
{
if(event.type == sf::Event::Closed)
{
gameWindow.close();
}
}
}
return 0;
}
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Users/Mark/Desktop/smfl_practice'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/smfl_practice.exe
make[2]: Entering directory `/c/Users/Mark/Desktop/smfl_practice'
make[2]: Leaving directory `/c/Users/Mark/Desktop/smfl_practice'
make[1]: Leaving directory `/c/Users/Mark/Desktop/smfl_practice'
make[2]: *** No rule to make target `-lsfml-graphics-d', needed by `dist/Debug/MinGW-Windows/smfl_practice.exe'. Stop.
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2