Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

Can't build with CodeWarrior

$
0
0
I have a fresh CW 9.5 install on my OS X 10.4.11 machine. I also have Xcode 2.4.1 installed.

I'm trying to build the BuildDialog sample project. I've followed the instructions on page 119 of the Porting Guide, by modifying ansi_prefix.mach.h.

I can build the MSL MacHeadersMach-O target in MacHeadersMach-O.mcp, but I cannot build the BSD MacHeadersMach-O target. I get this error: (trimmed so you don't see all of them...)

Error : identifier expected
(included from:
CoreFoundation/CoreFoundation.h:81
CarbonCore/CarbonCore.h:20
CoreServices/CoreServices.h:21
Carbon.h:20
PreHeaders.cp:119
PreHeaders.pch:31)
CFCalendar.h line 96 };

Error : the file 'PreHeadersPPCDbg' cannot be opened
PluginHeaders.pch line 26 #include "PreHeadersPPCDbg"

Error : preprocessor #error directive
(included from:
cstdio:14
mslconfig:387
PluginHeaders.pch:28)
stdio.h line 14 #error You must have the non-MSL C header file access path before the MSL access path

So I plunge blindly ahead, not at all sure if I even need the BSD part built and try and run BuildLibraries.mcp. This eventually gives this error:

Error : type cannot be made into a global register variable;
only scalers, doubles, floats and vectors are supported
(included from:
math.h:26
CoreFoundation/CoreFoundation.h:19
CarbonCore/CarbonCore.h:20
CoreServices/CoreServices.h:21
Carbon/Carbon.h:20
MacHeadersMach-O.c:48
MacHeadersMach-O.pch:21)
math.h line 647 extern double scalb ( double, double ) __asm("_scalb$UNIX2003" );

Still hoping, but not really, I move onto BasicDialog.mcp

Error : illegal data in precompiled header (PluginHeadersPPCDbg)
PluginPrefix.h line 37 #include "PluginHeadersPPCDbg"

I guess some of those steps that failed, well, they must have been important!

Any help is appreciated. Thanks.

Viewing all articles
Browse latest Browse all 78596


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>