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

How to develop when tools are obsolete?

Anonymous
Not applicable
( BTW: I am an experienced (10yrs+) c++ developer)

Bottom line is: I want to write addons. I can compile the examples fine, but can't get it to be recognised by AC.

First problem: The system requirement for AC15 dev using M$/Win is 'Microsoft Visual C++ .NET 2005'.

This is no longer available. (I can't even find a torrent for it!). I can get VC++ express 2005, but that does not support (I believe) x64 versions.

I am developing on, what I believe to be, not an unusual modern development platform. I have win 7 x64, AC15 (x64), and I have tried using VS2010 full version.

I've got it to compile, fine, using both VS2010 full and VC++ .net 2005 express (only compiles to win32). But the plugin will not register. I get the usual 'not an addon or not compatible' error I see a lot in these forums.

Quite simply put: Is there a 'hello world' for VS2010 that will compile using a current configuration?

Also, am I wrong in using Win 7? .. for soooo many reasons please don't let Mac users answer that! 😉

Also, let me do a reality check: If I run AC15 x64 I need to compile for an x64 target, right? the 32 bit compiled addon will not work if placed into the plugin directory?

Is there a solution that is the legal/sustainable way of creating an addon for AC?
1. Does not need obsolete software, ie, VC++ .NET 2005.
2. Can be compiled using Windows 7
3. Can be compiled for x64.

Fair enough that the standard reply is "You need to use VC++. net 2005", but that precludes someone coming into the market as that software is obsolete and no longer available for any sort of download.

Also, I am unsure of what that moniker actually refers to. I understand there is VC++ express 2005, also Visual Studio 2005, but not exactly that named product. Please do correct my ignorance on this!

So, the bottom line is: How to compile an addon with what is available today?

Many thanks in advance, folks!

Joe
2 REPLIES 2
Anonymous
Not applicable
Okay - some progress.
  • I dusted off a copy of winxp pro 32 bit, installed it, let it install sp3, etc.
    Installed VS2008 pro.
    Installed AC15 32 bit
    Installed the dev kit.
Opened an example in VS, compiled first time, put in addons and hey presto it worked with no tinkering.

Okay, next I'll try exactly the same with win xp pro x64 and report back.

Anyone compiling with Win7 x64 and having success? VS2008? VS2010?

I'll post more as I nut it out.

Joe
Ralph Wessel
Mentor
jwaustincrowe wrote:
First problem: The system requirement for AC15 dev using M$/Win is 'Microsoft Visual C++ .NET 2005'.
This is no longer available.
I found many copies for sale on the Internet, e.g. a quick search on Amazon turned up several for sale, and many were available from other sources. I have an extra boxed set I could sell to you too if you're otherwise stuck. I'm sure you can obtain one locally though. Do yourself a favour, and get the specified kit - you might otherwise exhaust many (expensive) days of effort without success.
Ralph Wessel BArch
Software Engineer Speckle Systems