>
> On 20 Feb 2010, at 22:15, Peter Mileff wrote:
> > The reason I use the FLTK-2 is that the fltk-1.3 does not compiled
> > for me in Win32. I tried with mingw, but the make gived an error.
>
> That's very odd: do you know what revision of fltk-1.3 you were
> using? One of the weekly tarballs? Or a checkout from svn?
>
> FWIW, I use fltk-1.3 with mingw much of the time and never have any
> issues; I think Greg mainly uses VS2005 and he hasn't reported any
> issues.
>
> What build process did you follow? For VS, using the IDE files really
> should Just Work, and for mingw, I'd recommend using the Msys shell
> and just running the conventional "configure ; make ; make install"
> sequence of yore.
>
> That's certainly what I do...!

Yes, I know. I use the fltk-1.3.x-r7100.tar.gz. The building process was the 
following:

1. Trying to use mingw to compile fltk. I copy the mingw Makefile and 
makeinclude to the root of the source and run the mingw32-make.exe. I did not 
use cygwin :-(, so I think that was the problem, because without cygwin 
configure script cannot be run.

2. Trying to build fltk using VisualStudio2005. I used the given project file: 
fltk-1.3.x-r7100\ide\vc2005\

Firstly there were "missing include" errors. For example the project needs the 
Cairo library, but my Visual Studio do not contained Cairo. I downloaded from 
GTK+ web site, and copied the necessary files to my VisualStudio.

Secondly I had to copy the FLTK includes to my VisualStudio. After that the 
source compiled successfully, but linking did not worked. There work 5 linker 
error. :-( For example:

fltkd.lib(Fl_Preferences.obj) : error LNK2019: unresolved external symbol 
"public: class Fl_Tree_Item * __thiscall Fl_Tree::add(char const *)" 
(?...@fl_tree@@QAEPAVFl_Tree_Item@@p...@z) referenced in function "public: char 
__thiscall Fl_Preferences::copyTo(class Fl_Tree *)" 
(?cop...@fl_preferences@@QAEDPAVFl_Tree@@@Z)

But I am not unhappy. I think this project is great, and I will use the working 
fltk-2.0.x-r6970 version.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to