Hello.
I am having a problem getting my project to link with the PhysX libraries on my 64-bit machine. It compiles perfectly fine. I've used the exact same settings as on my 32-bit machine (with the exception of some debugging flags), which links perfectly fine. Here is the build output:
g++ -L/usr/lib/PhysX/v2.8.1 -L/usr/lib -o"PhysXTest" ./main.o -lPhysXLoader -lglut
/usr/bin/ld: skipping incompatible /usr/lib/libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib/libPhysXLoader.so when searching for -lPhysXLoader
usr/bin/ld: skipping incompatible /usr/lib/../lib/libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: skipping incompatible /usr/lib64/libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: skipping incompatible /usr/lib/libPhysXLoader.so when searching for -lPhysXLoader
/usr/bin/ld: cannot find -lPhysXLoader
Also, if it's of any consequence, I have already set up symbolic links to usr/lib. Does anyone know what's going on? Please let me know if you need any more detail. As always, thanks in advance.