error: expected initializer before '<' token
cpietsch opened this issue · comments
Hei there, i am trying to get your cool CinderIpod to run on my iOS 4.1.
somehow i get an error on compile:
/../../../include/CinderIPod.h:49: error: expected initializer before '<' token
typedef std::shared_ptr TrackRef;
it seams that he can not understand the objective c? In my project build settings i set "Compile Sources As" to Objective-C++ as you quoted.
somebody got a clou ?
Hmm that sounds like the type of issue you might have if the .h was compiled with obj-c. Out of curiosity, are you #including or #importing CinderIPod.h into a .m file anywhere?
this occurrs after opening the sample file without touching it. i just set
up the Compile Source As: Objective-C++. do i have to change sth. else ?
in cinder_ipod_testApp.cpp there are the includes of the CinderIPod.h
On Mon, May 16, 2011 at 9:03 PM, notlion <
reply@reply.github.com>wrote:
Hmm that sounds like the type of issue you might have if the .h was
compiled with obj-c. Out of curiosity, are you #including or #importing
CinderIPod.h into a .m file anywhere?Reply to this email directly or view it on GitHub:
#1 (comment)