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

Author Topic: CodeBlocks compile problem  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

aligator

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
CodeBlocks compile problem
« on: May 28, 2013, 09:50:12 pm »
hi

I use Linux Kubuntu 12.10 and codeblocks.

if I compile this:

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}
 

I get this error:
/usr/local/lib/libsfml-network.so: could not read symbols: Falsches Dateiformat

can someone help me, please?

aligator