 |
 |
Build Failed?!
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
Hi,
I'm trying to use the project builder writing an OpenGL C++ program. It compiles fine using the terminal. It creates a file called a.out, and then I can just do ./a.out. I wanted to use the project builder though so that it would create an actual double-clickable application. When I try and build (and or build and run) it makes it all the way to the end (of that little progress bar on the bottom right) and then I get "Build Failed... See build log for details."
Now, there are 2 issues I have with this. 1, where is this build log? 2, it's a complete lie. The build went completely fine. If I go into the build directory, there's a double clickable application there, and it runs perfectly fine. Any ideas? Thanks,
Gabe
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Examine the build pane carefully and you will notice that there is a splitter at the bottom of it. Drag this upwards to reveal the build log.
|
|
[vash:~] banana% killall killall
Terminated
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
Ahh yes, here's what I get. I have no clue what it means:
/usr/bin/jam -d1 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=3.1 BUILD_STYLE=Development "CPP_HEADERMAP_FILE=/Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.build/Cheesy Pursuit.build/Cheesy Pursuit.hmap" SRCROOT=/Users/gtaubman/Desktop/CheesyPursuit OBJROOT=/Users/gtaubman/Desktop/CheesyPursuit/build SYMROOT=/Users/gtaubman/Desktop/CheesyPursuit/build "DSTROOT=/tmp/Cheesy Pursuit.dst"
...updating 7 target(s)...
PBXCp.CopyToDirectory /Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.app/Contents/Resources/Cheesy Pursuit.app
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks "/Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.app" "/Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.app/Contents/Resources"
...failed PBXCp.CopyToDirectory /Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.app/Contents/Resources/Cheesy Pursuit.app ...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
Ah. Expand the Products group in the Files tab of Project Builder, and uncheck the box next to "CheesyPursuit.app". You're trying to include an application within itself, which would result in an infinitely large bundle - however, because you are doing this after everything else, it still works even though the overall build fails.
|
|
[vash:~] banana% killall killall
Terminated
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
Well, that certainly did it. How did you figure that out from my error?
Thanks so much,
Gabe
Originally posted by Gul Banana:
Ah. Expand the Products group in the Files tab of Project Builder, and uncheck the box next to "CheesyPursuit.app". You're trying to include an application within itself, which would result in an infinitely large bundle - however, because you are doing this after everything else, it still works even though the overall build fails.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Originally posted by Zimwy:
...failed PBXCp.CopyToDirectory /Users/gtaubman/Desktop/CheesyPursuit/build/Cheesy Pursuit.app/Contents/Resources/Cheesy Pursuit.app ...
I'm guessing this bit.
;D
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|