License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

Archicad C++ API
About Archicad add-on development using the C++ API.

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

Anonymous
Not applicable
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