Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: Client, Configuration: Debug Win32 ------
- 1> Main.cpp
- 1>Main.obj : error LNK2019: unresolved external symbol "public: static int __cdecl Fl::run(void)" (?run@Fl@@SAHXZ) referenced in function _main
- 1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Group::begin(void)" (?begin@Fl_Group@@QAEXXZ) referenced in function _main
- 1>Main.obj : error LNK2019: unresolved external symbol "public: void __thiscall Fl_Group::end(void)" (?end@Fl_Group@@QAEXXZ) referenced in function _main
- 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
- 1>Main.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Fl_Window::~Fl_Window(void)" (??1Fl_Window@@UAE@XZ) referenced in function _main
- 1>Main.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall Fl_Window::show(void)" (?show@Fl_Window@@UAEXXZ) referenced in function _main
- 1>C:\Users\user\documents\visual studio 2012\Projects\TalkToMe\Debug\Client.exe : fatal error LNK1120: 6 unresolved externals
- ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- #include <Windows.h>
- using namespace std;
- #include "FL\Fl.H"
- #include "FL\Fl_Window.H"
- #define WIDTH 700
- #define HEIGHT 500
- int main()
- {
- Fl_Window win(WIDTH, HEIGHT, "TalkToMe");
- win.begin();
- win.end();
- win.show();
- return Fl::run();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement