I am in a freshman c++ programming course at Tx A&M.  We are using fltk for a 
project.  I can use everything fine at the lab but I'm trying to set up on my 
home computer using VS2012.

I watched this tutorial and tried to use with current system:

http://seriss.com/people/erco/fltk-videos/fltk-ms-vs-build.html

The build went fine and I used the same command line statements from video in 
my VS.  I tried to build this simple fltk project as a test:

#include <FL/Fl.H>
#include <FL/Fl_Window.H>

int main()
{
        Fl_Window win(720, 486);
        win.show();
        return Fl::run();
}

and got these errors:

1>------ Build started: Project: FLTKtest, Configuration: Release Win32 ------
1>  Source.cpp
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual void 
__thiscall Fl_Window::show(void)" (?show@Fl_Window@@UAEXXZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: virtual 
__thiscall Fl_Window::~Fl_Window(void)" (??1Fl_Window@@UAE@XZ)
1>Source.obj : error LNK2001: unresolved external symbol "public: __thiscall 
Fl_Window::Fl_Window(int,int,char const *)" (??0Fl_Window@@QAE@HHPBD@Z)
1>Source.obj : error LNK2001: unresolved external symbol "public: static int 
__cdecl Fl::run(void)" (?run@Fl@@SAHXZ)
1>C:\Users\Mine\Desktop\CSCE121-Working folder\FLTKtest\Release\FLTKtest.exe : 
fatal error LNK1120: 4 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Can somebody help me with better install instructions for VS2012?

Thanks


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to