Re: XForms: drawing on my canvas with the mouse

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 19 Feb 98 17:10:02 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> my LD_LIBRARY PATH is:
>
> borg$ echo $LD_LIBRARY_PATH
> /opt/SUNWspro/lib:/opt/lib:/usr/lib:/usr/openwin/lib:/opt/dt/lib:/users/cs/amit/
> bin/lib
>
> but when I compile the sucker I use
> gcc -Wall -L/users/cs/rouse/fdesign/lib -lforms -lX11 -lm -lXaw -lXpm
^^^^^ don't need

The order probably should be

gcc ... -lforms -lXpm -lX11 -lm

> (and in /users/cs/rouse/fdesign/lib we have
> libforms.0.81.a libforms.a
> libforms.so libforms.so.0.81 , so I am compiling the libs directly
> into my app)
>
> HOWEVER! I noticed that in my forms.h it says:
> /*
> * forms.h $Revision: 0.75 $ $State: Beta $
> * $Date: 1995/07/15 21:46:52 $ $Author: zhao $
>
> I know this is old.. should I worry about switching?

Bingo!

Yes, there were significant API changes between 0.75 and 0.81.

You should either completely upgrade to 0.88 or stick with one version
-- *don't* intermix libraries and header files.

See the bottom of this and every email posted to this list for where
to fetch the latest and greatest library and tools version.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/