jetpacapp / DeepBeliefSDK

The SDK for Jetpac's iOS Deep Belief image recognition framework
Other
2.86k stars 437 forks source link

Unable to compile example on a Kubuntu 12.04 #8

Open dzach opened 10 years ago

dzach commented 10 years ago

Hi I am trying to run the examples on a Kubuntu 12.04 i686 machine, but get the following error:

sudo ./install.sh libjpcnn installed

cd ./develop/DeepBeliefSDK/$ make gcc -o deepbelief ./main.c -L/usr/lib -ljpcnn /usr/bin/ld: skipping incompatible /usr/lib/libjpcnn.so when searching for -ljpcnn /usr/bin/ld: skipping incompatible /usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libjpcnn.so when searching for -ljpcnn /usr/bin/ld: skipping incompatible /usr/lib/../lib/libjpcnn.so when searching for -ljpcnn /usr/bin/ld: skipping incompatible /usr/lib/gcc/i686-linux-gnu/4.6/../../../libjpcnn.so when searching for -ljpcnn /usr/bin/ld: skipping incompatible /usr/lib/libjpcnn.so when searching for -ljpcnn /usr/bin/ld: cannot find -ljpcnn collect2: ld returned 1 exit status make: *\ [deepbelief] Error 1

Machine:

uname -a Linux p4-duo 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 i386 GNU/Linux

cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"

Any sugestions?

Thank you.

petewarden commented 10 years ago

Unfortunately I haven't created a library version for 32-bit systems, which I believe is what the i686 indicates (as opposed to x86-64). I'll add documentation at least to make this clear, and let me know if I'm understanding the situation correctly.

dzach commented 10 years ago

Yes, it is a 32bit system. No problem though, I'll try the Raspberry Pi version.