Open ListenXunInNight opened 6 years ago
On Xcode 9.
Turn off Enable Indexing while building
Thx, I have solved this error by doing u tell me, but there was another error occurrence. "../cocos2d/cocos/base/CCDirector.h:31:10: fatal error: 'stack' file not found
You need to setup compiler-rt libcxx and libcxxabi as well. OLLVM didn't include those
@Naville Could you please describe in detail how to setup compiler-rt libcxx and libcxxabi Thanks
@hanschen123 goto https://releases.llvm.org/download.html#4.0.0 , download those projects and extract to obfuscator-llvm/projects/
Then build again from scratch
@Naville Thanks for your help. I have extracted compiler-rt libcxx and libcxxabi to the projects folder and rebuild from scratch. However, I got compile error in Xcode 9.2 fatal error: could not build module 'UIKit' Please advice
@hanschen123 Hmmmm that's some strange shit never encountered. Possibly Apple was fucking around with its clang fork again. You got a few options:
I'm currently using my own fork based of LLVM6.0 and haven't encounter this issue yet
Hope that helps!
@hanschen123 After git clone, extracted compiler-rt libcxx and libcxxabi to the projects folder.Then make -j7?
@githubzxq you need to run cmake with parameters first
@Naville I have extracted those projects in obfuscator/projects。 And cmake -DCMAKE_BUILD_TYPE=Release ../obfuscator/ make -j7
libc++ Header file still not found
HELP!HELP! HELP!
@hanschen123 Solve it?My xcode version is 8.0.
@Naville xcode 8 3.6.1 : UIKit, Foundation is not OK, but libc++ is OK. 4.0 : libc++ is OK, UIKit, Foundation is not OK. On my god.
Turn off
Enable Indexing while building
And for those wondering, this can be found here:
In Xcode, Build Settings
> Build Options
> Enable Index-While-Building Functionality
set it to "No".
@Naville xcode 8 3.6.1 : UIKit, Foundation is not OK, but libc++ is OK. 4.0 : libc++ is OK, UIKit, Foundation is not OK. On my god.
@Naville I have extracted those projects in obfuscator/projects。 And cmake -DCMAKE_BUILD_TYPE=Release ../obfuscator/ make -j7
libc++ Header file still not found
HELP!HELP! HELP!
Hi, similar problem, do you solve it?
Hello , anybody can help me with this error?