|
|
> 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.
There are fixes in svn for this already, but that tarball seems to have
escaped with the badness in it...
> (On windows I can only pull tar files, I don't know of an
> SVN client for windows.)
The favoured gui version is TortoiseSVN from
http://tortoisesvn.net/downloads
But I actually prefer the free command line client from
http://www.sliksvn.com/en/download
Bothe are "annointed" in that they are linked to from tigris's svn
downloads page.
> 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.
No, you were right - the problem arises because fltk-1.3 no longer links
against the winsock DLL's by default... So we are correctly getting the
gethostname prototype but not linking it in at link time...
We don't need it anyway, so the easy thing is just to comment out all
refs to gethostname and carry on.
> 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.
It's not a VS issue - it breaks on *all* win32 builds... Broke for my
mingw builds too, and Albrecht's cygwin build... You'll find that
Albrecht has already checked in workarounds, and Matthias' is working on
a more correct solution for the longer term.
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
[ Direct Link to Message ] | |
|
| |