[solved] Problems running compilePG.sh and compileOF.sh (OF v0.8.1) on Ubuntu 12.04

hey folks,
I’m trying to run both compilePG.sh and compileOF.sh scripts (OF v0.8.1) on Ubuntu 12.04 without success. that’s what i get when I try to run compilePG.sh:

operador@mundo-ao-redor:~/dev/of_v0.8.1_linux64_release/scripts/linux$ sudo ./compilePG.sh 
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
Compiling OF library for Release
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
make[1]: Entering directory `/home/operador/dev/of_v0.8.1_linux64_release/libs/openFrameworksCompiled/project'
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
Compiling ../../../libs/openFrameworks/3d/ofMesh.cpp
g++ -Os -Wall -march=native -mtune=native -DOF_USING_GTK -DOF_USING_MPG123 -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/alsa -I/usr/include/GL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I../../../libs/fmodex/include -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/video  -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.d -MT../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o -o ../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o -c ../../../libs/openFrameworks/3d/ofMesh.cpp
/tmp/cciZuf6W.s: Assembler messages:
/tmp/cciZuf6W.s:10834: Error: no such instruction: `vfmsub312ss 144(%rsp),%xmm0,%xmm2'
make[2]: *** [../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o] Error 1
make[1]: *** [Release] Error 2
make[1]: Leaving directory `/home/operador/dev/of_v0.8.1_linux64_release/libs/openFrameworksCompiled/project'
make: *** [Release] Error 2
there has been a problem compiling the projectGenerator
please report this problem in the forums

and when I try to run compileOF.sh:

operador@mundo-ao-redor:~/dev/of_v0.8.1_linux64_release/scripts/linux$ sudo ./compileOF.sh 
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
make[1]: `DebugABI' is up to date.
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
Done!
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
checking pkg-config libraries:   cairo zlib gstreamer-app-0.10 gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-2.0 libmpg123 
Compiling ../../../libs/openFrameworks/3d/ofMesh.cpp
g++ -Os -Wall -march=native -mtune=native -DOF_USING_GTK -DOF_USING_MPG123 -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/alsa -I/usr/include/GL -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I../../../libs/fmodex/include -I../../../libs/glfw/include -I../../../libs/glfw/include/GLFW -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/video  -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.d -MT../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o -o ../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o -c ../../../libs/openFrameworks/3d/ofMesh.cpp
/tmp/ccUFbQWp.s: Assembler messages:
/tmp/ccUFbQWp.s:10834: Error: no such instruction: `vfmsub312ss 144(%rsp),%xmm0,%xmm2'
make[1]: *** [../../../libs/openFrameworksCompiled/lib/linux64/obj/Release/libs/openFrameworks/3d/ofMesh.o] Error 1
make: *** [Release] Error 2
there has been a problem compiling Release OF library
please report this problem in the forums

am I missing something?
regards,

hello,
just solved my problem by following Arturo’s instructions in this post:

i’ve found the config.linux64.default.mk in the following directory:

OF/libs/openFrameworksCompiled/project/linux64

cheers,

1 Like