On Sun, 26 Feb, 2006 at 05:05PM +0100, Hans spake thus:
> james@email-addr-hidden-dot-dat.net wrote:
>
> >On Sun, 26 Feb, 2006 at 03:31PM +0100, Hans spake thus:
> >
> >
> >>Hi James,
> >>
> >>Can't get it to build. I'm running Debian testing/unstable with
> >>libforms1 libforms-bin libforms-dev installed. Greetz --Hans
> >>
> >>
> >
> >Gah! I'd hoped xforms stuff would be in a standard place on most
> >distros, since it doesn't work with pkg-config.
> >
> >Can you tell me the output of "locate forms.h" and "locate libforms"
> >on your system?
> >
> >
> /usr/X11R6/include/X11/forms.h
> /usr/X11R6/lib/libforms.a
> /usr/X11R6/lib/libforms.so
> /usr/X11R6/lib/libforms.so.1
> /usr/X11R6/lib/libforms.so.1.0
>
> HTH --Hans
It helps a lot. I've uploaded a version that should work on your
system and on mine. I'm not sure which of ours is the most usual (I'm
on gentoo), but hopefully there aren't any more variations on where
xforms might live outside of the usual.
If anyone knows a simple way to determine things ilke this in a
Makefile, let me know.
James
> >Thanks for trying it, and for bearing with me. Maybe I should have
> >gone with GTK+ after all. Or got my head around autotools.
> >
> >James
> >
> >
> >
> >>Here the error:
> >>
> >>athlon2500:/home/hans/arcangel-0.0.1# make
> >>gcc -std=c99 -O4 -c form.c
> >>form.c:3:19: error: forms.h: No such file or directory
> >>In file included from form.c:5:
> >>form.h:7: error: syntax error before '*' token
> >>form.h:8: error: syntax error before '*' token
> >>form.h:13: error: syntax error before 'FL_FORM'
> >>form.h:13: warning: no semicolon at end of struct or union
> >>form.h:17: error: syntax error before '*' token
> >>form.h:17: warning: type defaults to 'int' in declaration of 'quit'
> >>form.h:17: warning: data definition has no type or storage class
> >>form.h:18: error: syntax error before '*' token
> >>form.h:18: warning: type defaults to 'int' in declaration of 'dial'
> >>form.h:18: warning: data definition has no type or storage class
> >>form.h:19: error: syntax error before '}' token
> >>form.h:19: warning: type defaults to 'int' in declaration of 'FD_arcangel'
> >>form.h:19: warning: data definition has no type or storage class
> >>form.h:21: error: syntax error before '*' token
> >>form.h:21: warning: type defaults to 'int' in declaration of
> >>'create_form_arcangel'
> >>form.h:21: warning: data definition has no type or storage class
> >>form.c:7: error: syntax error before '*' token
> >>form.c:8: warning: return type defaults to 'int'
> >>form.c: In function 'create_form_arcangel':
> >>form.c:9: error: 'FL_OBJECT' undeclared (first use in this function)
> >>form.c:9: error: (Each undeclared identifier is reported only once
> >>form.c:9: error: for each function it appears in.)
> >>form.c:9: error: 'obj' undeclared (first use in this function)
> >>form.c:10: error: 'fdui' undeclared (first use in this function)
> >>form.c:10: error: syntax error before ')' token
> >>form.c:12: warning: implicit declaration of function 'fl_bgn_form'
> >>form.c:12: error: 'FL_NO_BOX' undeclared (first use in this function)
> >>form.c:13: warning: implicit declaration of function 'fl_add_box'
> >>form.c:13: error: 'FL_FRAME_BOX' undeclared (first use in this function)
> >>form.c:14: warning: implicit declaration of function 'fl_set_object_color'
> >>form.c:14: error: 'FL_WHITE' undeclared (first use in this function)
> >>form.c:14: error: 'FL_COL1' undeclared (first use in this function)
> >>form.c:15: warning: implicit declaration of function 'fl_add_button'
> >>form.c:15: error: 'FL_NORMAL_BUTTON' undeclared (first use in this
> >>function)
> >>form.c:16: warning: implicit declaration of function
> >>'fl_set_button_shortcut'
> >>form.c:17: warning: implicit declaration of function
> >>'fl_set_object_boxtype'
> >>form.c:17: error: 'FL_BORDER_BOX' undeclared (first use in this function)
> >>form.c:19: warning: implicit declaration of function
> >>'fl_set_object_gravity'
> >>form.c:19: error: 'FL_SouthEast' undeclared (first use in this function)
> >>form.c:20: warning: implicit declaration of function
> >>'fl_set_object_callback'
> >>form.c:21: warning: implicit declaration of function 'fl_add_dial'
> >>form.c:21: error: 'FL_FILL_DIAL' undeclared (first use in this function)
> >>form.c:22: error: 'FL_DODGERBLUE' undeclared (first use in this function)
> >>form.c:25: warning: implicit declaration of function 'fl_set_dial_bounds'
> >>form.c:26: warning: implicit declaration of function 'fl_set_dial_value'
> >>form.c:27: warning: implicit declaration of function 'fl_set_dial_step'
> >>form.c:28: warning: implicit declaration of function 'fl_set_dial_return'
> >>form.c:28: error: 'FL_RETURN_ALWAYS' undeclared (first use in this
> >>function)
> >>form.c:29: warning: implicit declaration of function 'fl_end_form'
> >>make: *** [form.o] Error 1
> >>
> >>
> >>james@email-addr-hidden-dot-dat.net wrote:
> >>
> >>
> >>
> >>>Howdy peeps,
> >>>
> >>>arcangel is a very simple distortion jack-enabled effect. It sounds
> >>>warm and crunches nicely when you turn it up.
> >>>
> >>>If there was a competition for the simplest non-demo jack app, this
> >>>would probably win.
> >>>
> >>>http://www.dis-dot-dat.net/index.cgi?item=/code/arcangel/
> >>>
> >>>There's a demo mp3, too.
> >>>
> >>>If someone feels like playing a guitar through it for a new demo,
> >>>let me know. My playing isn't up to scratch. And I'd love to hear
> >>>a bass guitar through it...
> >>>
> >>>Thanks to all the people on the LAD list that made suggestions on
> >>>widget sets. It was much appreciated.
> >>>
> >>>In the end, I went with xforms because it was so simple and small,
> >>>although I might play with GTK at some point.
> >>>
> >>>James
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
>
-- "I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you." (By Vance Petree, Virginia Power)Received on Mon Feb 27 00:15:04 2006
This archive was generated by hypermail 2.1.8 : Mon Feb 27 2006 - 00:15:08 EET