When linking an application which uses XRT libraries, the following error occurs:
ld: warning: file /xrthome/lib/libxrtfield.a(XrtString.o): wrong ELF class: ELFCLASS64
Undefined first referenced
symbol in file
xmXrtStringFieldWidgetClass someobjectfile.o
ld: fatal: Symbol referencing errors. No output written to someexecutable
You are compiling your application in 32 bit mode, but are linking against a 64 bit version of XRT.
RESOLUTION 1:
Compile and link your application in 64 bit mode. Refer to your OS or compiler documentation for specific instructions on how to accomplish this.
RESOLUTION 2:
Link with the 32 bit XRT libraries for your platform. You can download the libraries from "Downloads and Updates" on https://support.quest.com
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center