Hello FLTK-Team,
I had to fix some stuff to get all libraries compiled and linked in
MSVS 9 (Express Edition), so I thought I'd let you know.
In case that the information is needed, I'm on a 32-bit Windows XP SP2 platform.

At first in Window_fullscreen.cxx for Window::maximize it is checked
if __WIN32__ is defined, but the the projects fltk and fltkdll only
define WIN32, so adding __WIN32__ to the preprocessor defines fixes
that.
You might also want to use fltk::warning instead of #warning a few lines down.

For the release-configuration I changed the linker dependencies of the
resize-project from fltk.lib to fltk2.lib. It is already fine for the
debug-configuration.

For the debug-configuration I removed glaux.lib from the
fractals-project. I didn't have that and it compiled fine without it.

To get rid of many unresolved external symbols I added
WidgetAssociation.cxx to the fltk and fltkdll projects.

For the cairo_test-project you seem to not need the cairo.lib, as
removing it from the dependencies led to a successful build with the
release-configuration (it was already 'missing' in the
debug-configuration).

I added some explicit casting to conquer warnings and a
__declspec(dllimport) in run.cxx if _MSC_VER is defined for a warning
with BOOL WINAPI TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack);.

I didn't test the debug cairo-configuration nor the release
minsize-configuration yet.

-Alexander 'z33ky' Hirsch

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

Reply via email to