Mark
2007-07-21 01:00:49 UTC
Hi. I've been using an (obviously now archaic) Codewarrior 8.2 to
develop mildly Carbonized (meaning they could still use some major
improvements) applications. It's worked like a charm for many years.
Now (finally!) I'd like to bring some old CW8.2 projects into XCode.
The first thing I read in any instructions or tutorial on how to best
start this task is to make sure you are using, at least, CodeWarrior
8.3.
I found the CW updater application (to convert CW8.2 to CW8.3) and ran
it. The updater app updated everything and gave me a message saying the
update completed successfully, and reminded me that libraries now
needed to be re-built. It asked if I wanted it to automatically bring
up the Build Libraries project to facilitate this task. I said OK, and
it brought up the project as promised.
The BuildLlibraries.mcp project included 3 items...
1 - Build.MaxOSPPC.mcp
2 - Build.MacOSX.mcp
3 - Build.Win32.mcp
I then did a "Bring Up-to-Date", and it started the very long process
of rebuilding everything...starting from the top down.
The 1st and 3rd items (see above) completed without errors. The 2nd
item (Build.MacOSX.mcp), though, unfortunately, had 8847 errors. Yikes!
The first error is, and I quote...
"
Error : the file 'ppc/ansi.h' cannot be opened
(included from:
size_t.h:16
locale_api.h:13
cctype:24
ctype.h:17
CoreFoundation.h:14
CarbonCore.h:20
CoreServices.h:21
Carbon.h:20
MacHeadersMach-O.c:48
MSL MacHeadersMach-O.pch:24)
size_t_mach.h line 11 #include <ppc/ansi.h>
"
I've never changed the hierarchy of CW items, everything is as it
always was. (I consider that folder pretty much untouchable! Don't mess
with mother nature, so to speak.) So, why the error? And, most
importantly, what can I do to fix it? I'm running OSX 10.4.10, and
that's orders of magnitude beyond that which was assumed when the
updater was created years ago. Might that have something to do with the
error?
As it happens, I made a test copy of a previously built project of mine
that I had used CW8.2 on. I was surprised (considering the 8K errors
mentioned above) that my old CW8.2 project was easily able to be
rebuilt, without any errors at all. Everything compied fine today on
8.3 just like it had on 8.2 yesterday. The application built appeared
to work fine, and its size was just slightly larger than the
CW8.2-built app (indicating, I believe, that new libraries were used in
its creation.) So, it LOOKS LIKE it's working.
Of course, considering the 8K worth of errors on one of the library
projects, I can hardly trust this new rebuilt app. I'd guess it's built
from a combination of 8.2 and 8.3 code! I just mention this to give you
as many facts as I can in hopes you might help.
So, that's it. Any ideas why the BuildLibraries.mcp project wasn't able
to be fully built, and what I might do to fix it up?
(I'm looking for someone with a LONG memory...as this has probably
happened to many people YEARS ago! I know I'm slow coming to the
party!)
THANKS!
develop mildly Carbonized (meaning they could still use some major
improvements) applications. It's worked like a charm for many years.
Now (finally!) I'd like to bring some old CW8.2 projects into XCode.
The first thing I read in any instructions or tutorial on how to best
start this task is to make sure you are using, at least, CodeWarrior
8.3.
I found the CW updater application (to convert CW8.2 to CW8.3) and ran
it. The updater app updated everything and gave me a message saying the
update completed successfully, and reminded me that libraries now
needed to be re-built. It asked if I wanted it to automatically bring
up the Build Libraries project to facilitate this task. I said OK, and
it brought up the project as promised.
The BuildLlibraries.mcp project included 3 items...
1 - Build.MaxOSPPC.mcp
2 - Build.MacOSX.mcp
3 - Build.Win32.mcp
I then did a "Bring Up-to-Date", and it started the very long process
of rebuilding everything...starting from the top down.
The 1st and 3rd items (see above) completed without errors. The 2nd
item (Build.MacOSX.mcp), though, unfortunately, had 8847 errors. Yikes!
The first error is, and I quote...
"
Error : the file 'ppc/ansi.h' cannot be opened
(included from:
size_t.h:16
locale_api.h:13
cctype:24
ctype.h:17
CoreFoundation.h:14
CarbonCore.h:20
CoreServices.h:21
Carbon.h:20
MacHeadersMach-O.c:48
MSL MacHeadersMach-O.pch:24)
size_t_mach.h line 11 #include <ppc/ansi.h>
"
I've never changed the hierarchy of CW items, everything is as it
always was. (I consider that folder pretty much untouchable! Don't mess
with mother nature, so to speak.) So, why the error? And, most
importantly, what can I do to fix it? I'm running OSX 10.4.10, and
that's orders of magnitude beyond that which was assumed when the
updater was created years ago. Might that have something to do with the
error?
As it happens, I made a test copy of a previously built project of mine
that I had used CW8.2 on. I was surprised (considering the 8K errors
mentioned above) that my old CW8.2 project was easily able to be
rebuilt, without any errors at all. Everything compied fine today on
8.3 just like it had on 8.2 yesterday. The application built appeared
to work fine, and its size was just slightly larger than the
CW8.2-built app (indicating, I believe, that new libraries were used in
its creation.) So, it LOOKS LIKE it's working.
Of course, considering the 8K worth of errors on one of the library
projects, I can hardly trust this new rebuilt app. I'd guess it's built
from a combination of 8.2 and 8.3 code! I just mention this to give you
as many facts as I can in hopes you might help.
So, that's it. Any ideas why the BuildLibraries.mcp project wasn't able
to be fully built, and what I might do to fix it up?
(I'm looking for someone with a LONG memory...as this has probably
happened to many people YEARS ago! I know I'm slow coming to the
party!)
THANKS!