#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);
    Sprite. //   /!\ list doesnt appear
	// 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;
}
Did you add the path somewhere?Yes probably, where can I add manually the headers please ?
Maybe C::B's don't know where to search the headers...
How can I configure "code completion" consider SFML and standar library ?I guess mostly SFML library use some special macro definitions, I will check it today and give you the direction.
Thanks !
http://www.sfml-dev.org/tutorials/1.6/start-cb.phpits for windows only :s ...
after reinstalling codeblocks, code completion work on a local class only.I only have Win system, so I can't help you further more. :(
SFML or other lib didnt auto-complete.
Works well on Linux Mint 11.after reinstalling codeblocks, code completion work on a local class only.I only have Win system, so I can't help you further more. :(
SFML or other lib didnt auto-complete.