DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

libs/SpiderMonkey/ios/include/js/HashTable.h:12:10: 'mozilla/DebugOnly.h' file not found #1487

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout Cocos2D from GitHub (along with submodules)
2. Install the templates, using the -f option.
3. Create a new Cocos2D with Javascript Project
4. Hit Compile

What is the expected output? What do you see instead?
I'd expect it to compile and run, however I get the following error:
/Users/nthompson/Documents/XCode/[PROJECT]/libs/SpiderMonkey/ios/include/js/Hash
Table.h:12:10: 'mozilla/DebugOnly.h' file not found

What cocos2d version are you using ?
HEAD of develop-v2 (59c5272bffc2c9fb4685ff5665af33d0595dabf1)

What iOS / Mac SDK are you using ?
Latest stable XCode (4.6.2), iOS 6.1 simulator running on MacBook Pro retina 
15" (i7, 16Gb RAM, 256Gb SSD)

Debug or Release ?
Debug mode - litterally just built the template project!

Which target device / target OS are you using ?
targetting ios 6.1 iphone simulator. Also tried 5.0 ipad simulator too. No luck.

iOS only: Does this happens on device ? or on the simulator ? or on both ?
Only tried simulator for now...

Mac only: x86 or i386 ?

Please provide any additional information below.
This has also been reported on StackOverflow:
http://stackoverflow.com/questions/16079452/cocos2d-javascript-iphone-mozilla-de
bugonly-h-not-found/16201014

Original issue reported on code.google.com by njt1...@gmail.com on 24 Apr 2013 at 8:02

GoogleCodeExporter commented 8 years ago
There is a Forum post on this too: 
http://www.cocos2d-iphone.org/forum/topic/31640/page/8#post-467257

Original comment by njt1...@gmail.com on 24 Apr 2013 at 8:06

GoogleCodeExporter commented 8 years ago
So, after doing some git pulling and submodule updating, I found the 
DebugOnly.h IS included in cocos2d, but isn;t included in the project.

Manual fix:
cp 
~/Documents/Repos/cocos2d-iphone/external/JavaScript/SpiderMonkey/ios/include/mo
zilla/DebugOnly.h [PROJECT]/libs/SpiderMonkey/ios/include/mozilla/

Original comment by njt1...@gmail.com on 24 Apr 2013 at 8:34

GoogleCodeExporter commented 8 years ago
fixed. thanks.

Original comment by ricardoq...@gmail.com on 25 Apr 2013 at 3:20