Bug Visual C++
TheYoungGeek43
Messages postés
88
Date d'inscription
Statut
Membre
Dernière intervention
-
TheYoungGeek43 Messages postés 88 Date d'inscription Statut Membre Dernière intervention -
TheYoungGeek43 Messages postés 88 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
J'ai un soucis quand je crée une application sur Visual C++ 2010 express et que je lance l'application la console me met un message d'erreur
Comment je peut faire pour plus avoir se bug
PS1 : ça me le fait même quand je fait un Hello World !
PS2: Si un sujet et pareil c'est qu'il ne ma pas fait réparer se bug ça fait plus de 1semaine que je cherche
J'ai un soucis quand je crée une application sur Visual C++ 2010 express et que je lance l'application la console me met un message d'erreur
1>main.obj : error LNK2019: symbole externe non résolu "public: virtual __thiscall sf::RenderWindow::~RenderWindow(void)" (??1RenderWindow@sf@@UAE@XZ) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: void __thiscall sf::Window::display(void)" (?display@Window@sf@@QAEXXZ) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: void __thiscall sf::RenderTarget::draw(class sf::Drawable const &,class sf::RenderStates const &)" (?draw@RenderTarget@sf@@QAEXABVDrawable@2@ABVRenderStates@2@@Z) référencé dans la fonction _main
1>main.obj : error LNK2001: symbole externe non résolu "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)
1>main.obj : error LNK2019: symbole externe non résolu "public: void __thiscall sf::RenderTarget::clear(class sf::Color const &)" (?clear@RenderTarget@sf@@QAEXABVColor@2@@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: __thiscall sf::Color::Color(unsigned char,unsigned char,unsigned char,unsigned char)" (??0Color@sf@@QAE@EEEE@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: void __thiscall sf::Window::close(void)" (?close@Window@sf@@QAEXXZ) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: bool __thiscall sf::Window::pollEvent(class sf::Event &)" (?pollEvent@Window@sf@@QAE_NAAVEvent@2@@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: bool __thiscall sf::Window::isOpen(void)const " (?isOpen@Window@sf@@QBE_NXZ) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: void __thiscall sf::Shape::setFillColor(class sf::Color const &)" (?setFillColor@Shape@sf@@QAEXABVColor@2@@Z) référencé dans la fonction _main
1>main.obj : error LNK2001: symbole externe non résolu "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)
1>main.obj : error LNK2019: symbole externe non résolu "public: __thiscall sf::CircleShape::CircleShape(float,unsigned int)" (??0CircleShape@sf@@QAE@MI@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: __thiscall sf::RenderWindow::RenderWindow(class sf::VideoMode,class sf::String const &,unsigned int,struct sf::ContextSettings const &)" (??0RenderWindow@sf@@QAE@VVideoMode@1@ABVString@1@IABUContextSettings@1@@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@QAE@III@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@QAE@PBDABVlocale@std@@@Z) référencé dans la fonction _main
1>main.obj : error LNK2019: symbole externe non résolu "public: virtual __thiscall sf::Shape::~Shape(void)" (??1Shape@sf@@UAE@XZ) référencé dans la fonction "public: virtual __thiscall sf::CircleShape::~CircleShape(void)" (??1CircleShape@sf@@UAE@XZ)
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: symbole externe non résolu _WinMain@16 référencé dans la fonction ___tmainCRTStartup
1>C:\Users\FamilleMazet\documents\visual studio 2010\Projects\Game\Debug\Game.exe : fatal error LNK1120: 17 externes non résolus
Comment je peut faire pour plus avoir se bug
PS1 : ça me le fait même quand je fait un Hello World !
PS2: Si un sujet et pareil c'est qu'il ne ma pas fait réparer se bug ça fait plus de 1semaine que je cherche
A voir également:
- Bug Visual C++
- Visual c++ 2019 - Guide
- Visual petanque - Télécharger - Sport
- Visual paradigm - Télécharger - Gestion de données
- Visual watermark - Télécharger - Photo & Graphisme
- Visual basic - Télécharger - Langages
2 réponses
'lut, tu utilises la SFML mais visiblement tu n'as pas lu le tutoriel pour s'en servir avec VC++...
Tu as manqué l'étape de l'ajout des fichiers .lib.
Tu as manqué l'étape de l'ajout des fichiers .lib.