ofxBlender icon indicating copy to clipboard operation
ofxBlender copied to clipboard

'typeindex' file not found (mac)

Open wasawi opened this issue 11 years ago • 5 comments

Hi there,

I wanted to have a look at the addon and i can't get the project file to work in mac. I think I enabled C11 with: C++ Language Dialect -> C++11[-std=c++11]

but still complaining here:

include

ofxBlender/src/Animation.h:5:10: 'typeindex' file not found

what is this file?

Cheers!

wasawi avatar Jul 10 '14 23:07 wasawi

Hi. Cool you are trying this on a mac.

Yes, it requires C++11. Typeindex is one of the new types. This one: http://en.cppreference.com/w/cpp/types/type_index

Is this the only error so far?

underdoeg avatar Jul 11 '14 14:07 underdoeg

hmm i don't know how to make this work. I have other projects running c++11 but I don't know how to tell the compiler to find this file.. yeah i didnt find any other errors so far :/

wasawi avatar Jul 11 '14 18:07 wasawi

Maybe this answer helps? http://stackoverflow.com/questions/9345271/xcode-4-3-and-c11-include-paths

underdoeg avatar Jul 11 '14 18:07 underdoeg

Hi thnks for you fast response! I tried all those before but if i set them OF will complain alot: 'tr1/memory' file not found ...

its fine... I don't think I'm able to fix this kind of things.. I'm totally lost when it comes to compilers and project files... thanks anyways!

wasawi avatar Jul 11 '14 18:07 wasawi

Ok, but don't worry. OF will soon officially support c++11 on Mac as well. I think even with the next planned release AFAIK...

underdoeg avatar Jul 11 '14 19:07 underdoeg