Quantcast
Channel: arm - openFrameworks
Viewing all articles
Browse latest Browse all 147

CrossPlatform dev Ubutu to Pi

$
0
0

bin23 wrote:

Hey there !
Sorry to begin with a noob question. Have tried setting up a CrossPlatform compile on Ubuntu for Raspberry Pi dev. Following these links :
https:// github.com /plural/ofSite/commit/81672d808f3aa333c6b9c5fda365369792983b3e#diff-32f0a4873e229b5110cc199f4d4fedbeL29

www. openframeworks .cc/setup/raspberrypi/Raspberry-Pi-Cross-compiling-guide.html

I think that I have all the 32bit libraries in place, but when I try one of the example makes, I get the following lines :

I../../../libs/openFrameworks/app  -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Release/libs/openFrameworks/types/ofParameterGroup.d -MT../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Release/libs/openFrameworks/types/ofParameterGroup.o -o ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Release/libs/openFrameworks/types/ofParameterGroup.o -c ../../../libs/openFrameworks/types/ofParameterGroup.cpp
make[2]: /home/usr/src/raspberrypi/rpi-tools/arm-unknown-linux-gnueabihf/bin/arm-unknown-linux-gnueabihf-g++: Command not found
make[2]: *** [../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Release/libs/openFrameworks/types/ofParameterGroup.o] Error 127
make[1]: *** [Release] Error 2
make[1]: Leaving directory `/home/usr/src/of_v0.8.4_linuxarmv6l_release/libs/openFrameworksCompiled/project'
make: *** [Release] Error 2

The environment should be ok and I have the three alternative 32bit libraries installed. I am stuck here.
.bashrc : lines added

fi
    export PKG_CONFIG_PATH=$RPI_ROOT/usr/lib/arm-linux-gnueabihf/pkgconfig:$RPI_ROOT/usr/share/pkgconfig:$RPI_ROOT/usr/lib/pkgconfig
    export RPI_ROOT=${HOME}/src/raspberrypi/rpi-root
    export RPI_TOOLS=${HOME}/src/raspberrypi/rpi-tools
    export PATH=$PATH:${HOME}/bin:$RPI_TOOLS/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin

I am running the latest Ubuntu 14.04 64bit , the latest OF lib for ARM, etc...it is all a new install.

Thanks,
Bin.

Posts: 10

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 147

Trending Articles