[XForms] Problem linking w/ xforms

Gayle C Roth Gayle.C.Roth at nasa.gov
Wed Jul 7 15:22:42 EDT 2004


Hi.

As I think I mentioned, I grabbed the binary of xforms, version 0.88.  I 
unpacked it, and currently I'm trying to build my GUI with the xforms 
shared library.  This is on OpenVMS 7.3-2.  I'm presently having problems 
linking -- getting unresolved references for FL_DISPLAY and FL_EVENT.  For 
FL_DISPLAY, forms.h is the only file that mentions it.  Here are the places 
in forms.h that mentions FL_DISPLAY and FL_EVENT:

---------------------------------------------------

#if !defined(FL_WIN32) || !defined(SHARED_LIB)
#   define FL_EXPORT extern
#else
#   ifdef MAKING_FORMS
#        define FL_EXPORT __declspec( dllexport ) extern
#   else
#        define FL_EXPORT __declspec( dllimport ) extern
#   endif                       /* MAKING_FORMS */
#endif /* FL_WIN32 */
...


FL_EXPORT Display *fl_display;

...


FL_EXPORT FL_OBJECT *FL_EVENT;

-----------------------------------------------------------------

Any idea what I need to do to get FL_DISPLAY and FL_EVENT recognized?

Thanks,
Gayle




More information about the Xforms mailing list