Albrecht,

Ok, you are right, I will and should change to FLTK 1.1.
Thank you for help. Keep up the good work! :-)


> Am 21.02.2010 18:20, Peter Mileff wrote:
> >>
> >> 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:
>
> Reading your description, you've had bad luck with your decisions.
> Please read the comments below.
>
> > 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.
>
> You should really install MSYS together with MinGW. That's not Cygwin,
> but it includes autoconf, so that you can run the configure script.
> The included MinGW (and other) Makefiles are outdated and not under
> development any more. With MSYS (and for full support some optional
> packages that can easily be installed), it works flawlessly.
>
> > 2. Trying to build fltk using VisualStudio2005. I used the given project 
> > file: fltk-1.3.x-r7100\ide\vc2005\
>
> Again, bad luck. The apparently "older" project files in ide\visualc
> are more up-to-date, and if you use them (and convert the files to
> your version of VS) then this ought to work OOTB.
>
> > Firstly there were "missing include" errors. For example the project needs 
> > the Cairo library, but my Visual Studio do not contained Cairo.
>
> I'm not using Visual Studio, but I think that there are different build
> versions included. Maybe the default has been set to Cairo (debug or
> release), but there are also debug and release versions w/o Cairo.
>
> > I downloaded from GTK+ web site, and copied the necessary files to my 
> > VisualStudio.
>
> I can't tell you anything about this.
>
> > 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)
>
> Unfortunately there's currently no one who can maintain the Visual
> Studio project files. Thus, you would have to add some source files
> yourself. We should really try to document this better. Thanks for
> your report. [If you want to try again: src\Fl_Table.cxx,
> src\Fl_Tree.cxx, and maybe one or two more. If you get problems,
> this is the place to ask.]
>
> > But I am not unhappy. I think this project is great, and I will use the 
> > working fltk-2.0.x-r6970 version.
>
> I _strongly_ recommend NOT to use FLTK 2.  FLTK 2 is not maintained
> any more, and the bug list is very long. If you would get problems
> later (and you will, trust me), there won't be anybody who can help
> you.
>
> Thus, for a new project, please use FLTK 1.1 (current stable version,
> using 8-bit characters, i.e. Windows Codepages or e.g. ISO-8859-1),
> or use the development version FLTK 1.3 that uses Unicode (UTF-8).
>
> You'll see that you will have much better support here in this forum.
>
> Sorry for the inconvenience, but if you try it, this will be worth
> the effort.
>
> Albrecht

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

Reply via email to