Re: XForms: Compile DESIGNER output files?

Steve Lamont (
Thu, 17 Jul 97 12:52:34 PDT

To subscribers of the xforms list from (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.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: