This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

http://lesstif.sourceforge.net/INSTALL.html#compile_Windows


> Windows
>
> On windows using Cygwin, U/WIN or Interix, LessTif must be built as
> static libraries.  Because, one of the biggest issues with X on Win32 is
> the moronic DLL format. Specifically - it is not possible to export
> data from a Win32 DLL in a form that can be used to statically
> initialize another global variable. Data access from a DLL requires at
> least one pointer indirection, and hence executable code. This is why
> X11R6 doesn't have DLLs for Xt/Xmu/Xaw (and Motif) on Win32.
>
Not exactly true on Cygwin anymore because of the following hack:

http://www.cygwin.com/ml/cygwin-xfree/2003-10/msg00173.html

I am still trying to shake out a working lesstif DLL from this, but I
thought I would ask two questions that might help speed this up.

Does anyone remember what variables specifically this effects?  Is
_XtInherit() the only one?

As an intermediate step, I am trying a static lesstif build with the new
shared Xt/Xmu, etc.  I am getting the followin message on startup of an
application that previously worked fine:

Warning: XmManager ClassInitialize: XmeTraitSet failed

Error: attempt to add non-widget child "DropSiteManager" to parent "he"
which supports only widgets

Still digging in lesstif source to find out what this means and where to
go from here, but any comments/suggestions would be greatly appreciated.

Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]