Advertisement
Guest User

Untitled

a guest
Sep 11th, 2012
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.51 KB | None | 0 0
  1. 1>------ Build started: Project: Client, Configuration: Debug Win32 ------
  2. 1>  Main.cpp
  3. 1>Main.obj : error LNK2019: unresolved external symbol "public: static int __cdecl Fl::run(void)" (?run@Fl@@SAHXZ) referenced in function _main
  4. 1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Group::begin(void)" (?begin@Fl_Group@@QAEXXZ) referenced in function _main
  5. 1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Group::end(void)" (?end@Fl_Group@@QAEXXZ) referenced in function _main
  6. 1>Main.obj : error LNK2019: unresolved external symbol "public: __thiscall Fl_Window::Fl_Window(int,int,char const *)" (??0Fl_Window@@QAE@HHPBD@Z) referenced in function _main
  7. 1>Main.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Fl_Window::~Fl_Window(void)" (??1Fl_Window@@UAE@XZ) referenced in function _main
  8. 1>Main.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall Fl_Window::show(void)" (?show@Fl_Window@@UAEXXZ) referenced in function _main
  9. 1>C:\Users\user\documents\visual studio 2012\Projects\TalkToMe\Debug\Client.exe : fatal error LNK1120: 6 unresolved externals
  10. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  11.  
  12.  
  13.  
  14.  
  15. #include <Windows.h>
  16. using namespace std;
  17.  
  18. #include "FL\Fl.H"
  19. #include "FL\Fl_Window.H"
  20.  
  21. #define   WIDTH    700
  22. #define   HEIGHT   500
  23.  
  24. int main()
  25. {
  26.     Fl_Window win(WIDTH, HEIGHT, "TalkToMe");
  27.  
  28.     win.begin();
  29.     win.end();
  30.  
  31.     win.show();
  32.  
  33.     return Fl::run();
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement