CONVERT FROM UIM/X to MOTIF

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
CONVERT FROM UIM/X to MOTIF

Submitted by ehudn on Sat, 03/14/2009 - 13:13.

Do somone knows , what is the best and fastest tool to convert from old UIM/X code to MOTIF ( OpenMotif 2.3)
and is it a FREEWARE of SHAREWARE.

Thanks

Tue, 03/24/2009 - 19:42#1

Tue, 03/24/2009 - 19:42#1

Mark

Re: CONVERT FROM UIM/X to MOTIF

Hi,

Not sure what you are exactly asking... The code generated by older versions of UIMX is Motif 1.2.x based. But that code should (more or less) just compile and run with Motif 2.x.

The only notable exception here is if you used a Motif addon library that was built with Motif 1.2. There was a major change in the internal data structures of Motif with Motif 2.1. Consequently, most Motif libraries (most notable XRT) needed to be recompiled with Motif 2.1. If this is your situation, then you should be able to match your generated Motif code with a newer version of the widget library and everything should work.

Did you use the UIMX convenience library? If that is your problem, then you really have no choice but to purchase a new version of UIMX and get an updated copy of that library. Contact sales@ics.com for a quote.

Mark

 

 

Fri, 03/27/2009 - 17:09#2

ehudn

Re: CONVERT FROM UIM/X to MOTIF

Hi Mark ,

Thanks .

I have an old genrated code of UIMX on IBM AIX and I want to run it in Linux . The code has *.prj and *.i files as well and uses UxXt.h
( an old version that was ran with Motif 1.2 ) and swidget . It compiles o.k. on Linux but do not link with Motif 2.1 on Linux.

Do you have any idea ?

Thanks

 

Fri, 03/27/2009 - 19:55#3

Fri, 03/27/2009 - 19:55#3

Mark

Re: CONVERT FROM UIM/X to MOTIF

Hi,

Your primary problem here is going to be that you need the UIMX Convenience library for Linux. That library is only available with a new Linux license to UIMX.

Removing the dependency on SWIDGETS (i.e. the UIMX convenience library) would be a painful process....

It is good that you have both .prj and .i! Usually people tend to misplace the ".prj" and then they run into a bunch of problems when they try to read the .i files back in. Your best bet is to acquire the Linux version of UIMX and then (if necessary) go through the 2.x to 3.x conversion process described at: http://www.ics.com/support/docs/

To get a quote on the Linux UIMX, you can send email to sales@ics.com.

Regards,

Mark