I’ve got oF008 working on my RPi, the examples compile and run fine. Now I’d like to be able to cross-compile oF projects from Ubuntu, as described over here.
I have the RPi Tools and the /usr dir from my Raspbian sd card on my drive and have the appropriate variables described in my .bashrc file, so now I was ready for the test:
make -j6 RPI_TOOLS=$RPI_TOOLS RPI_ROOT=$RPI_ROOT GST_VERSION=0.10 PLATFORM_OS=Linux PLATFORM_ARCH=armv6l
I then get this error:
…/…/…/libs/openFrameworksCompiled/project/makefileCommon/config.shared.mk:263: *** couldn’t find some pkg-config packages, did you run the latest install_dependencies.sh?. Stop.
Does this refer to install_dependencies.sh of the ubuntu version of oF or the armv6 version?
OK, there’s that question. Some more info: I’m running Ubuntu 13.10 64bit. Given that I’m on a 64 bit system, I’m getting the feeling that that may be an ingredient in my problem. You see, one of the earlier steps mentioned in this cross-compiling tutorial was
if you are using a 64bit linux distribution you’ll need to install also:
sudo aptitude install ia32-libs
First of all, aptitude wasn’t available on my install so I used apt-get instead. In my mind that’s a similar path to the same result… am I mistaken there? Anyway, with ‘sudo apt-get install ia32-libs’ I got this error:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package ‘ia32-libs’ has no installation candidate
I naively installed those three suggested packages but from what I’m reading around the net that really doesn’t address an underlying issue which is that
The ia32-libs package was a hack to get 32-bit packages installed on a 64-bit installation. Since Ubuntu version 11.10 (Oneiric), Multi Arch has been added. One of the objectives for it is removing the ia32-libs package. (link)
This has me, well… not sure what to do next. I’m rather inexperienced in the intricacies of Linux so I can’t hack my way out of this one. From what I gather it’s no longer possible for the dependencies and codecs which are 32 bit to ‘magically’ work on this 64 bit system. Instead, it’s apparently useful to append “:386” behind every package that needs to be 32 bit compatible… or something along those lines. I really don’t know anymore at this point. I’d love to know what I’m missing here, maybe you have an idea…