Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wilds

Pages: [1]
1
General / Re: Application not compiling with SFML 2.1
« on: December 05, 2013, 09:47:15 pm »
I have searched for the error and I am using netbeans.

I managed to compile it but only by adding the libraries explicitly in netbeans.
If I add them as additional dependancies it wont work which seem to be weird.

2
General / Application not compiling with SFML 2.1
« on: December 05, 2013, 04:24:40 pm »
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;
}

Quote
"/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

Pages: [1]