Hi,
I tried to compile my FLTK app with mingw and got some strange (at least for
me) errors.
The strange thing is that I've had this error long time ago and spend hours
trying to find out what goes wrong, then it "suddenly" worked again for
months and now I get the same error again.
I just thought maybe someone encountered this problem and knows what's going
wrong before I start searching for hours with the solution at my
fingertips. ;)
My app compiles fine under Linux, but I get the following trying to compile
it with msys on win32 and when I try cross-compiling it under linux :
(other fltk-apps seem to compile fine within these environments)
------ snip -----
if i386-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/cross/include
-I/opt/cross/include/FL/images -mwindows -DWIN32 -mno-cygwin
-DDATADIR='/opt/cross/share' -g -O2 -Wall -O2 -DNDEBUG -MT
mchess-mchess.o -MD -MP -MF ".deps/mchess-mchess.Tpo" -c -o mchess-mchess.o
`test -f 'mchess.cpp' || echo './'`mchess.cpp; then
mv -f ".deps/mchess-mchess.Tpo" ".deps/mchess-mchess.Po"; else
rm -f ".deps/mchess-mchess.Tpo"; exit 1; fi
In file included
from
/opt/cross/lib/gcc/i386-mingw32msvc/3.4.5/../../../../i386-mingw32msvc/include/objbase.h:73,
from
/opt/cross/lib/gcc/i386-mingw32msvc/3.4.5/../../../../i386-mingw32msvc/include/ole2.h:9,
from
/opt/cross/lib/gcc/i386-mingw32msvc/3.4.5/../../../../i386-mingw32msvc/include/windows.h:114,
from /opt/cross/include/FL/Fl_Preferences.H:32,
from /opt/cross/include/FL/Fl_File_Chooser.H:41,
from mainWindow.h:25,
from mchess.cpp:23:
/opt/cross/lib/gcc/i386-mingw32msvc/3.4.5/../../../../i386-mingw32msvc/include/objidl.h:95:
error: expected unqualified-id before '/' token
-------- snip -------
I hope I didn't write to much nonsense ... just woke up, please be gentle
with me ;)
Anyway, thank you for reading my long posting after all,
mike
_______________________________________________
fltk mailing list
[EMAIL PROTECTED]
http://lists.easysw.com/mailman/listinfo/fltk