[VisualStudio + SFML] Cannot find or open the PDB file
Bonjour à tous,
Je débute avec VisualStudio (2010) et je rencontre un problème lors de la compilation d'un programme on ne peut plus simple utilisant la SFML.
Ici le main.cpp :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| #include <SFML/Graphics.hpp>
int main()
{
// Create the main window
sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
// Start the 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();
// Update the window
App.Display();
}
return EXIT_SUCCESS;
} |
Voici ce que j'ai lors de la génération du projet :
Citation:
1>------ Début de la génération*: Projet*: Test, Configuration*: Debug Win32 ------
1>La génération a démarré 16/04/2011 12:33:31.
1>InitializeBuildStatus:
1> Création de "Debug\Test.unsuccessfulbuild", car "AlwaysCreate" a été spécifié.
1>ClCompile:
1> main.cpp
1>Link:
1> LINK : C:\Users\Romain\Documents\Visual Studio 2010\Projects\Test\Debug\Test.exe introuvable ou non généré par la dernière édition de liens incrémentielle*; édition de liens complète en cours
1> Test.vcxproj -> C:\Users\Romain\Documents\Visual Studio 2010\Projects\Test\Debug\Test.exe
1>FinalizeBuildStatus:
1> Suppression du fichier "Debug\Test.unsuccessfulbuild".
1> Mise à jour de l'horodatage "Debug\Test.lastbuildstate".
1>
1>La génération a réussi.
1>
1>Temps écoulé 00:00:16.86
Cependant comme il fallait s'en douter ça ne marche pas :
http://img710.imageshack.us/img710/6862/capturedyl.png
Voici ce que me dit le débogueur :
Citation:
'Test.exe'*: Chargé 'C:\Users\Romain\Documents\Visual Studio 2010\Projects\Test\Debug\Test.exe', Les symboles ont été chargés.
'Test.exe'*: Chargé 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Test.exe'*: Chargé 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Test.exe'*: Chargé 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Test.exe'*: Chargé 'C:\Users\Romain\Documents\Visual Studio 2010\Projects\Test\Debug\sfml-window-d.dll', Cannot find or open the PDB file
Le programme '[3884] Test.exe: Natif' s'est arrêté avec le code -1072365566 (0xc0150002).
Je ne comprend pas les premières lignes mais j'ai bien vérifié et le fichier sfml-window-d.dll se trouve bien dans le dossier spécifié…
Je tiens à préciser que j'ai moi même recompilé la SFML par VS2010 comme préconisé dans les forum de la SFML, ça joue peut être ?
Voilà, j'éspère que j'ai été assez clair dans mes explications :)
Merci d'avance !