XForms: just a question

Dick Middleton (dick@sqf.hp.com)
Tue, 21 Apr 1998 08:44:57 +0100

# To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> The compilation line is :
> gcc -I/usr/X11R6/include -g -o file file.c -I~/xforms/ -lforms
> -I/usr/openwin/share/include/ -lX11 -lm

> and the message error is :
> ld:cannot open -lxforms : no such file or directory

You probably need a -L directive to tell the compiler where to find the forms
library. e.g. -L~/xforms/

It might help if you installed xforms using make install. This puts the
include files and libraries in standard places so you don't need these
directives.

Dick

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

Dick Middleton
Phone: +44 131-331 7530
Fax: +44 131-331 7443 ( )
email: dick@sqf.hp.com ( )
( )
( ) . ~ ~ ~ ~~ .
( ) _______
( ) |
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring
_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/