I'm probably not the one to help with this since I know nothing
about cmake and don't have it here.
However, if you're willing to indulge me, let's try something.
It would appear that when fltk.lib is being constructed, it's
missing some modules that need to be built into it, and is causing
the link of fluid to fail.
In the case of these messages, it would appear the fl_utf8.cxx
source file is not getting built into fltk.lib, which would
explain errors like these:
./bin/libfltk.a(Fl_Text_Editor.obj): .. undefined reference to `fl_utf8len'
./bin/libfltk.a(Fl_Text_Buffer.obj): .. undefined reference to `fl_fopen'
I'm guessing cmake looks at src/CMakeList.txt to figure out
which source files get built into fltk.lib, and indeed that file
is missing fl_utf8.cxx in its definition of the 'CPPFILES'
at the top.
So I'd suggest:
1) Add fl_utf8.cxx to the definition of th CPPFILES
in the src/CMakeList.txt file, eg:
--- snip
SET(CPPFILES
fl_utf8.cxx <-- ADD THIS
Fl.cxx
Fl_Adjuster.cxx
Fl_Bitmap.cxx
--- snip
Then redo your cmake + make to see if that error message
regarding "reference to `fl_utf8len'" goes away.
It may fail with other errors, but let's just see if that
even affects the problem at all.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk