cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Building AC11 add-on on ppc-Mac with CodeWarrior 9

We have a problem building example add-on (Attribute_Test) using CodeWarrior 9 and ArchiCAD 11 devkit. We are using macOS X 10.4 on ppc-Mac.
There was also a problem with math.h header file, which is used by CodeWarrior for some reason (isn't /usr/include/architecture/ppc/math.h for gcc?). The fix was to not use _scalb$UNIX2003 when CodeWarrior is used:

/* maps to _scalb$UNIX2003 on __ppc__ and _scalb elsewhere */
#if defined( __ppc__ ) && ! defined(__MWERKS__)
extern double scalb ( double, double ) __asm("_scalb$UNIX2003" );
#else
extern double scalb ( double, double );
#endif

When in linking phase, the following error is outputted by the linker:
Link Error : Can't load object data for file 'bundle1.o'

This happens even though the bundle1.o is included in the add-on project.

Any ideas?
2 Replies 2
jyrki.saarinen wrote:
When in linking phase, the following error is outputted by the linker:
Link Error : Can't load object data for file 'bundle1.o'
This happens even though the bundle1.o is included in the add-on project.
Any ideas?
Does the CodeWarrior project still have a valid link to the library? You can check by right-clicking on the file and selecting "File Path" (see the attached image).
Ralph Wessel BArch
Central Innovation
Anonymous
Not applicable
I had the same problems when trying to build in CodeWarrior9.0. I've switched to CodeWarrior9.6 and problems went away...

Pavol

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!