This is the Makefile and asySimple.cxx file
from $(SDRC_INSTL)/oidev/examples/cmd-async. The file has been simplified and
renamed as "my_command.cc".
To use these files:
- Copy
them to one of your sub-directories.
- Start
I-DEAS (not I-DEAS NX).
- In
the Prompt window, type "oaxx start xterm" to start an xterm
window (the SDRC_INSTL environment variable will be set automatically).
- Change
to the sub-directory where you copied the files.
- Type
"make" to compile the program.
- Type
"setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/arch/apps/ideas9/oirun/lib:/usr/arch/apps/ideas9/orbix/lib
- Type
"./my_command" to execute the program.
- Type
"/file import". This command will be sent by the program to
I-DEAS. This particular command is
the same as selecting from the menu: File->Import. To find out what other commands are
available, turn on the menu mnemonics: (Options->Menus On;
Options->Preferences->Menus->Mnemonics Display on)
- Type
"quit" to exit the program.
Makefile
my_command.cc
Makefile_for_X_Windows