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 - Kreshdev

Pages: [1]
1
General / Still experiencing some problems...
« on: January 17, 2012, 11:55:41 pm »
I am still experiencing the "'SFML/Graphics.hpp' no such file or directory" issue.. any idea how to fix it?

2
General / Using SFML 1.6 under Ubuntu 11.10
« on: January 17, 2012, 11:33:49 pm »
I'm not sure, but it seems like the issue might be due to the fact that the file you are trying to access (from the IDE) is in a restricted directory and you might require sudo access for that. Try moving your SFML directory in a public place such as /home.

3
General / /usr/bin/ld: cannot find -lsfml-system
« on: September 29, 2011, 11:28:56 pm »
Is it normal if the library files are named, for example:
lsfml-audio.so.1.6
lsfml-etc.so.1.6 or should I rename them to have the .so extension only?
Because it keeps saying
Code: [Select]
/home/tristan/Code::Blocks/SFML/SFML/main.cpp|1|fatal error: SFML/Graphics.hpp: No such file or directory|

4
General / /usr/bin/ld: cannot find -lsfml-system
« on: September 29, 2011, 03:18:35 pm »
Alright, thank you. I will try that out and give you some news soon.

5
General / /usr/bin/ld: cannot find -lsfml-system
« on: September 28, 2011, 11:14:00 pm »
Yes, I am on Ubuntu. Could anyone please tell me exactly what to do because I am a bit confused.  >.<

6
General / /usr/bin/ld: cannot find -lsfml-system
« on: September 27, 2011, 04:24:32 am »
Greetings!

I am new to this site and I have followed many tutorials and searched before posting this to make sure that it wasn't already explained anywhere and it seems like it doesn't (or I just really suck at searching).
My problem is that when I try to compile a really simple script:
Code: [Select]
#include <SFML/Graphics.hpp>

int main()
{
    // Create the main window
    sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");

    // Load a sprite to display
    sf::Image Image;
    if (!Image.LoadFromFile("cb.bmp"))
        return EXIT_FAILURE;
    sf::Sprite Sprite(Image);

// Start the game loop
    while (App.IsOpened())
    {
        // Process events
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            // Close window : exit
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }

        // Clear screen
        App.Clear();

        // Draw the sprite
        App.Draw(Sprite);

        // Update the window
        App.Display();
    }

    return EXIT_SUCCESS;
}
, I am getting the following errors:
Code: [Select]
ld||cannot find -lsfml-system|
ld||cannot find -lsfml-audio|
ld||cannot find -lsfml-graphics|
ld||cannot find -lsfml-network|
ld||cannot find -lsfml-window|
ld||cannot find -lsfml-graphics-s|
ld||cannot find -lsfml-audio-s|
ld||cannot find -lsfml-window-s|
ld||cannot find -lsfml-network-s|
ld||cannot find -lsfml-system-s|
ld||cannot find -lsfml-graphics-s|
ld||cannot find -lsfml-audio-s|
ld||cannot find -lsfml-network-s|
ld||cannot find -lsfml-window-s|
ld||cannot find -lsfml-system-s|
||=== Build finished: 15 errors, 0 warnings ===|

I have followed this tutorial for the static version and I did everything as told in there. Could anyone please help me out as I feel like this is a really stupid error and I have been looking for a way to fix this issue for a few hours now and I am tired of searching... : /

Pages: [1]