DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2000
Version: 2.0-current


fltk-2.0.x-r6140 did not crosscompiled for me (mingw, from ubuntu 64 bit)
But there is simple fix - add U32 and add -lgdi32 -lws2_32 -lole32 -luuid

1) U32 definition was missing. I added it by hand to config.h

2) libs where missing. I build programs now as:
586-mingw32msvc-g++ hello.cxx -o hello.win32.exe
`/home/DEVEL/packs/fltk2/cross_win32/bin/fltk2-config --libs --cxxflags`
-lgdi32 -lws2_32 -lole32 -luuid

To crossbuild I used command line:

./configure --build="i586-mingw32msvc" --host="i586-mingw32msvc" 
--target="i586-mingw32msvc"
--prefix="/home/DEVEL/packs/fltk2/cross_win32/" ; make

This syntax is imho not very clean, I hoped that --build alone would work.

This bug is related to #1560
http://www.fltk.org/str.php?L1560+P0+S-2+C0+I0+E0+M10+Qcross+compile


Link: http://www.fltk.org/str.php?L2000
Version: 2.0-current

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

Reply via email to