Products  | Support & Services  | News & Events  | Partners  | Policies  | Global Sites
Home > Support > Hummingbird Connectivity Products > Exceed >  XDK - Errors in Linking Print View   Contact Me
Connectivity Support


XDK - Errors in Linking
DISCUSSION

When customer is linking the local xapplication using Exceed/XDK. he gets error message:

error LNK2001: unresolved external symbol _XmXpmGetErrorString
error LNK2001: unresolved external symbol _XmXpmReadFileToPixmap

RESOLUTION

Motif 2.0 contains Xpm 3.4.1 set of Xpm functions. These functions are included in XmStatic library but not exported in HCLXm.dll.

An important note is that Xpm 3.4.1 is not a complete set of Xpm functions. Particularly it does not include XpmReadFileToPixmap. Before Motif 2.0 Xpm functions were available as a separate, not officially supported library. They are in public domain and can be separately compiled and linked with user's apps.

Exceed/XDK version 7 now includes Motif 2.1 CTL, which has the function. It is done intentionally. It works the same way on Unix with Motif 2.0.