0.9.0 Release Candidate 1


#1

Hi all

0.9.0 is almost ready! This version has a lot of new features, we are preparing a blog post explaining the most important.

As with every release lately, before the final version, we put out a Release Candidate for public testing.

It would be great if people could download the packages for the platforms they use and see if they notice any issues.

Also since 0.9.0 we have support for exporting OF applications to run on the web. If you use any platform with support for makefiles (right now linux, osx and mingw) you can install Emscripten and compile any OF application to run on the web calling:

emmake make

from the project directory in a terminal. @ReginaFlores wrote a post a while ago on how to install and use OF with Emscripten in osx: http://www.reginafloresmir.com/blog/2015/5/14/openframeworks-on-the-line

Another change in the supported platforms is that we are dropping support for Codeblocks under windows. The recommended IDE is now Visual Studio and the mingw package now provides only makefiles that will run under msys2.

We’ll put new install guides for both Emscripten and Msys2 in the web soon.

It would be really helpful, if you could try running existing projects with 0.9.0 RC1 to see if issues arise but 0.9.0 is a major version change and as such there’s some breaking changes so testing old projects will likely require some changes in your code. Feel free to ask in this same thread if you find any problem migrating old projects.

If you find any other problem in the release please open an issue in the gihub issue tracker.

http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_android_release.tar.gz
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_osx_release.zip
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_ios_release.zip
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_vs_release.zip
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_mingw_release.zip
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_linuxarmv7l_release.tar.gz
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_linuxarmv6l_release.tar.gz
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_linux64_release.tar.gz
http://openframeworks.cc/versions/v0.9.0RC1/of_v0.9.0RC1_linux_release.tar.gz

There will be another Release Candidate next week.
Then hopefully a public release a few days later.

Thank you for helping test the 0.9.0 release!
Arturo


0.9.0 Release Candidate 2
#2

If you haven’t reported bugs before, just use this link:

openFrameworks team members will comment on the issue and together we’ll figure out how to fix it (either for this release, or 0.9.1 depending on the severity and complexity).


#4

Hi guys! Is it possible to tag this release in github, so its easier to track this release moving forward?

I’m happy to track this thread down in the future, but its hard to reconcile which branch matches with the exported builds provided here if using github exclusively.


#5

hey @grayfuse usually we only tag the releases, not the release candidates, as we tend to find important bugs in the release candidates and would like to discourage any ongoing use of them. once 0.9.0 is released (likely the next two weeks) we will tag the commit that is packaged for download.


#6

@kylemcdonald That totally makes sense. Its been difficult understanding what addons are targeting what builds of oF, especially given people have been saying this is “compatible with 0.9” for months, when there’s not actually a tagged release of 0.9. Makes it really hard to teach to students, and also difficult to track from week to week what works with what.

Really looking forward to this release so I can consolidate that part of my brain. I’ll be hunting for issues and posting to github as I find, do let me know if I can be of assistance in any other way!


#7

i totally get that. “compatible with 0.9.0” means people are trying to keep up with github/master, but it’s a potentially misleading thing to say when github/master is always changing. we would like to move to a faster, fully automated release cycle after this, and that will make the 18-20 month delay between releases less of a confusion factor in teaching. the new project generator should help with that a lot too.

re assistance: more testing would be great! (especially try compiling old projects with 0.9.0)


#8

Hello,

I have currently issues with loading a 3d model with assimp… the supported models by examples are working as expected but my own seems not to work. In version 8.4 my own Mesh was working as expected but with 0.9.0RC1 it seems not so… Do I need to have a specific order or way to export it with blender?

regards
Thanks for the great work!
regards
Schreda


#9

one thing…does the Android release have to be a tar.gz?
Shouldn’t it just be a zip cause of windows/osx/linux peeps.


#10

I can’t use Project Generator for VS in Windows 8.


#11

Hi, when I try to compile from MSYS2, I get this error. Am I doing something wrong?
I am using the empty project given with the RC.

A tutorial to setup the makefile would be really nice.

Side note: I am using a new IDE called CodeLite, and if I get the makefile working I’d be happy to write a tutorial for that for the website. It sems very good and better than Code::Blocks


#12

@andreirt The project generator for the visual studio version was too old, can you try the latest nightly build from today:
http://192.237.185.151/versions/nightly/of_v20150815_vs_nightly.zip

@BananasGoMoo there was a missing file in the msys2 distribution and the makefiles weren’t working. also you just need to run:

make

insisde the project directory no need to pass the makefile name. before being able to compile, you’ll need to run the install_dependencies script in scripts/win_cb. from the msys terminal run:

cd scripts/win_db
./install_dependencies.sh

also if you want to compile faster you can run:

make -j4

which will use 4 cpu cores to compile

can you also test the nightly build from today: http://192.237.185.151/versions/nightly/of_v20150815_win_cb_nightly.zip


#13

All seems to work on OS X 10.10.

I wanted just to ask, if I want to use it on older machines, what is the minim OS version needed ?
(In Snow Leopard 10.6.8) it doesn’t work, even in 32 bit mode.


#14

@arturo now after compiling using the new build (I already ran the install_dependencies.sh), I get the following error:

C:/DevLibs/of_v20150815_win_cb_release/libs/openFrameworks/sound/ofRtAudioSoundStream.cpp:8:10: fatal error:   'RtAudio.h' file not found
#include "RtAudio.h"
         ^
1 error generated.
makefileCommon/compile.core.mk:234: recipe for target '/c/DevLibs/of_v20150815_win_cb_release/libs/openFrameworksCompiled/lib/win_cb/obj/Release/libs/openFrameworks/sound/ofRtAudioSoundStream.o' failed
make[2]: *** [/c/DevLibs/of_v20150815_win_cb_release/libs/openFrameworksCompiled/lib/win_cb/obj/Release/libs/openFrameworks/sound/ofRtAudioSoundStream.o] Error 1
makefileCommon/compile.core.mk:205: recipe for target 'Release' failed
make[1]: *** [Release] Error 2
make[1]: Leaving directory '/c/DevLibs/of_v20150815_win_cb_release/libs/openFrameworksCompiled/project'
/c/DevLibs/of_v20150815_win_cb_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target 'Release' failed
make: *** [Release] Error 2

#15

it seems the script that generates the packages was deleting rtaudio from the mingw ones, it should be fixed in today’s nightly builds. if you can give it a try?


#16

So far compiling on a Raspberry Pi 2 fails:
I’ve downloaded the linuxarmv7l_release.tar.gz, unpacked and ran the debian/install_dependencies.sh . Running make -j4 on one of the examples
produces

make -j4
HOST_OS=Linux
HOST_ARCH=armv7l
armv7l
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 gtk±3.0
Compiling OF library for Release
make[1]: Entering directory ‘/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/project’
HOST_OS=Linux
HOST_ARCH=armv7l
armv7l
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 gtk±3.0
HOST_OS=Linux
HOST_ARCH=armv7l
armv7l
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 gtk±3.0
Compiling /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/events/ofEvents.cpp
g++ -O3 -march=native -mtune=native -Wall -std=c++0x -DHAS_TLS=0 -march=armv7-a -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -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 -DUSE_DISPMANX_TRANSFORM_T -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-1.0 -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/fmodex/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/glfw/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/glfw/include/GLFW -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/kiss/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/poco/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/tess2/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/utf8cpp/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/utf8cpp/include/utf8 -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/events -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/3d -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/graphics -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/types -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/gl -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/communication -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/app -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/video -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/utils -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/math -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/sound -MMD -MP -MF /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/events/ofEvents.d -MT/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/events/ofEvents.o -o /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/events/ofEvents.o -c /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/events/ofEvents.cpp
Assembler messages:
Error: unknown architecture `native’

Error: unrecognized option -march=native
cc1plus: error: bad value (native) for -march switch
cc1plus: error: bad value (native) for -mtune switch
Compiling /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.cpp
makefileCommon/compile.core.mk:234: recipe for target ‘/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/events/ofEvents.o’ failed
make[2]: *** [/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/events/ofEvents.o] Error 1
make[2]: *** Waiting for unfinished jobs…
g++ -O3 -march=native -mtune=native -Wall -std=c++0x -DHAS_TLS=0 -march=armv7-a -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_GTK -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 -DUSE_DISPMANX_TRANSFORM_T -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -pthread -D_REENTRANT -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-1.0 -I/usr/include/alsa -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/fmodex/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/glfw/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/glfw/include/GLFW -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/kiss/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/poco/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/tess2/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/utf8cpp/include -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/utf8cpp/include/utf8 -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/events -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/3d -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/graphics -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/types -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/gl -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/communication -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/app -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/video -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/utils -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/math -I/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/sound -MMD -MP -MF /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.d -MT/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o -o /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o -c /home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/3d/ofMesh.cpp
Assembler messages:
Error: unknown architecture `native’

Error: unrecognized option -march=native
cc1plus: error: bad value (native) for -march switch
cc1plus: error: bad value (native) for -mtune switch
makefileCommon/compile.core.mk:234: recipe for target ‘/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o’ failed
make[2]: *** [/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/lib/linuxarmv7l/obj/Release/libs/openFrameworks/3d/ofMesh.o] Error 1
make[2]: *** wait: No child processes. Stop.
makefileCommon/compile.core.mk:205: recipe for target ‘Release’ failed
make[1]: *** [Release] Error 2
make[1]: Leaving directory ‘/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/project’
/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:126: recipe for target ‘Release’ failed
make: *** [Release] Error 2


#17

this is a bug, i fixed it in tomorrrow’s nightly build but if you want to fix it your self you can edit libs/openFrameworksCompiled/project/makeFileCommon/config.linux.comon.mk and remove every appearance of -march=native -mtune=native around line 188


#18

thnx, removed them but now I’m getting a compile error:
/home/pi/of_v0.9.0RC1_linuxarmv7l_release/libs/openFrameworks/types/ofTypes.h:284:1: error: expected unqualified-id before ‘using’
(gcc 4.6.3)

I’ll wait for tomorrow’s build.


#19

have you run the new install_dependencies.sh? that should be installing gcc 4.9


#20

yes I did, but
sudo apt-get install g++
says:
g++ is already the newest version
on latest raspbian wheezy
gcc version 4.6.3 (Debian 4.6.3-14+rpi1)

(ok it seems that 4.9 is only available for ‘Jessie’ )


#21

it should be installing 4.8 sorryu, the install dependencies script tries to detect raspbian wheezy and installs 4.8.

can you try to run the install dependencies script again and see if at the end you get detected wheezy, installing g++4.8 for c++11 compatibility

if so we might need to also pass the correct version to the makefiles, you can do it manually with:

make CXX=g++-4.8