i have downloaded the latest bullet, and found on the library allbulletdemo.xcodeproj.
i have double clicked it and tryied to compile with xcode, but this error occours: "cocoa/cocoa.h no such file or directory...
don't know how to proceed...
mac osx cocoa/cocoa.h no such file or directory
-
- Posts: 21
- Joined: Thu Nov 11, 2010 1:45 pm
-
- Posts: 237
- Joined: Tue Jun 29, 2010 10:27 pm
Re: mac osx cocoa/cocoa.h no such file or directory
That's...odd. Can you find the following path:
/System/Library/Frameworks/Cocoa.framework
in the Finder? As far as I recall, my "AllBulletDemos" Xcode project worked straight out of the box, so to speak. What version of Mac OS X are you running?
/System/Library/Frameworks/Cocoa.framework
in the Finder? As far as I recall, my "AllBulletDemos" Xcode project worked straight out of the box, so to speak. What version of Mac OS X are you running?
-
- Posts: 21
- Joined: Thu Nov 11, 2010 1:45 pm
Re: mac osx cocoa/cocoa.h no such file or directory
i have 2 pc with snow leopard 10.6
and i can find /System/Library/Frameworks/Cocoa.framework
is there
i'm running xcode 3 in one of that pc, and 4 on the other
if i start a new project->application, xcode produce files that has included cocoa/cocoa.h that works
under active executable i have found that is setted to iphonesimulator, i think that is the error, but i'm not able to find where i can change that option
and i can find /System/Library/Frameworks/Cocoa.framework
is there
i'm running xcode 3 in one of that pc, and 4 on the other
if i start a new project->application, xcode produce files that has included cocoa/cocoa.h that works
under active executable i have found that is setted to iphonesimulator, i think that is the error, but i'm not able to find where i can change that option
-
- Posts: 21
- Joined: Thu Nov 11, 2010 1:45 pm
Re: mac osx cocoa/cocoa.h no such file or directory
found!
hold down option key in dropdown menu and setting mac osx now it compiles
but...after compiling:
hold down option key in dropdown menu and setting mac osx now it compiles
but...after compiling:
Code: Select all
[Session started at 2011-06-27 15:17:07 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:37:02 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".tty /dev/ttys001
Loading program into debugger…
Program loaded.
run
[Switching to process 1485]
Running…
2011-06-27 15:17:10.507 AllBulletDemos[1485:80f] invalid pixel format
2011-06-27 15:17:10.535 AllBulletDemos[1485:80f] invalid context
2011-06-27 15:17:10.558 AllBulletDemos[1485:80f] Got nil windowed context
2011-06-27 15:17:10.582 AllBulletDemos[1485:80f] An uncaught exception was raised
2011-06-27 15:17:10.622 AllBulletDemos[1485:80f] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil
2011-06-27 15:17:10.665 AllBulletDemos[1485:80f] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray insertObject:atIndex:]: attempt to insert nil'
*** Call stack at first throw:
(
0 CoreFoundation 0x0096940a __raiseError + 410
1 libobjc.A.dylib 0x007e0509 objc_exception_throw + 56
2 CoreFoundation 0x00969138 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x009690aa +[NSException raise:format:] + 58
4 Foundation 0x01935532 _NSArrayRaiseInsertNilException + 75
5 Foundation 0x018891b9 -[NSCFArray insertObject:atIndex:] + 118
6 AppKit 0x00bca7d6 -[NSView replaceSubview:with:] + 239
7 AppKit 0x00bc9ede -[NSCustomView nibInstantiate] + 1182
8 AppKit 0x00b0eca4 -[NSIBObjectData instantiateObject:] + 253
9 AppKit 0x00b0dfaa -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 336
10 AppKit 0x00b0c450 loadNib + 257
11 AppKit 0x00b0b848 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 228
12 AppKit 0x00b0b759 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 158
13 AppKit 0x00b0b6a4 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 383
14 AppKit 0x00b084a9 NSApplicationMain + 434
15 AllBulletDemos 0x00003ee4 main + 30
16 AllBulletDemos 0x00003ebd start + 53
17 ??? 0x00000001 0x0 + 1
)
sharedlibrary apply-load-rules all
kill
quit
The Debugger has exited with status 0.(gdb)