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

Pages: [1]
1
General / Just installed SFML into codeblocks.
« on: June 09, 2011, 01:27:51 am »
I was able to get SFML installed and working with codeblocks. Well, at least working with the first bit of code that it gave on the installation tutorial page http://www.sfml-dev.org/tutorials/1.6/start-cb.php
The code was:

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;
}


This worked after I searched for the sfml-system.dll and put it in the path folder, but since this time, I have not been able to get get any of the code from the rest of the tutorials to compile, and they are all giving out of scope errors.  'sf3d' has not been declared, sf3d.hpp. no such file or directory, renderer was not declared in this scope.  I'm not sure what I need to do. The stuff from that tutorial link above has already been done, but it's not compiling the code examples from any of the code on the following tutorials.  Thanks for any help!

Pages: [1]