Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Build Failed?!

Build Failed?!
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 22, 2002, 07:28 PM
 
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
Reply With Quote
Dec 23, 2002, 01:22 AM
 
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
     
Zimwy  (op)
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 23, 2002, 01:51 AM
 
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
Reply With Quote
Dec 23, 2002, 09:39 AM
 
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
     
Zimwy  (op)
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 23, 2002, 10:41 AM
 
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
Reply With Quote
Dec 23, 2002, 11:53 AM
 
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];
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:58 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2