Compile OF On Ubuntu 18.04

#1

Dear Forum,

I want to compile OF on my Rpi 3 B + running Ubuntu 18.04:
tested with of_v20190324_linuxarmv7l_release and of_v0.10.1_linuxarmv7l_release

  • “sudo apt-get update” DONE
  • “sudo apt-get upgrade” DONE
  • “cd scripts/ubuntu sudo ./install_dependencies.sh” DONE
    output “All packages were installed correctly”
  • “sudo ./install_codecs.sh” DONE

BUT when I tap “cd scripts/linux, sudo ./compileOF.sh”, it outputs:
"
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio gtk±3.0 libmpg123 glesv1_cm glesv2 egl
with PKG_CONFIG_LIBDIR=
Package glesv1_cm was not found in the pkg-config search path.
Perhaps you should add the directory containing glesv1_cm.pc' to the PKG_CONFIG_PATH environment variable No package 'glesv1_cm' found Package glesv1_cm was not found in the pkg-config search path. Perhaps you should add the directory containingglesv1_cm.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘glesv1_cm’ found
makefileCommon/config.shared.mk:291: *** couldn’t find glesv1_cm pkg-config package or it’s dependencies, did you run the latest install_dependencies.sh?. Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums
"

Best
Allen

#2

Any ideas?
:slight_smile:

#3

can you try using the latest nightly build?

#4

Hi,

I already tested with of_v20190324_linuxarmv7l_release and of_v0.10.1_linuxarmv7l_release,
same issue…

#5

ah sorry, ubuntu is not officially supported on the raspberry although it should be possible to use you might need to install extra packages and not sure the precompiled libraries would work since they are compiled using archlinux for the armv7 distribution. using raspbian with armv6 should work fine

#6

Hi!
Similar issue using RockPi and it official Ubuntu distro.
Sorry I started a second thread:
https://forum.openframeworks.cc/t/rockpi-installation-of-of-0-10-1/33047/2