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.


Topics - Alfonso1

Pages: [1]
1
General / undefined reference to `sf::SoundBuffer::SoundBuffer()'
« on: May 04, 2011, 08:29:01 pm »
I am using Windows XP and code::block

when I load some sample (for example the "sound" sample) and try to compile it, it geves me an error

undefined reference to `sf::SoundBuffer::SoundBuffer()'

what can i do?

2
General / SFML dont work in Code::Blocks
« on: May 04, 2011, 02:44:29 am »
I had download codeblocks-10.05mingw-setup.exe form here:
http://www.codeblocks.org/downloads/26

and I had dowload SFML for Windows - MinGW (Code::Blocks) (34.4 MB)
from here:
http://www.sfml-dev.org/download.php

and I had follow the steps of these totorial:
Tutorial - Getting started - SFML and Code::Blocks (MinGW)
http://www.sfml-dev.org/tutorials/1.6/start-cb.php

and try to compile and execute the example code in that totorial, but it give me an error, it said me that doesn't find "sfml-system.dll"

how can I repare these error?

3
General / SFML dont work in devcpp
« on: May 02, 2011, 08:01:51 pm »
I had download Windows - MinGW (Code::Blocks) (34.4 MB)

and in the project opcions I had put:
the direction of SFML-1.6\lib in "Library directories"
and the direction of SFML-1.6\include in "Include derectories"

but when I try to compile it geves me an error:

[Linker error] undefined reference to `sf::Clock::Clock()'

the code is these:

Code: [Select]
#include <SFML/System.hpp>
#include <iostream>

int main()
{
    sf::Clock Clock;
    while (Clock.GetElapsedTime() < 5.f)
    {
        std::cout << Clock.GetElapsedTime() << std::endl;
        sf::Sleep(0.5f);
    }

    return 0;
}

Pages: [1]