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

Pages: [1]
1
Window / System Time
« on: August 09, 2011, 08:55:32 pm »
Thank ya kindly, so say I do.

2
Window / System Time
« on: August 09, 2011, 07:44:43 pm »
I'm not sure if I missed it somewhere in a tutorial or the documentation what have you, but is there a method for pulling the system time from the computer in SFML, or do I need to use C++'s methods for this.

3
System / sfml-system.dll
« on: August 09, 2011, 03:29:37 am »
Your suggestion to use the MinGW on the Tutorial page worked, thanks a bunch!

4
System / sfml-system.dll
« on: August 08, 2011, 08:49:08 am »
I believe I have the 4.4.1 that came with uhh Code::Blocks

Edit:Unless that was the GCC that came with the MinGW? In which case, I do not know.

5
System / sfml-system.dll
« on: August 08, 2011, 05:48:12 am »
Well, I'm following the tutorial, where it tells you to run the batch.bat. It tells me 'xcopy' is not recognized as an internal or external command, operable program or batch file.
The process cannot access the file because it is being used by another process.

Edit: Actually before that a load of errors state
"'codeblocks' is not recognized as an internal or external command, operable program or batch file."

Edit Edit:
And when I use the linker option -lsfml-system-s for the static library I get errors like
"undefined reference to `_Unwind_Resume'|"

6
System / sfml-system.dll
« on: August 08, 2011, 05:01:03 am »
Okay, I'm trying to compile the simplest program the tutorial offers.

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


I'm trying to get it so I can send someone the .exe of the build and they can run it without me having to send the 5 Megabyte system.dll along with the 400kb .exe

I've gone through the tutorial for the static libraries but it seems to snag every time I try and compile it.

Is there a way to have SFML compile without having the .dll files in my Windows/system folder?

Any suggestions appreciated.

Pages: [1]