Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with Virtualbox #19

Open
DrRob opened this issue Dec 19, 2015 · 8 comments
Open

How to use with Virtualbox #19

DrRob opened this issue Dec 19, 2015 · 8 comments

Comments

@DrRob
Copy link

DrRob commented Dec 19, 2015

The instructions say, "Install Virtualbox", but the Vagrantfile appears to be set up for Parallels...?

@chilcano
Copy link

Hi there,
I create a new Vagrantfile for VirtualBox (the playbook.yml and biild_cross_gcc.sh files have not been modified) but when building this box I get this error related to # Step 3. C/C++ Compilers:

echo timestamp > s-alltree
echo timestamp > s-mlib
tconfig.h is unchanged
/bin/bash ../../gcc-4.9.2/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
build/genattrtab ../../gcc-4.9.2/gcc/config/arm/arm.md insn-conditions.md \
        -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
build/genautomata ../../gcc-4.9.2/gcc/config/arm/arm.md \
      insn-conditions.md > tmp-automata.c
...
g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.9.2/gcc -I../../gcc-4.9.2/gcc/. -I../../gcc-4.9.2/gcc/../include -I../../gcc-4.9.2/gcc/../libcpp/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./gmp -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/gmp -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpc/src  -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./cloog/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/cloog/include -I../gcc-4.9.2/cloog/include  -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./isl/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/isl/include  -o builtins.o -MT builtins.o -MMD -MP -MF ./.deps/builtins.TPo ../../gcc-4.9.2/gcc/builtins.c
g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.9.2/gcc -I../../gcc-4.9.2/gcc/. -I../../gcc-4.9.2/gcc/../include -I../../gcc-4.9.2/gcc/../libcpp/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./gmp -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/gmp -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpc/src  -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./cloog/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/cloog/include -I../gcc-4.9.2/cloog/include  -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./isl/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/isl/include  -o caller-save.o -MT caller-save.o -MMD -MP -MF ./.deps/caller-save.TPo ../../gcc-4.9.2/gcc/caller-save.c
/bin/bash: line 1: 26729 Killed                  build/genautomata ../../gcc-4.9.2/gcc/config/arm/arm.md insn-conditions.md > tmp-automata.c
make[1]: *** [s-automata] Error 137
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [s-attrtab] Killed
make[1]: Leaving directory `/tmp/CROSS_BUILD_TOOLS/build-gcc/gcc'
make: *** [all-gcc] Error 2
FAILED COMMAND: make $PARALLEL_MAKE all-gcc

This is my Vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  # https://atlas.hashicorp.com/ubuntu/boxes/trusty64 [Official Ubuntu Server 14.04 LTS (Trusty Tahr) builds]
  config.vm.box = "ubuntu/trusty64"
  config.vm.provider "virtualbox" do |vb|
    config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/vagrant-virtualbox/VBoxGuestAdditions_5.0.17-105945.iso"
    config.vbguest.auto_update = false
  end

  # If you want to use this system to netboot Raspberry Pi, then uncomment this line
  # config.vm.network "public_network", bridge: 'ask', ip: "10.0.0.1"

  config.vm.provision "ansible" do |ansible|
    ansible.playbook = "playbook.yml"
  end
end

And in my Mac OS X (El Capitan - Version 10.11.3) with below tools:

  • VirtualBox 5.0.16
  • Vagrant 1.8.1
  • Ansible 2.0.1.0 (installed via Pip)
  • Python 2.7.11

Any idea?

Regards.

@egradman
Copy link
Contributor

increase the amount of RAM for the virtual box and disable the flag that
causes make to run in parallel.

On Thu, Mar 17, 2016 at 11:31 AM, Roger CARHUATOCTO <
[email protected]> wrote:

Hi there,
I create a new Vagrantfile for VirtualBox (the playbook.yml and
biild_cross_gcc.sh files have not been modified) but when building this
box I get this error related to # Step 3. C/C++ Compilers:

echo timestamp > s-alltreeecho timestamp > s-mlib
tconfig.h is unchanged
/bin/bash ../../gcc-4.9.2/gcc/../move-if-change tmp-optionlist optionlistecho timestamp > s-options
build/genattrtab ../../gcc-4.9.2/gcc/config/arm/arm.md insn-conditions.md
-Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
build/genautomata ../../gcc-4.9.2/gcc/config/arm/arm.md
insn-conditions.md > tmp-automata.c
...
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.9.2/gcc -I../../gcc-4.9.2/gcc/. -I../../gcc-4.9.2/gcc/../include -I../../gcc-4.9.2/gcc/../libcpp/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./gmp -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/gmp -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpc/src -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./cloog/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/cloog/include -I../gcc-4.9.2/cloog/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./isl/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/isl/in
clude -
o builtins.o -MT builtins.o -MMD -MP -MF ./.deps/builtins.TPo ../../gcc-4.9.2/gcc/builtins.c
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.9.2/gcc -I../../gcc-4.9.2/gcc/. -I../../gcc-4.9.2/gcc/../include -I../../gcc-4.9.2/gcc/../libcpp/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./gmp -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/gmp -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpfr/src -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/mpc/src -I../../gcc-4.9.2/gcc/../libdecnumber -I../../gcc-4.9.2/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.2/gcc/../libbacktrace -DCLOOG_INT_GMP -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./cloog/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/cloog/include -I../gcc-4.9.2/cloog/include -I/tmp/CROSS_BUILD_TOOLS/build-gcc/./isl/include -I/tmp/CROSS_BUILD_TOOLS/gcc-4.9.2/isl/in
clude -
o caller-save.o -MT caller-save.o -MMD -MP -MF ./.deps/caller-save.TPo ../../gcc-4.9.2/gcc/caller-save.c
/bin/bash: line 1: 26729 Killed build/genautomata ../../gcc-4.9.2/gcc/config/arm/arm.md insn-conditions.md > tmp-automata.c
make[1]: *** [s-automata] Error 137
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [s-attrtab] Killed
make[1]: Leaving directory `/tmp/CROSS_BUILD_TOOLS/build-gcc/gcc'make: *** [all-gcc] Error 2FAILED COMMAND: make $PARALLEL_MAKE all-gcc

This is my Vagrantfile:

-- mode: ruby --# vi: set ft=ruby :

Vagrant.configure(2) do |config|

https://atlas.hashicorp.com/ubuntu/boxes/trusty64 [Official Ubuntu Server 14.04 LTS (Trusty Tahr) builds]

config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/vagrant-virtualbox/VBoxGuestAdditions_5.0.17-105945.iso"
config.vbguest.auto_update = false
end

If you want to use this system to netboot Raspberry Pi, then uncomment this line

config.vm.network "public_network", bridge: 'ask', ip: "10.0.0.1"

config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
end

And in my Mac OS X (El Capitan - Version 10.11.3) with below tools:

  • VirtualBox 5.0.16
  • Vagrant 1.8.1
  • Ansible 2.0.1.0 (installed via Pip)
  • Python 2.7.11

Any idea?

Regards.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#19 (comment)

Eric Gradman
CTO & Mad Inventor
P: 213-268-6253 | W: twobitcircus.com http://www.twobitcircus.com/
TW: @egradman http://www.twitter.com/egradman

TWO BIT CIRCUS
Engineering Entertainment

Inventors | Developers | Performers

@chilcano
Copy link

It worked !!!

The final Vagrantfile for VirtualBox is:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  # https://atlas.hashicorp.com/ubuntu/boxes/trusty64 [Official Ubuntu Server 14.04 LTS (Trusty Tahr) builds]
  config.vm.box = "ubuntu/trusty64"
  config.vm.provider "virtualbox" do |vb|
    config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/vagrant-virtualbox/VBoxGuestAdditions_5.0.17-105945.iso"
    vb.customize ["modifyvm", :id, "--memory", "4096"]
    vb.customize ["modifyvm", :id, "--cpus", "2"]    
  end
  # If you want to use this system to netboot Raspberry Pi, then uncomment this line
  # config.vm.network "public_network", bridge: 'ask', ip: "10.0.0.1"
  config.vm.provision "ansible" do |ansible|
    ansible.playbook = "playbook.yml"
  end
end

After updating, execute $ vagrant up --provider virtualbox and everything worked smoothly!.
Tomorrow I'll compile my 1st program.
Regards!!

@egradman
Copy link
Contributor

yay!

On Thu, Mar 17, 2016 at 1:26 PM, Roger CARHUATOCTO <[email protected]

wrote:

It worked !!!

The final Vagrantfile for VirtualBox is:

-- mode: ruby --# vi: set ft=ruby :

Vagrant.configure(2) do |config|

https://atlas.hashicorp.com/ubuntu/boxes/trusty64 [Official Ubuntu Server 14.04 LTS (Trusty Tahr) builds]

config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/vagrant-virtualbox/VBoxGuestAdditions_5.0.17-105945.iso"
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end

If you want to use this system to netboot Raspberry Pi, then uncomment this line

config.vm.network "public_network", bridge: 'ask', ip: "10.0.0.1"

config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
endend

After updating, execute $ vagrant up --provider virtualbox and everything
worked smoothly!.
Tomorrow I'll compile my 1st program.
Regards!!


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#19 (comment)

Eric Gradman
CTO & Mad Inventor
P: 213-268-6253 | W: twobitcircus.com http://www.twobitcircus.com/
TW: @egradman http://www.twitter.com/egradman

TWO BIT CIRCUS
Engineering Entertainment

Inventors | Developers | Performers

@chilcano
Copy link

Hi there!

I can not get to compile oF examples successfully. After building the VM and building cross-compiler I ran $ sudo /opt/openframeworks/scripts/linux/ubuntu/install_dependencies.sh to update the guest S.O ubuntu/trusty64 (as mentioned above in the Vagrantfile), after that I tried to compile the myApps/emptyExampleof oF but I get this error:

$ make -C /opt/openframeworks/apps/myApps/emptyExample
HOST_OS=Linux
HOST_ARCH=x86_64
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 openssl libpulse-simple alsa
make: Entering directory `/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/apps/myApps/emptyExample'
Compiling OF library for Release
HOST_OS=Linux
HOST_ARCH=x86_64
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 openssl libpulse-simple alsa
make[1]: Entering directory `/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/project'
HOST_OS=Linux
HOST_ARCH=x86_64
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 openssl libpulse-simple alsa
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package gstreamer-app-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-app-1.0' found
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
Package gstreamer-video-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-1.0' found
Package gstreamer-base-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-base-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-base-1.0' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing `openal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package libpulse-simple was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse-simple.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse-simple' found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package gstreamer-app-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-app-1.0' found
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
Package gstreamer-video-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-1.0' found
Package gstreamer-base-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-base-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-base-1.0' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing `openal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package libpulse-simple was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse-simple.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse-simple' found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package gstreamer-app-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-app-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-app-1.0' found
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
Package gstreamer-video-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-1.0' found
Package gstreamer-base-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-base-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-base-1.0' found
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libudev' found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sndfile' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing `openal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Package libpulse-simple was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpulse-simple.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse-simple' found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
Compiling /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.cpp
/opt/cross/bin/arm-linux-gnueabihf-g++ -O3 -DNDEBUG -Wall -std=c++11 -march=armv7-a -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe --sysroot=/opt/raspberrypi/root -DTARGET_RASPBERRY_PI -DSTANDALONE -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -I/opt/raspberrypi/root/opt/vc/include -I/opt/raspberrypi/root/opt/vc/include/IL -I/opt/raspberrypi/root/opt/vc/include/interface/vcos/pthreads -I/opt/raspberrypi/root/opt/vc/include/interface/vmcs_host/linux -I/opt/raspberrypi/root/usr/include/c++/4.9 -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/fmodex/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/glfw/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/glfw/include/GLFW -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/kiss/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/poco/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/tess2/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/utf8cpp/include -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/utf8cpp/include/utf8 -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/3d -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/gl -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/sound -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/communication -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/utils -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/types -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/events -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/graphics -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/app -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/video -I/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/math  -MMD -MP -MF /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.d -MT/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o -o /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o -c /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.cpp
In file included from /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/utils/ofLog.h:4:0,
                 from /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/utils/ofUtils.h:7,
                 from /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.h:10,
                 from /opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.cpp:1:
/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworks/utils/ofFileUtils.h:8:32: fatal error: boost/filesystem.hpp: No such file or directory
 #include <boost/filesystem.hpp>
                                ^
compilation terminated.
make[2]: *** [/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o] Error 1
make[1]: *** [Release] Error 2
make[1]: Leaving directory `/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/libs/openFrameworksCompiled/project'
make: *** [Release] Error 2
make: Leaving directory `/opt/raspberrypi/root/opt/of_v0.9.0_linuxarmv7l_release/apps/myApps/emptyExample'

There are some packages such as cairo, gstreamer-app-1.0, etc. not found. I don't understand that, I've ran /opt/openframeworks/scripts/linux/ubuntu/install_dependencies.sh. Seems likely some Path or Variable are missing.

All suggestions are welcome.
Regards.

@chilcano
Copy link

It was my fault. I was running the incorrect script install_dependencies.sh.
The correct script is (for RPi):

pi@raspberrypi:~ $ sudo /opt/of_v0.9.0_linuxarmv7l_release/scripts/linux/debian/install_dependencies.sh

Regards.

@crossmax
Copy link

crossmax commented Feb 13, 2019

vagrant up --provider virtualbox

Hi @chilcano.
I've copied your Vagrandfile to run with VirtualBox instead Parallels but I get a error with this Valgrandfile line:
config.vbguest.iso_path = "#{ENV['HOME']}/Downloads/vagrant-virtualbox/VBoxGuestAdditions_5.0.17-105945.iso"

The output when type vagrant up --provider virtualbox is:
==> default: Successfully added box 'ubuntu/trusty64' (v20190206.0.0) for 'virtualbox'!
There are errors in the configuration of this machine. Please fix the following errors and try again:
Vagrant:
* Unknown configuration section 'vbguest'.

@chilcano
Copy link

Hi @crossmax
You should update VBoxGuestAdditions with the proper version accordingly to your VirtualBox's version.
I've used VBoxGuestAdditions_5.0.17-105945.iso for VirtualBox 5.0.16.
I hope it helps.
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants