Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / December 2003



Tip: Looking for answers? Try searching our database.

Can't build CW8.3 libraries in Panther

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard - 19 Dec 2003 18:52 GMT
Hi....

   I've just added a new drive with Panther on it, and installed CW8.0,
then updated it to 8.2 and again to 8.3, using the updaters I'd downloaded
onto my old 10.2.x disk.  After installing, it told me I needed to rebuild
the CW libraries.  So I did, but I get a bajillion errors.  Primarily, they
are that the <Carbon/Carbon.h> file cannot be found.  Prior to building, I
noticed that the projects themselves, when loading, issue errors that the
access path "{OS X Volume}usr/include" cannot be found.  I would guess
that's the problem.  But why can't the path be found?  I am listed as an
Admin user (and the only user in fact) in the Accounts setup.  Is there some
other permissions issue I need to address?

   I don't know if it's relatred, but prior to installing CW on my new
drive, I did run my already existing 8.3 version that's installed on my old
10.2.6 drive, just to see if I could debug some stuff without having to
re-install.  (I couldn't, because the host application my code runs under
won't run from a different startup drive...thus the need to install CW under
Panther).  Could this have caused the problem?  I tried removing the
Metrowerks preferences folder from my user folder tree, but that didn't
help.. Neither did unmounting the old drive before starting CW.

   Anyone know why I'm getting this error, and how to fix it?  Thanks...

-Howard
Howard - 19 Dec 2003 19:14 GMT
D'oh! <smacking forehead soundly>...

   stupid me forgot to install the Dec 2002 Developer's Tools!  Ok, things
are looking good now.  Thanks, anyway.

-Howard

> Hi....
>
[quoted text clipped - 8 lines]
> Admin user (and the only user in fact) in the Accounts setup.  Is there some
> other permissions issue I need to address?
Miro Jurisic - 19 Dec 2003 19:44 GMT
>     stupid me forgot to install the Dec 2002 Developer's Tools!  Ok, things
> are looking good now.  Thanks, anyway.

You definitely don't want Dec02 tools on Panther. You want Xcode.

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Howard - 22 Dec 2003 17:10 GMT
> >     stupid me forgot to install the Dec 2002 Developer's Tools!  Ok, things
> > are looking good now.  Thanks, anyway.
>
> You definitely don't want Dec02 tools on Panther. You want Xcode.

Why not?  It seems to work correctly, as far as I can tell.  And one of the
vendors of the aiduo host software for which I write plug-ins says they
don't yet support XCode in their SDK.  Isn't it ok to stick with the Dec02
Tools for now, or is this going to cause real problems when running under
Panther?

> meeroh
Miro Jurisic - 23 Dec 2003 04:19 GMT
> > In article <brvilt$6gb@dispatch.concentric.net>, "Howard"
> <alicebt@hotmail.com>
[quoted text clipped - 9 lines]
> yet support XCode in their SDK.  Isn't it ok to stick with the Dec02 Tools
> for now, or is this going to cause real problems when running under Panther?

Nothing but Xcode is supported on Panther. If you have to use PB, you need to
downgrade to Jaguar. What exactly it means not to support Xcode in their SDK is
unclear to me.

hth

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Howard - 24 Dec 2003 15:39 GMT
> > > In article <brvilt$6gb@dispatch.concentric.net>, "Howard"
> > <alicebt@hotmail.com>
[quoted text clipped - 17 lines]
>
> meeroh

I'm using CodeWarrior 8.3, not PB.  Here's the quote from Digidesign, whose
audio SDK I'm using:

"...We do not have any plans in the near future to switch to Apple's XCode
development environment, however we will let you know well in advance if
that changes."

This is after they mention moving to CodeWarrior9 in their next SDK.  Looks
like they're just talking about the "development environment", not the
underlying code?  In that case, I can safely add the XCode stuff.  Which
brings me to my other question...can I just install XCode on top of the
Dec02 Tools, or do I need to somehow back that out first?

Thanks,
   Howard
Sean McBride - 24 Dec 2003 16:14 GMT
> Which
> brings me to my other question...can I just install XCode on top of the
> Dec02 Tools, or do I need to somehow back that out first?

You can just install it on top.
Howard - 24 Dec 2003 16:43 GMT
> > Which
> > brings me to my other question...can I just install XCode on top of the
> > Dec02 Tools, or do I need to somehow back that out first?
>
> You can just install it on top.

Great, thanks.  Done, and all looks well.  Thanks everyone.
-Howard
MW Ron - 19 Dec 2003 21:47 GMT
>Hi....
>
[quoted text clipped - 19 lines]
>
>    Anyone know why I'm getting this error, and how to fix it?  Thanks...

Get the XCode Tools CD,  reinstall it, choose the optional packages  and
there is a 10.2.7 SDK  install that,  you can do this even after doing
the original installation.

In CodeWarrior 8.3  global Preferences...
change your Source Tree for OS X Volume
from
/
to
/Developers/SDKs/MacOSX10.2.7SDK/

Then... this is an unofficial and non-supported fix.  Since it involves
changing Apple's headerIf you have to rebuild the libraries (not not for
the headers)

In Apple's Limits.h
in /Developers/SDKs/MacOSX10.2.7SDK/usr/include/ppc/limits.h

Change

#ifndef _PPC_LIMITS_H_
#define _PPC_LIMITS_H_

#define    CHAR_BIT    8        /* number of bits in a char */
#define    MB_LEN_MAX    6        /* Allow 31 bit UTF2 */

#define    CLK_TCK        100        /* ticks per second */

to

#ifndef _PPC_LIMITS_H_
#define _PPC_LIMITS_H_

#define    CLK_TCK        100        /* ticks per second */

#if !_MSL_USING_MW_C_HEADERS

#define    CHAR_BIT    8        /* number of bits in a char */
#define    MB_LEN_MAX    6        /* Allow 31 bit UTF2 */

At the end of the file add
#endif  /* _MSL_USING_MW_C_HEADERS */
before
#endif /* _PPC_LIMITS_H_ */

Rebuild the precompiled headers and rebuild the MSL Mac OS X libraries

You should be OK

Signature

                  Metrowerks wishes you and yours
              Seasons Greetings and Happy Holidays

 Get Geekware and Software  http://store.metrowerks.com
  Shop our online store and get free shipping until Dec 31

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Howard - 22 Dec 2003 17:55 GMT
> >Hi....
> >
[quoted text clipped - 3 lines]
> there is a 10.2.7 SDK  install that,  you can do this even after doing
> the original installation.

> Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

Hi Ron,

   Not really a CodeWarrior issue anymore, but perhaps you can continue to
help along this line...?

   I've already installed the December 02 Tools, and it seems to be working
fine.  Am I going to have problems in Panther using that?  If so, do I
install XTools OVER my Dec02 stuff, or do I need to do some kind of
un-install?

   I'm also worried that at least one of the SDK's I use for developing
audio plug-ins does not yet support XCode.  Does this mean that I really
can't support Panther until those SDKs are also up to date with XCode?

Thanks,
   Howard
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.