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.


Topics - DJuego

Pages: [1]
1
General / [SOLVED]Problem with SFML in VS2010 Debug
« on: March 25, 2012, 07:29:58 pm »
Hi!!!  This my first post. I am a lonely spanish dev.  Excuse that I am not too talker. I am ashamed for my very lacking English  :-X

In any case I am delighted to have found you. Thank you for being here and there. Yep! Thanks Laurent & Co. !

OpenGL o DirectX are too daunting for weak people like me. And this 'little' library seems to have a very well deliberate design. Elegant and simple. I am delighted.

However I hope the best will be the community. :-}

Ok. I have my first problem. :D
 
SFML 2.0 Snapshot (2012/03/25)=>LaurentGomila-SFML-24f8c35

I have built it with success (no errors) in MinGW (official) gcc-4.6.2 and VS2010. No problem. (CMake with default settings)

I can build (compile and link) this minimalist sample in debug and release mode in gcc and MSVC:

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

int main()
{
    sf::Window ventana;

    return EXIT_SUCCESS;
}

Everything was very easy. I was happy.  ;)

Now When I try run:

Works with gcc-4.6.2 debug (Codeblocks). Perfect!
Works with gcc-4.6.2 release (Codeblocks). Perfect!

Do not work with VS2010 debug. :( <- The problem is here.
Works with VS2010 release Perfect!

The Output:

Code: [Select]

'Mi_Primer_SFML_MVC2010.exe': Loaded 'P:\Proyectos\MiPrimerSFML\prj\Mi_Primer_SFML_MVC2010\Debug\Mi_Primer_SFML_MVC2010.exe', Symbols loaded.
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Mi_Primer_SFML_MVC2010.exe': Loaded 'P:\Proyectos\MiPrimerSFML\prj\Mi_Primer_SFML_MVC2010\Debug\sfml-window-d-2.dll', Symbols loaded.
The program '[6316] Mi_Primer_SFML_MVC2010.exe: Native' has exited with code -1073741811 (0xc000000d).


Preprocessor Definitions:
I tried SFML_DYNAMIC and SFML_STATIC. Same problem

Additional Dependencies:
sfml-window-d.lib;

Any idea? Thanks in advance!


My System:
Microsoft Visual Studio Ultimate (Universy License)
Windows 7 64b (Spanish).
8GB RAM
NVIDIA GeForce GT 220

Pages: [1]