Re: Projects fail to build with space in project name
Re: Projects fail to build with space in project name
- Subject: Re: Projects fail to build with space in project name
- From: Gary Grobe <email@hidden>
- Date: Wed, 1 Jan 2003 03:02:50 -0600
I just posted this very same thing on the projectbuilder-users list
(thinking it's w/ PB) as ...
---
I just downloaded the Dec dev tools and created a Cocoa App under PB
with a name that has a space. When I build the project I get ...
Building target "my app" with build style "Development" (optimization
level '0', debug -symbols:on) -- (2 errors)
Missing file or directory: my
Missing file or directory: app_Prefix.h
Build failed (2 errors)
Any help much appreciated.
---
Good to know.
On Wednesday, Jan 1, 2003, at 02:46 US/Central, Mark Grimes wrote:
Now I'm new to learning Cocoa or I wouldn't be going through the
tutorial, however I've run across some 100% repeatable events with
latest Developer Tools. Any assistance is appreciated... The
workaround is obviously "don't use spaces in project names" for the
build errors -- but this seems rather silly given that spaces are used
in the ObjC Tutorial that Cocoa newbies are supposed to follow.
Using December 2002 DevTools and the ObjC Tutorial as a simple example:
Launch Project Builder -> File -> New Project -> Cocoa Application ->
"Currency Converter"
Other Sources should now contain a file called "Currency
Converter_Prefix.h"
Now complete the tutorial (or not) and click "Build".
Note the build error:
/Developer/Private/jam -d1 -j1
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1
BUILD_STYLE=Development "CPP_HEADERMAP_FILE=/Users/mark/Currency
Converter/build/Currency Converter.build/Currency
Converter.build/Currency Converter.hmap" "SRCROOT=/Users/mark/Currency
Converter" "OBJROOT=/Users/mark/Currency Converter/build"
"SYMROOT=/Users/mark/Currency Converter/build" "DSTROOT=/tmp/Currency
Converter.dst"
Missing file or directory: Currency
Missing file or directory: Converter_Prefix.h
[Note if you call the project CC or CConverter (without spaces, it
builds w/o error]
--
To accesorize this bug, we can also crash Project Builder (reported
tonight in official Bug Report):
Ctrl-click on "Build failed (2 errors) in top window, select "Reveal in
Group Tree"
** INTERNAL ERROR: Uncaught Exception **
Exception: *** -[NSCFArray addObject:]: attempt to insert nil
Stack:
0 0x9084480c +[NSException raise:format:]
1 0x907e3794 -[NSCFArray addObject:]
2 0x99086efc -[PBXBuildResultsModule
_bookmarksForCurrentSelection]
3 0x9908a020 -[PBXBuildResultsModule
revealCurrentFileInGroupTree:]
4 0x930f90e0 -[NSApplication sendAction:to:from:]
5 0x9316e660 -[NSMenu performActionForItemAtIndex:]
6 0x931aed54 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:]
7 0x931aeabc __NSPopUpCarbonMenu
8 0x931ae5f4 -[NSCarbonMenuImpl
_popUpContextMenu:withEvent:forView:]
9 0x931ae4bc -[NSMenu _popUpContextMenu:withEvent:forView:]
10 0x930c0850 -[NSWindow sendEvent:]
11 0x930a8784 -[NSApplication sendEvent:]
12 0x9901028c -[PBXExtendedApplication sendEvent:]
13 0x930b1604 -[NSApplication run]
14 0x9315f6b4 _NSApplicationMain
15 0x00013a94
16 0x00013914
--
Mark Grimes <email@hidden>
Stateful Labs
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.