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

Pages: [1]
1
General / Visual Studio 2010 Libs
« on: July 25, 2010, 03:55:57 am »
I have compile SFML 2.0 for Visual Studio 2010. See my post here:
http://www.sfml-dev.org/forum/viewtopic.php?p=19008#19008

2
General / Here are compiled SFML 2.0 lib for Visual Studio 2010
« on: July 25, 2010, 03:51:14 am »
I have compiled SFML 2.0 libs in Visual Studio 2010 Ultimate (should work the same in Express)
One of the problems was when importing the included VS2008 solution to 2010 it didn't compile the 10 required -d libs (ex: sfml-window-d.lib).

You had to go into Project Properties -> Configuration Properties -> Linker -> Advanced and set the Import Library to sfml-window-d.lib for the Debug Profile and sfml-window.lib for Release Profile for each: Audio, Graphics, Network, System, Window

Now those .lib files won't show up in lib/vs2008 like the other .dll and .lib. They appear in build/vs2008

Now you can copy the 10 lib files into your directory where you are linking to the SFML library in VS2010. You should have the full set of 37 files to comple SFML 2.0 projects.

OR

You can download all the VS 2010 compiled SFML 2.0 files here:

http://media.codecollision.com/SFML-2.0-VS10-libs.zip

3
Graphics / Maximum size of sf::Image and sf::Sprite
« on: July 19, 2010, 11:28:28 pm »
If I have the following code:

Code: [Select]
   sf::Image bgImage;
    if (!bgImage.LoadFromFile("background.jpg")) {
        return EXIT_FAILURE;
    }
    sf::Sprite Background(bgImage);

   [... more code ...]
   App.Draw(Background);


What is the maximum image size (or is it limited by file/memory size?)
for sf::Image and sf::Sprite?

I know 1900x1200 works but 8000x5000 does not work (app closes).

Thanks.

Pages: [1]
anything