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
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.
Compile and link your application in 64 bit mode. Refer to your OS or compiler documentation for specific instructions on how to accomplish this.
Link with the 32 bit XRT libraries for your platform. You can download the libraries from "Downloads and Updates" on https://support.quest.com