-
Notifications
You must be signed in to change notification settings - Fork 44
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
Comments
Hi there, 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:
Any idea? Regards. |
increase the amount of RAM for the virtual box and disable the flag that On Thu, Mar 17, 2016 at 11:31 AM, Roger CARHUATOCTO <
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
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 |
yay! On Thu, Mar 17, 2016 at 1:26 PM, Roger CARHUATOCTO <[email protected]
Eric Gradman TWO BIT CIRCUS Inventors | Developers | Performers |
Hi there! I can not get to compile oF examples successfully. After building the VM and building cross-compiler I ran $ 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 All suggestions are welcome. |
It was my fault. I was running the incorrect script
Regards. |
Hi @chilcano. The output when type |
Hi @crossmax |
The instructions say, "Install Virtualbox", but the Vagrantfile appears to be set up for Parallels...?
The text was updated successfully, but these errors were encountered: