Hello Everyone!
Some small updates on Cinder for Linux wrt Ubuntu 15.10. Thanks
to @andrewfb and @petros, we've sorted some issues with GCC 5.x
and its interoperability with Clang 3.6.2 and beyond.
As you may have read by now, GCC 5 introduced a new C++ ABI.
This breaks compatibility with both Clang and older version of GCC
(such as 4.9). Mercifully, the GCC team put in a compiler flag that
allows GCC 5.x to revert to using the older ABI. Until this issue is
decided, Cinder will continue using the older ABI on Linux. @petros
has confirmed that the new ABI does not present a problem and Cinder
does indeed work with it. There are jut some very minor
inconveniences that need to be resolved. Right now, it's easy to
accidentally mix the two ABIs can get failed build or a crash.
Ubuntu 15.10 got released a little while ago, and it ships CMake
3.2 and Clang 3.6.2 - both of which meet the minimum requirement for
Cinder on Linux. If you're on Ubuntu 15.10 or a variant, no need
to download CMake and compile or Clang. You still can if you want to,
but you can simply just install them from the command line:
- sudo
apt-get install cmake
- sudo
apt-get install clang
Also on this episode for Cinder for Linux: VMWare!
It's been asked a few times if Cinder can run on Linux using
a virtual machine. There's been some reports of both success and
failures. With @petros' help, there's now a seemingly solid
solution using Ubuntu 15.10 (or a variant) on VMWare Workstation 12
or VMWare Fusion 8. You can find the full set of instructions here:
OpenGL 3.3 Core Profile, OpenGL ES 2, and OpenGL ES 3 are all
possible. Most of the samples work the same as when running on real
hardware. There are a few samples that take longer to load or will
simply crash because of an unsupported OpenGL feature.
Some notes:
- Does VirtaulBox work?
- As far as I know and have experimented with:
No.
- Does it work with
other version of VMWare? - I don't know. Feel free
to test and report back.
- Host machine must
fast enough to support the VM.
- Host OS must have
OpenGL 4.0 Core Profile or later.
- Does audio work? -
Assuming your host OS's audio is working - it
should. Should being the operative word.
BufferPlayer sample worked for me and @petros said that sound was
working in his current GStreamer experiments.
If
you're asking: "Why would I want to do this?"
Here's a few scenarios:
- You're curious
about Cinder and Linux and want to give it a try, but
don't want to go through the usual setup nonsense. We've
all been there when it comes to audio.

- You're
targeting Linux and some point and want/need a test platform for
OpenGL Core Profile or OpenGL ES 2 or OpenGL ES 3.
- You like experimenting/tinkering with Cinder on
operating systems.
- You just
like the novelty of it.
Thanks,
Hai
Obligatory screenshot: