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

Pages: [1]
1
General / Opengl OBJ C++ loader
« on: February 17, 2010, 05:58:13 pm »
Does anybody know a good c++ obj opengl loader?

Thanks!

2
Network / How can i encrypt my network traffic
« on: February 17, 2010, 05:52:39 pm »
You can use http://www.cryptopp.com/ library.

Best,
Nicolas.

3
Window / Crash error with Windows Vista / Visual Studio 2008
« on: February 17, 2010, 01:23:40 am »
Hi,

I had to format my computer and then I installed Windows 7 instead of Vista, I had recompiled the libraries and worked fine, haven't tested if it works with the ones that came originally as now I have Windows 7 it could work without doing a recompilation.

Many thanks and sorry for my delay, I could't chech this before.

Nicolas.

4
Window / Crash error with Windows Vista / Visual Studio 2008
« on: February 02, 2010, 12:11:54 am »
Hi,

Now I tried running the precompiled samples and work fine :).
Do you think I should recompile the libraries with my Visual 2008 version?

Thanks in advance!
Nicolas.

5
Window / Crash error with Windows Vista / Visual Studio 2008
« on: February 01, 2010, 11:44:58 pm »
Hi Laurent,

I am not very sure I have the latest ATI drivers. Independently of that I found very strange the error, I run a lot of software at my computer without that crashes.

Do you think that it can be a Driver issue?

Thanks in advance,
Nicolas.

6
Window / Crash error with Windows Vista / Visual Studio 2008
« on: February 01, 2010, 01:32:44 am »
Yes.

7
Window / Crash error with Windows Vista / Visual Studio 2008
« on: January 31, 2010, 07:43:19 pm »
Hi,

Is says:

Unhandled exception at 0x045e1300 in Game.exe: 0xC0000005: Access violation.

The call stack is:

   045e1300()   
    atioglxx.dll!690d80e2()    
    [Frames below may be incorrect and/or missing, no symbols loaded for atioglxx.dll]   
    atioglxx.dll!6908d2b5()    
    atioglxx.dll!6908d165()    
    atioglxx.dll!6908227c()    
    atioglxx.dll!6907b0ff()    
    atioglxx.dll!6907b055()    
    atioglxx.dll!6907b18f()    
    Game.exe!sf::RenderTarget::Clear()  + 0x17a bytes   
    0024f90c()   
    kernel32.dll!76344911()    
    ntdll.dll!77c8e4b6()    
    ntdll.dll!77c8e489()    

Please let me know if you need more information.

Nicolas.

8
Window / Crash error with Windows Vista / Visual Studio 2008
« on: January 31, 2010, 05:25:00 pm »
Many thanks, Laurent!

The line which is the error is : App.Clear();

I don't have idea of what can be.

Thanks again,
Nicolas.

9
Window / Crash error with Windows Vista / Visual Studio 2008
« on: January 30, 2010, 06:10:15 pm »
Hi,

I followed all the instructions to setup Visual Studio 2008 and the project to link the static libraries,

the release mode to the release libraries:
sfml-system-s.lib sfml-graphics-s.lib sfml-window-s.lib sfml-audio-s.lib sfml-network-s.lib

debug mode:
sfml-system-s-d.lib sfml-graphics-s-d.lib sfml-window-s-d.lib sfml-audio-s-d.lib sfml-network-s-d.lib

The project complies successfully but it crashes when it runs: saying "Game.exe stopped working".

Any help would be appreciated.

Thanks in advance,
Nicolas.


The code is:
(it also doesn't work with the first example of Window tutorial).

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


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

    // Start game loop
    while (App.IsOpened())
    {
        // Process events
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            // Close window : exit
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }

        // Clear screen
        App.Clear();

        // Draw predefined shapes
        App.Draw(sf::Shape::Line(10, 10, 710, 100, 15, sf::Color::Red));
        App.Draw(sf::Shape::Circle(200, 200, 100, sf::Color::Yellow, 10, sf::Color::Blue));
        App.Draw(sf::Shape::Rectangle(350, 200, 600, 350, sf::Color::Green));

        // Build a custom convex shape
        sf::Shape Polygon;
        Polygon.AddPoint(0, -50,  sf::Color(255, 0, 0),     sf::Color(0, 128, 128));
        Polygon.AddPoint(50, 0,   sf::Color(255, 85, 85),   sf::Color(0, 128, 128));
        Polygon.AddPoint(50, 50,  sf::Color(255, 170, 170), sf::Color(0, 128, 128));
        Polygon.AddPoint(0, 100,  sf::Color(255, 255, 255), sf::Color(0, 128, 128));
        Polygon.AddPoint(-50, 50, sf::Color(255, 170, 170), sf::Color(0, 128, 128));
        Polygon.AddPoint(-50, 0,  sf::Color(255, 85, 85),   sf::Color(0, 128, 128));

        // Define an outline width
        Polygon.SetOutlineWidth(10);

        // Disable filling and enable the outline
        Polygon.EnableFill(false);
        Polygon.EnableOutline(true);

        // We can still use the functions common to all SFML drawable objects
        Polygon.SetColor(sf::Color(255, 255, 255, 200));
        Polygon.Move(300, 300);
        Polygon.Scale(3, 2);
        Polygon.Rotate(45);

        // Draw it
        App.Draw(Polygon);

        // Finally, display the rendered frame on screen
        App.Display();
    }

    return EXIT_SUCCESS;
}

Pages: [1]
anything