Percy wrote:
>> Remember that VS10 (VS2010) is out too (or in beta I think). Might have to
>> test that, too.
>>
>> But does this mean that it is just this version? Could I maybe use an older
>> version that would suffice?
>
> I just tried version 1.1.10 and everything works fine. I'll stick with this
> for now. At least I've got something to do. Hopefully you can get the bug
> fixed soon so I can give that a test drive, too.
That's probably best, assuming you don't need the features of 1.3.x
(UTF8, etc).
FWIW, regarding getting fltk-1.3.x-r6985.tar.gz to build, I was able to
get all
72 to build successfully with these changes to the tar file, instead of
what I
posted previously:
1) Comment out the '#warning' at or around line 85 (same as
before)
2) Change the call to gethostname(name,79); call at or around
line 105 to instead read (This is different):
sprintf(name, "%.79s", getenv("COMPUTERNAME") ?
getenv("COMPUTERNAME") : "????" );
This is a CHEAP HACK to avoid gethostname() and the need to
link in wsock2 lib.
However, I wouldn't recommend this in code where user
control over this environment
variable is a problem.
3) Add the following line "return(uuidBuffer);" before the
closing brace
on the function Fl_Preferences::newUUID() (same as before):
---- snip
sprintf(uuidBuffer,
"%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X",
b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7],
b[8], b[9], b[10], b[11], b[12], b[13], b[14], b[15]);
#endif
return(uuidBuffer); // <-- ADD THIS
}
---- snip
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk