yassine wrote:
> Thanks a lot :D. I added the following files [..]
> and the utf error disappear.

        Great.

> But now I get this last error :
> Linking CXX executable ../bin/fluid.exe
> ./bin/libfltk.a(Fl.obj):Fl.cxx:(.text+0x3d58): undefined reference to 
> `_trackmouseev...@4'

        Mmm, that's OS specific stuff.

        In normal Microsoft files, that would be defined in comctl32.lib
        (I think).

        I'm guessing that can be solved by tweaking this section
        of the CMakeLists.txt in the main fltk directory:

---- snip
IF(MINGW)
  ADD_DEFINITIONS(-DWIN32)
  SET( FLTK_PLATFORM_DEPENDENT_LIBS ole32 uuid wsock32 gdi32 comdlg32)
ENDIF(MINGW)
---- snip

        I'd suggest adding comctl32 after uuid, so that it reads:

---- snip
IF(MINGW)
  ADD_DEFINITIONS(-DWIN32)
  SET( FLTK_PLATFORM_DEPENDENT_LIBS ole32 uuid comctl32 wsock32 gdi32 comdlg32)
ENDIF(MINGW)
---- snip

        I'm assuming MSYS uses the MINGW section of the CMakefile.txt.
        I'm doing a lot of educated guessing here..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to