File: Readme

package info (click to toggle)
libforms 1.2.3-1.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,708 kB
  • ctags: 9,019
  • sloc: ansic: 97,669; sh: 11,156; makefile: 994
file content (41 lines) | stat: -rw-r--r-- 1,335 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
This dorectory contains a number of programs demonstrating the
usage and appearance of object classes in the XForms Library.
Note that these programs also serve as testing/QA programs, so
if you have a problem with a particular object, see if the same
object works in the demo program. On the other hand, if one of
the demo programs doesn't work you have rather likely found a
bug in XForms. Please report it!

If this directory was installed from the documentation package
for XForms of a distribution you have to modify and compile the
programs first before you can run them. This requires that the
developm,ent package is also installed.


1) cd into the fd subdirectory and run

     fdesign -convert *.fd


2) In the program you want to compile replace the line with

     #include "include/forms.h"

   by

     #include <forms.h>

3) Compile the program, typically it just needs

     gcc -o xyz xyz.c -lforms

   Some programs also need to be compiled with a C file from
   the fd subdirectory. This is usually simple to figure out:
   if a C file includes a header file from the fd subdirectory
   then you need to compile including the correspoding C file
   from the fd subdirectory.
   
OpenGL/Mesa demos may not work if you configured XForms to be
built without GL support (via the '--disable-gl' option of
'configure').