ofParameter.h:339:21: C++ requires a type specifier for all declarations

Dear oF people,

This is my first post, so I’d like to start with a “Hello”.
I’m relatively green when it comes to C++, though I’ve dabbled with C things in the past
(I’ve been doing supercollider sound work mainly, and also luaAV, some p5, and python/js/lua web things).

I try to get chris kiefers sc embed (the one with the audio callback inside oF) running,
it’s comprised of a bunch of source files, and a dll called (.a on osx).

I’ve been trying to find what’s going on before posting here, also looking into the forum,
I found only one note telling to start with a clean project, but this didn’t help me.

So, when trying to build the empty example,
on the 0.92 release (and also the fresh git checkout btw., but NOT on 0.8.3 release ),
I keep getting the following:

/libs/openFrameworks/types/ofParameter.h:339:21: C++ requires a type specifier for all declarations

pointing at:
template check(T const&);
no check(no);

Can anyone give me a pointer here, I’ve no clue how to resolve this, and if the error is maybe misguiding,
and may come from something else perhaps.

Thank you for any help!

jan-kees,
amsterdam

I tried once more with a clean project, and now I got it to compile.

I did read this again:

Arturo:
have you recreated the project files with the project generator?
the project files that come with openni might be outdated and won’t have support for c++11
which is reqiured for that part of ofParameter

And so, this was already answered :o)

jk