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:
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
the man pages aren't too bad.
you will need to get used to trawling through the header files too.
there are lots of typedefs.
e.g: man XtIntervalId will say:
what the hell is the correct prototype for an XtInputCallbackProc? I hear you cry. So you need to
grep the header files until you find the typedef
Intrinsic.h on my BSD
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.
Unfortunately, I do not metrizable much English, but I have a big problem on programming using HTK, precisely because the command Hrest after having run this statement, an error appeared, the vFloors is illegible, although that it is the result of the command Hcompv.
I would like to help me find:... (0 Replies)
I have Jass Toolkit 4.2 for Solaris 10.
If I run #jass-execute -d secure.driver
and then enable certain services which were disabled by jass, such as ssh,
how do I incorporate those changes to jass so that when i rerun jass-execute secure-driver, it does not complain.
Any suggestions please,... (1 Reply)
Hello!
I'm trying to install the Globus Toolkit 4 on a Fedora 8 system.
The instructions I'm using to do so can be found here:
Chapter 1. 4.0.x quickstart
I'm at the Certificate Authorities point where I am supposed to sign the certificate though, and I'm having a bit of trouble that... (2 Replies)
How can i have a VB program use Unix technology to print to a Dazzle print server? In other words I have text files that I want to use a VB program I'm writing thats on our windows 2000 nt side print and move text to our Unix server to a Unix Dazzle print server? Also do I need to download any... (13 Replies)