I have been trying to port a software package from 32-bit to 64-bit and I have run into problems
on the HP and SGI platforms. I was able to get Xmt compiled and was able to compile and link the
mockup program. However when I run the mockup program, I get the following errors printed to
the screen:
Warning: Cannot convert string "Top" to type XmtLayoutEdge
.
.
.
Warning: Cannot convert string "CIRCLE" to type ProgressStyle
(the complete info is in the attached file)
These warning also occur in the app I am porting. The mockup app runs and most of the widgets
work, but all of the XmtChooserTypes show up as a Radio Box. Also, all of the Progress Widgets
are the same.
I tracked the location of the printing of the warning statment above to a call in the code to
XtCreateWidget in WidgetType.c
To compile the program in 64bit, I modified the Xmt.tmpl program to point to 64-bit libraries and
add -64 on the SGI and +DA2.0W on the HP. This has worked very well in all other parts of my
application.
The really strange thing about this problem is that on both the SGI and the HP, compiling the
program in 32-bit mode works perfectly fine as far as mockup is concerned. For my app, I have
some issues to track down on the HP due to moving to a newer version of Xmt, but it works well
in general.
Please help me to compile these programs in 64-bit mode.
Thank you,
Harlan
Screen output from 64-bit SGI mockup