Percy wrote:
>> 1) Comment out the '#warning' at or around line 85
>>
>> 2) Add the following at the top to prevent an error about
>> gethostname():
>>
>> #include <Winsock2.h>
>>
>> 3) Add the following before the closing brace on the function
>> Fl_Preferences::newUUID() #2 or #3.
>
> I done this and most of them compiled. But I still have 15 that failed.
Yes, I can replicate that here too.. it's a mess alright.
Much of this seems related to recent mods to Fl_Preferences
which need to be rectified, if not already in SVN current.
(On windows I can only pull tar files, I don't know of an
SVN client for windows.)
My recommended inclusion of Winsock2.h might be wrong here..
I thought we were using wsock2 now, so either my #include is wrong,
or the linker options for many of the demos now need to link in
wsock2 libs that weren't doing that before.
The fact that fluid doesn't build due to that gethostname link error
means all apps dependent on fluid will fail as well (keyboard demo, etc)
There is probably a win32 call to get the local hostname without having
to include the entire wsock2 lib.
Let's see what the guys currently doing dev on Fl_Preferences
will reply. They'll really have to test with VS2008 to make
sure checkins work, as many people are using VS2008 now.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk