Bonsoir, tout le monde,
Bon voila je fais actuellement un programme en C++/OpenGL qui utilise la SDL sous Visual C++ 2010 Express . Pourtant , j'ai un probl�me : Lors de la compilation,
- Dans la section "C / C++ => G�n�ration de code", j'ai mis "Biblioth�que runtime" � "DLL multithread (/MD)"
- Dans la section "C/C++ => Avanc�", s�lectionnez "Compilation sous" et j'ai mis la valeur "Compiler comme code C (/TC)" (sinon visual vous compilera votre projet comme �tant du C++).
- Dans la section "Editeur de liens => Entr�e", j'ai modifi� la valeur de "D�pendances suppl�mentaires" pour y ajouter "SDL.lib SDLmain.lib"
- Dans la section "Editeur de liens => Syst�me", j'ai modifi� la valeur de "Sous-syst�me" et mettez-la � "Windows" (capture ci-dessous).


main.obj : error LNK2019: symbole externe non r�solu _FSOUND_Close@0 r�f�renc� dans la fonction _SDL_main
main.obj : error LNK2019: symbole externe non r�solu _FSOUND_SetVolume@8 r�f�renc� dans la fonction "void __cdecl InitFMod(void)" (?InitFMod@@YAXXZ)
main.obj : error LNK2019: symbole externe non r�solu _FSOUND_Init@12 r�f�renc� dans la fonction "void __cdecl InitFMod(void)" (?InitFMod@@YAXXZ)
math3D.obj : error LNK2019: symbole externe non r�solu __imp___CrtDbgReportW r�f�renc� dans la fonction "public: char const & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >::operator*(void)const " (??D?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDXZ)
souris.obj : error LNK2001: symbole externe non r�solu __imp___CrtDbgReportW
textures.obj : error LNK2001: symbole externe non r�solu __imp___CrtDbgReportW
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Sample_Free@4 r�f�renc� dans la fonction "public: __thiscall CSon::~CSon(void)" (??1CSon@@QAE@XZ)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Sample_Load@20 r�f�renc� dans la fonction "public: void __thiscall CSon::Charger(int)" (?Charger@CSon@@QAEXH@Z)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_PlaySound@8 r�f�renc� dans la fonction "public: void __thiscall CSon::Jouer(void)" (?Jouer@CSon@@QAEXXZ)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Stream_Close@4 r�f�renc� dans la fonction "public: __thiscall CMusique::~CMusique(void)" (??1CMusique@@QAE@XZ)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Stream_Stop@4 r�f�renc� dans la fonction "public: __thiscall CMusique::~CMusique(void)" (??1CMusique@@QAE@XZ)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Stream_Open@16 r�f�renc� dans la fonction "public: void __thiscall CMusique::Charger(int)" (?Charger@CMusique@@QAEXH@Z)
sons.obj : error LNK2019: symbole externe non r�solu _FSOUND_Stream_Play@8 r�f�renc� dans la fonction "public: void __thiscall CMusique::Jouer(void)" (?Jouer@CMusique@@QAEXXZ)
I:\Documents ans setting\Visual Studio 2010\Projects\SiteNaturel\Debug\SiteNaturel.exe : fatal error LNK1120: 11 externes non r�solus
========== G�n�ration*: 0 a r�ussi, 1 a �chou�, 0 mis � jour, 0 a �t� ignor� ==========
Pourriez-vous me dire d'ou viennent ces erreurs et comment les corriger?