> >
> > On Mar 4, 2007, at 4:21 PM, Mathew Lougher wrote:
> >
> > > I'm using express edition and I have installed the Platform
> > > libraries seperately, which removed the "windows.h error" and then
> > > I got these errors instead. Perhaps I missed a step somewhere?
> >
> > It should work like this: download the latest version from fltk.org,
> > unpack it, open the fltk.sln solution file in the vc2005 directory.
> > Activate the "demo" project and press F5. Answer "yes" to compile and
> > run. Nothing else should be needed.
> >
> > Your compiler line is missing essential MSWindows libraries that
> > contain the bindings to the WIN32 functions. I can not imagine how
> > those settings could have gone missing.
> >
> > ----
> > http://robowerk.com/
> >
> >
>
> I found an article elsewhere with similar errors, which suggested adding the 
> following files: winmm.lib, rpcrt4.lib, kernel32.lib, user32.lib, gdi32.lib, 
> ole32.lib, oleaut32.lib, comctl32.lib, comdlg32.lib, uuid.lib, advapi32.lib, 
> shell32.lib.  So I have manually added those to the linker input lines of all 
> the projects.
> In addition, cube, CubeView and shape needed "opengl32.lib"
>
> editor has the following errors (53 total):
> 1>fltkdlld.lib(fltkdlld.dll) : error LNK2005: "public: void __thiscall 
> Fl_Text_Buffer::text(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) 
> already defined in fltkd.lib(Fl_Text_Buffer.obj)
> 1>fltkdlld.lib(fltkdlld.dll) : error LNK2005: "public: __thiscall 
> Fl_Text_Buffer::Fl_Text_Buffer(int)" (??0Fl_Text_Buffer@@[EMAIL PROTECTED]@Z) 
> already defined in fltkd.lib(Fl_Text_Buffer.obj)
> ...
> 1>fltkdlld.lib(fltkdlld.dll) : error LNK2005: "public: virtual __thiscall 
> Fl_Text_Editor::~Fl_Text_Editor(void)" (??1Fl_Text_Editor@@[EMAIL PROTECTED]) 
> already defined in fltkd.lib(Fl_Text_Editor.obj)
> 1>fltkdlld.lib(fltkdlld.dll) : error LNK2005: "public: static int __cdecl 
> Fl::run(void)" ([EMAIL PROTECTED]@@SAHXZ) already defined in fltkd.lib(Fl.obj)
> 1>../test/editord.exe : fatal error LNK1169: one or more multiply defined 
> symbols found
>
> fltkdll has the following error:
> fatal error LNK1181: cannot open input file 'fltkd.lib'

Ok I fixed these errors, I had added fltkd.lib to editor and fltkdll, which 
didn't need them. fltkdll needed "opengl32.lib" and then all built
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to