cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Beginner API?

TomWaltz
Participant
Is there a place that people ask beginner-level API questions?

We're looking at getting the kit, and want to see if there is any kind of support group for it.

Thanks!
Tom Waltz
18 REPLIES 18
The API sys requirements still say CodeWarrior8.

Can anyone comment on whether we could use xcode (the panther dev suite) instead?

Apple says go ahead and switch.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Anonymous
Not applicable
stefan wrote:
(P.S. This is my 100th post! - but I'm still a junior member ...)
As I recall it took me 100 posts to go from new member to junior member, I assume it's still 200 posts to get to active member. I'm still waiting to see how many it takes to get to the next level.
TomWaltz
Participant
The API sys requirements still say CodeWarrior8.

Can anyone comment on whether we could use xcode (the panther dev suite) instead?

Apple says go ahead and switch.
Xcode can transfer things from Codewarrior, but requires Codewarrior in order to do so. I'm not good enough with IDE software to find everything manually yet...

One way of the other, I'm going to find a way to develop in something I don't have to pay several hundred dollars for (i,e. Xcode)
Tom Waltz
stefan
Advisor
On Windows you need MS Visual Studio/C++ which is not free at all.

I don't think you can use free C++-compilers, since they usually don't have the required C++-libraries for platform development.

By the way, we are using Visual Studio.net (version 2002, there is allready a version 2003) but API/SDK requires Visual C++ 6.0 (which I still have installed for, well, such occasions).

I'm still learning and have not been able to make my first plugin yet.
--- stefan boeykens --- bim-expert-architect-engineer-musician ---
Archicad28/Revit2024/Rhino8/Solibri/Zoom
MBP2023:14"M2MAX/Sequoia+Win11
Archicad-user since 1998
my Archicad Book
TomWaltz
Participant
yes, the Windows free compilers do not. BUT:

Xcode is basically Visual Studio for the Mac. And it comes with the operating system 🙂

-Tom
Tom Waltz
It would be great if we could get some guidance on the Xcode question from GS. I'm very excited about the API becoming more accessible, and the ability to use free dev tools would be gravy. That said, 500 is a good investment for a company, if you can solve a problem with it. Just want to know which way to move.

If it's a platform question, Xcode obviously has that covered.

Maybe GS wants to use CodeWarrior so Mac people can port to windows? (I don't know if it actually works that way.) For my (non-commercial) purposes, you can take windows compatibility out of the specs.

Whatever the current requirements, it seems strange to continue to require a third-party solution when a full-featured suite ships with the OS.
James Murray

Archicad 27 • Rill Architects • macOS • OnLand.info
Oleg
Expert
stefan wrote:
I don't think you can use free C++-compilers, since they usually don't have the required C++-libraries for platform development.
Actually, there is MinGW ( Win32 GCC port).
I tried it on old API. It was possible, but only for the sake of curiosity.
I am not sure, that it will work with new API. (due MS specific mangled C++ DLL export).

Oleg
Anonymous
Not applicable
No Go.

Xcode can't create CFM type linkable libraries, only the MachO model.

The ArchiCAD plugins require the CFM linking which is currently only MetroWerks feature.

Until Development is ready for a switch (I don't expect it soon- there is no pressing reason as far as I know from performance standpoint) MetroWerks will be THE tool.

You can write Carbon and Cocoa Frameworks in Xcode, and use them from the CFM-Carbon Metrowerks project.

Don't shoot the messenger
Anonymous
Not applicable
OOPS I forgot.

On the Windows platform I've succesfully using VS.NET and VS 6.0 (on different machine), but they both build fine. Currently I use the VS 6.0 fro development, but VS.net installer projects for the installer.

The Installshield version included with VS 6.0 is a dinosaur.

So you can use VS. Net, no need to track down an old VS 6.0 copy.
Probably (haven't tried it yet) CodeWarrior 9 will work just fine too on the Mac.