c++ - Use of undeclared identifier with libcinder -


i've been working on https://github.com/morpheu5/secondstudy-touch until moment when xcode decided go bananas , stop compiling because of... well, have no idea. seems me must result of rookie mistake can't see it.

the error spits out precisely

in file included /users/af6539/src/secondstudy/xcode/../src/touchpoint.cpp:1: in file included /users/af6539/src/secondstudy/xcode/../include/touchpoint.h:4: /users/af6539/src/secondstudy/xcode/../../cinder_0.8.5_mac/blocks/tuio/include/tuiocursor.h:51:44: error: use of undeclared identifier 'osc'     static cursor createfromsetmessage( const osc::message &message ) {                                               ^ /users/af6539/src/secondstudy/xcode/../../cinder_0.8.5_mac/blocks/tuio/include/tuiocursor.h:87:47: error: use of undeclared identifier 'osc'     static cursor25d createfromsetmessage( const osc::message &message ) {                                                  ^ 

which refers library i'm using, cinder, includes tuio , osc. said, working, think started go south when began working on whole musicstroke* business, files may give clues? if do, can't see them.

the first suggestion i'd make roll previous commit until can build. i'd delete build directory (or whatever shared folder if you're not using relative 'derived data' path), 1 possible explanation of saw cached version of compiled code not showing error, of sudden invalidated.

if had guess, without sample code , briefly skimming on project, indeed because cyclical include. try forward declare can , #include .cpp. example, touchtrace in musicstrokegesture.h can forward declared...


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -