Hi all,

REALbasic 2007r1 Pro, US English version
Mac OS X 10.4.8


I just tried to compile for "Mac OS X PowerPC" and get a wonderful error 
message window sheet (here, here Theo [1]). Not only the message window was 
nice, but it is also informative: it told me what to do to remove the error.

For that, I have to say "Thank you" to the engineering team.


Now, the real meaning of this message:

Why, why do not do the same for the other way ?

Explanaton:

I used some declare and they were "linked" to CarbonLib; it was nice when I 
want to compile for "Mac OS X PowerPC", but I have to change it for the other 
Macintosh targets (that is more or less what the error message dialog window 
told me / what I recall from the list. I only forgotten that I had some declare 
in that project.).

When I compiled back to "Mac OS X and Mac OS 9" (I forgot to change back the 
Carbon Lib name), I got a sad (old way) window with cryptic explanation. It 
would be nice to get the same treatment (same nice and instructive window with 
reversed CarbonLib / Carbon).

SORRY: I JUST REALIZED THAT THIS ERROR WINDOW WAS _IN FRENCH_: it means that is 
Mac OS X who send me this message, not REALbasic. So, in this kind of stuff, 
REALbasic does not check the error ? Weird. An old, very old bug, that is.
[That is when I saved the screen shot that I realized that I was reading some 
French sentences...]

You do not understand but you want to ? Simple, place a declare in a project, 
compile to "Mac OS X and Mac OS 9", then "Mac OS X PowerPC" (using CarbonLib 
for the first or Carbon for the later) and you're done.


Thanks to improve REALbasic,

Emile

PS: Screenshots can be send to RS Engineering (only ask and provide a report 
eMail address).


[1] I make a reference to a recent mail on that subject. Also, here’s the 
window sheet contents:

<b>Compilation of "PROJECT NAME.rbp" failed.</b>

Linker failed with error #0 This project contains a Declare statement which
references the PEF library "CarbonLib". In a Mach-O application, you must use
"Carbon" instead.

                                                        <Cancel>

[Note the missing dot after "error #0"; this is minor and so will be the time 
to add it.
Correcting this kind of things is as important as the change of name when you 
copy EditField1 --> EditField2, IMHO.]

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to