I'm using ubuntu 9.10 as OS and i installed a toolkit of widgets: openmotif.
The packages are: libmotif3, libx11-dev, libxp-dev, libxt-dev, x-dev. How can I compile a program including the MOTIF toolkit?
I tried:
gcc <my_file.c> -L /usr/lib/
It doesn't work
I don't know very much the linking process of C, and I'm not an expert of GUI creared by this wonderful programming language, but i want to learn.
Someone help this poor newbie! Thanks for all answer!
I wonder what does that mean? What do the error messages say?
How does your code look like?
I guess you include Xm.h and/or XmAll.h header files?
Those should be located in /usr/include/Xm
You'll want to check the Programmer's Guide too: Open Motif - Documentation Supplement
I solved! I have to add -lXm (as you said) and -lXt -lX11
I can compile the programs now.
I'm off-topic, but i did not open a new thread....
Where can I found documentation about motif? I downloaded the manuals, and i'm learning some ancients tutorial that I found; but I havn't a complete guide.
Where you learned motif? Can you suggest me a book
there are some design aids for building the interface:
there is Xdesigner which used to come with the
Sun Studio, though i never got it to work on linux.
and dtcreator used to exist on solaris for
the CDE environment.
but all pretty much ignored.
I gave up on X because designing interfaces is boring without a graphical tool.
I can recommend fltk which has fluid as a lightweight X environment
for knocking up nice little apps without massive Qt GTK dependencies.