Apple Clang does not support thread_local

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
jiangpengyun
Gnoblar
Posts: 1
Joined: Thu Dec 29, 2016 6:32 am

Apple Clang does not support thread_local

Postby jiangpengyun » Thu Dec 29, 2016 6:42 am

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
0 x

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 3371
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
Contact:

Re: Apple Clang does not support thread_local

Postby dark_sylinc » Thu Dec 29, 2016 6:42 pm

Set OGRE_CONFIG_THREADS to 0 and OGRE_CONFIG_THREAD_PROVIDER to "none" (no quotes)
0 x


Return to “Mobile Devices”

Who is online

Users browsing this forum: No registered users and 1 guest