Page 1 of 1

Apple Clang does not support thread_local

Posted: Thu Dec 29, 2016 6:42 am
by jiangpengyun
hello´╝îI tried compile ogre on mac os x for ios and failed

it seems that apple clang does not (and won't) support thread_local keyword

i am wondering how to compile it with c++11 thread support, boost is quite large

hope someone could give me a hand, thanks very much



and by the way
is there a up-to-date compiling manual???
the wiki seems out of date
iOS dependencies on sourceforge is quite old too

Re: Apple Clang does not support thread_local

Posted: Thu Dec 29, 2016 6:42 pm
by dark_sylinc
Set OGRE_CONFIG_THREADS to 0 and OGRE_CONFIG_THREAD_PROVIDER to "none" (no quotes)