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

Pages: [1]
1
Graphics / Strange rendering on windows XP.
« on: December 20, 2011, 06:26:15 pm »
Yes I am using libsfml-graphics. And I'm not really sure what is causing this. And why it acts this was only on my windows xp installation and why it works properly in wine and windows 7. Just thought someone might have an idea.

2
Graphics / Strange rendering on windows XP.
« on: December 20, 2011, 05:59:00 pm »
Hello, I'm having a bit of trouble with 3d rendering on windows xp.

When I compiled and ran my win32 application in ubuntu with wine, it works properly.



But when I run it on Windows XP, it looks like the polygons are messed up.




I'm not sure if this is a problem related to my intel integrated graphics card,
 as it worked fine on linux. I asked my friend who has windows 7 to test it
and it rendered correctly for him. So its either a hardware problem or a
windows xp problem. Or possibly a driver problem?

3
General / Issues Building with MinGW
« on: December 20, 2011, 03:02:35 pm »
Well thanks for the response, I managed to fix my problem by getting the missing dll from the mingw at http://sourceforge.net/projects/mingw/files/

4
General / Issues Building with MinGW
« on: December 14, 2011, 12:53:28 am »
I just updated mingw and gcc, and I'm still getting the errors.

5
General / Issues Building with MinGW
« on: December 10, 2011, 05:08:25 pm »
Hello, I've been using SFML for a while and it works great when I build my program for linux on Ubuntu. Though when I try to build it for windows I run into a bit of difficulty.

When compiling the code from the window tutorial,

Code: [Select]
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window.hpp>


////////////////////////////////////////////////////////////
/// Entry point of application
///
/// \return Application exit code
///
////////////////////////////////////////////////////////////
int main()
{
    // Create the main window
    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

    // Start main loop
    bool Running = true;
    while (Running)
    {
        App.Display();
    }

    return EXIT_SUCCESS;
}


using the command:
Code: [Select]
i586-mingw32msvc-gcc -o test test.cpp -mwindows -lstdc++ -lopengl32 -lglu32 -lsfml-window -lsfml-system
when I run it in wine I get a bunch of errors like:
Code: [Select]

err:module:import_dll Library libgcc_s_dw2-1.dll (which is needed by L"Z:\\home\\Test\\sfml-system.dll") not found
err:module:import_dll Library sfml-system.dll (which is needed by L"Z:\\home\\Test\\sfml-window.dll") not found
err:module:import_dll Library libgcc_s_dw2-1.dll (which is needed by L"Z:\\home\\Test\\sfml-window.dll") not found
err:module:import_dll Library sfml-window.dll (which is needed by L"Z:\\home\\Test\\test") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\Test\\test" failed, status c0000135


So apparently I'm missing "libgcc_s_dw2-1.dll". I've searched all directories of my computer and it was not found.
I tried installing codeblocks with MinGW and compiling it with that instead and got the same result. What should I do to fix this? What am I doing wrong?

6
Graphics / How to have a fullscreen window Stretch to fit the screen?
« on: October 31, 2011, 04:10:19 am »
Thank you for your response.
Though I'm afraid I wasn't too clear, as you seem to have misunderstood me. I know how to make a window go into Fullscreen mode already.
Though when I use a screen resolution that is smaller than the current resolution of the computer, it makes black space/borders around the screen during Fullscreen.
This is most likely because I am using a 4:3 Resolution (800x600) on a 16:10 Monitor (1280x800). Is there a way to instead stretch pixels of the screen the image to fit the monitor.
I'm going to use an image to try to help explain what I want to do.

7
Graphics / How to have a fullscreen window Stretch to fit the screen?
« on: October 30, 2011, 09:45:31 pm »
Hello, I'm just starting with SFML, and I'm trying to figure out how to make a render window go into fullscreen and have it stretch to fit the screen. For  example, a 800x600 screen stretching to a 1280x800 monitor.

Is it possible? If so I would be grateful for any help.

Pages: [1]