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

Pages: 1 [2] 3
16
General discussions / SFML and C++0x; "error: use of deleted function"
« on: November 03, 2011, 10:08:33 pm »
There are some good articles over at codeproject that highlight the new features of c++11

17
General discussions / Premake
« on: September 08, 2011, 06:40:07 pm »
With cmake, I cannot generate a project for someone else without requiring them to also install cmake. (If there is a way to do this, then I am unaware of it) That is the largest problem I have with it.

18
General discussions / Premake
« on: September 07, 2011, 11:17:24 pm »
I am watching it as well, looks to be easier to set up than cmake and I like that it is using some other language (lua) for setup instead of inventing another.

19
General / Why am I getting 300+ errors when trying to compile on OS X?
« on: February 25, 2011, 12:15:19 am »
You havent provided any useful information in order for us to help you. What are your error messages

20
Window / [VS2010] How do you get rid of the console window?
« on: January 27, 2011, 01:45:34 am »
http://www.sfml-dev.org/forum/search.php

Use: _WinMain as your search criteria

21
General discussions / SFML 2 for OS X comes true!
« on: December 21, 2010, 03:57:43 pm »
Quote from: "Hiura"
Should be ok now.

Do you have some «lag» or is it really smooth ? (If you move your mouse too fast the shape doesn't go exactly to the border ? Is it the same on Linux/Win ? Is it the same with SFML 1 ? I don't thing so but I can't try.)


I dont have any noticeable lag, but if I move my mouse outside of the window really fast, then yeah, the rectangle isnt on the very edge. I have not tried it on other platforms.

22
General discussions / SFML 2 for OS X comes true!
« on: December 21, 2010, 02:47:57 am »
The mouse point returned by getMouseY() does not appear to account for the title bar.

Code: [Select]

int main()
{
sf::RenderWindow window(sf::VideoMode(800, 800), "Test Window");
const sf::Input& wInput = window.GetInput();
window.ShowMouseCursor(true);

sf::Shape rec = sf::Shape::Rectangle(0,0,100,100, sf::Color(255,0,0));

    while (window.IsOpened())
    {
        // Process events
        sf::Event event;
        while (window.GetEvent(event))
        {
            // Close window : exit
            if (event.Type == sf::Event::Closed)
                window.Close();

            if (event.Type == sf::Event::KeyPressed) {
                // Escape key : exit
                if (event.Key.Code == sf::Key::Escape)
                    window.Close();
            }
        }

float mouseX = (float)wInput.GetMouseX();
float mouseY = (float)wInput.GetMouseY();
rec.SetPosition(mouseX, mouseY);

window.Clear(sf::Color::Green);
window.Draw(rec);
        window.Display();
    }

    return EXIT_SUCCESS;
}

23
Quote from: "Fierce_Dutch"
Quote from: "Laurent"
You just have to compile as 32 bits. I think most compilers support this feature.


So is win32 compiling, compiling for32 bit OS's? Because I tried to distribute to 32 bit xp's from my win7 64 bit and I included the dll's I think I needed and it said configuration incorrect.


Use Dependency Walker to determine if you are sending the right dll's

24
General discussions / Problem executing on different PC
« on: December 02, 2010, 03:34:42 pm »
its under c++ -> Code generation

It is easier to set the configuration type to 'Release' and use that on your second machine.

25
General discussions / Problem executing on different PC
« on: December 02, 2010, 07:55:53 am »
Did you compile it in debug mode with /MDd? The target machine doesnt have the debug runtime because those libraries only come with visual studio.

26
General discussions / Developing with CMake
« on: December 01, 2010, 10:01:04 pm »
Once it is set up and you have built for multiple platforms, then it is awesome for rapidly building/testing for all platforms simply because there is one source list that generates all targets.

Does it have a learning curve for setting up the first time? yes
Is it worth the pain? I believe so

27
SFML wiki / SFML2 and CEGUI: linker issue
« on: December 01, 2010, 12:54:55 am »
Those are CEGUI linker errors, you would be better served asking that question on their forums

28
General discussions / Laurent I need Help with My own LIB
« on: November 30, 2010, 01:43:37 am »
Your project needs to use the same /MD settings as the SFML you are linking against.

29
General / SFML2 on mac
« on: November 22, 2010, 05:24:33 pm »
Quote from: "Hiura"
I will post something when I'll publish something usable into the SVN. Until then you have to use SFML 1.6.  :wink:


Lookin forward to it, keep up the good work!

30
General discussions / Help with .dll's...
« on: November 22, 2010, 05:20:52 pm »
Quote from: "Fierce_Dutch"

Is there just a tutorial I can follow? I Mean I am just confused with the whole .dll because I have two seperate systems i want to implement into this .dll so that mean's I have a menu.h with declarations and a menu.cpp with the actual functions. Now I want to put the actual functions from the into the .dll and include my menu.h So that whenever i start a new project and I include the header file and put the lib in the properties then it will load all the .cpp files which are now in the dll. I try this and it doesnt work...

Help?


I would start by googling 'win32 dll tutorial'. Pay close attention when the articles start talking about __dllimport and __dllexport.

Pages: 1 [2] 3