If this is your first time reading this, you probably haven't signed up yet. Do so now by clicking here.

Members Login

Username:
Password:
Remember me ?      

Advertisement

Recommended Books

Partner Links

Forum - iDevApps » Mac, iPhone, iPad & iPod Development » Mac OS X Programming » Project Builder errors

Mac OS X Programming Questions and tips on developing Mac OS X applications, as well as porting.

Reply
Old 2002.05.13, 03:35 PM   #1
Muffinking
Guest
 
Posts: n/a
Default Project Builder errors

this is the error I got after running my code:

Clever Carbon.app has exited due to signal 10 (SIGBUS).

I spent a quite a long time getting all the errors out of my code so that it would run with carbon compatible function calls..

any Idea what that error means? ( I am really new to Project Builder)

and one last thing, how do I compile my code into a library? I can do this in Codewarrior easily but am stumped on how to do it in PB.

any help would be great!
  Reply With Quote
Old 2002.05.13, 04:43 PM   #2
Feanor
Guest
 
Posts: n/a
Default

Project Builder lets you make frameworks, which is the preferred format for shared libraries on Mac OS X. Apple has docs about it, or grab something like the Quesa source (www.quesa.org), which has a PB project you can examine. I myself don't know enough to give you a detailed answer yet.

Your error means you are accessing memory which you don't have permission to touch. Likely causes are uninitialized pointers or an object that wasn't retained properly.

Brent
  Reply With Quote
Old 2002.05.13, 05:01 PM   #3
OneSadCookie
Level 7
 
OneSadCookie's Avatar
 
Join Date: Feb 2005
Location: Wellington, New Zealand
Posts: 2,153
Default

Running off the end of an array will also usually cause a bus error.

If you debug your program, you should be able to find the line that's causing the problem.

Project builder allows you to build frameworks, static libraries, and dynamic libraries (not recommended). Some of these options are available in the project templates dialog box, others are only available by creating an empty project and adding a new target of the appropriate type.

There's a good tutorial on CocoaDevCentral about making a framework to be embedded in an application.
OneSadCookie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump


All times are GMT -5. The time now is 06:35 AM.