Re: XForms: Compile DESIGNER output files?

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 17 Jul 97 12:52:34 PDT

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

> As a newbie, I wanted to use designer. I created a toy program. I got
> three output files named like "foo.c", "foo_cb.c" and "foo_main.c". Now
> how do I combine them into an executable? When I compiled them
> separately I get a repetitive parse error in "foo.c" in the
> "fl_set_object_callback" statement.

What is the statement, exactly?

What is the error you receive, exactly.

You can use

gcc -o foo foo*.c -lforms -lX11 -lm

to compile and link all in one step. Works for me.

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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/