As it says in the title, I’m having some trouble building an application that uses both the libDUO.so library and the libDense3D library. I’m developing a c++ application using qt-creator as my IDE on the JetsonTX2. When I try to build my application, I run into the following linker error:
“skipping incompatible <file-path to the library is here>/libDense3D.so when searching for -lDense3D”
Some googling of this error seems to indicate that there’s a problem with the binary format of the file (see https://stackoverflow.com/questions/3119714/skipping-incompatible-libraries-at-compile)
I used the command line tool “file” to double check this (as instructed by https://stackoverflow.com/questions/5665228/in-linux-determine-if-a-a-library-archive-32-bit-or-64-bit/8909086#8909086), and it looks like the binary for libDUO.so is 64 bit, while the binary for libDense3D.so is 32 bit. As far as I know, you can’t build an application that uses both 32 bit and 64 bit external libraries, so it seems to me that I’d need a 64 bit version of libDense3D.so for my application on the JetsonTX2 (it is a 64 bit system).
Is it possible to build and application that uses both 32 bit and 64 bit binaries for external libraries, and I’m just not aware of how one would do that? Is there a place where I can find a 64 bit version of libDense3D.so? Has anyone else had this issue?
I’m also having this issue, but I don’t know where we would get a 64 bit version either.