BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Problem creating Apx for ArchiCAD 12 by Visual studio C++

Anonymous
Not applicable
Hi,

We want to create the new apx for ArchiCAD12.0. I downloaded and installed new API Development kit and it created a template in visual studio 2005 C++ projects (ArchiCAD Add-on). By using the Add-on I created my project called Tamawood12.

I opened to AddOnAdmin.exe and I created new database with my Developer ID, and I created new AddOn with my Authorization Code and I saved in header file it gives me two numbers. And I added these two numbers in Tamawood12Fix.grc file.

Then I tried to build the application I got 3 errors.
1. fatal error RC1015: cannot open included file ‘..\Release\Tamawood12.grc.rc2’.
2. error PRJ0019: A tool returned an error code from “Compiling the RC2 file…”
3. error BK1506: cannot open file ‘.\release\Tamawood12.sbr’:No such file or directory.

Then I opened on help project and I found there is different setting for Custom Build step for these grc files.

So added for Tamawood12.grc
Command Line : “C:\\Program Files\Graphisoft\API Development Kit 12.2156\Support\Tools\Win\ResConv.exe” –m r –D WINDOWS –T W –q utf8 1252 –i “M:\ArchiCad\Tamawood12\Tamawood12\RINT\Tamawood12.grc” –o “M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12.grc.rc2”
Description : Compiling the localized GRC file…
Outputs : M:\ArchiCad\Tamawood12\Tamawood12\ Make.Win\Release\Tamawood12.grc.rc2
Additional Dependencies :
(I compiled the GRC file by clicking right mouse and compile command successfully)

for Tamawood12Fix.grc
Command Line : “C:\\Program Files\Graphisoft\API Development Kit 12.2156\Support\Tools\Win\ResConv.exe” –m r –D WINDOWS –T W –q utf8 1252 –i “M:\ArchiCad\Tamawood12\Tamawood12\RFIX\Tamawood12Fix.grc” –p “M:\ArchiCad\Tamawood12\Tamawood12\RFIX\Images” –o “M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12Fix.grc.rc2”
Description : Compiling the non-localized GRC file…
Outputs : M:\ArchiCad\Tamawood12\Tamawood12\ Make.Win\Release\Tamawood12Fix.grc.rc2
Additional Dependencies :
(I compiled the GRC file by clicking right mouse and compile command successfully)

for Tamawood12.rc2
Command Line : rc /i “C:\\Program Files\Graphisoft\API Development Kit 12.2156\Support\Inc” /i “C:\\Program Files\Graphisoft\API Development Kit 12.2156\Support\Modules\DGLib” /i “M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release” /fo“M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12.res” “M:\ArchiCad\Tamawood12\Tamawood12\RFIX.WIN\Tamawood12.rc2”
Description : Compiling the RC2 file…
Outputs : M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12.res
Additional Dependencies :
“M:\ArchiCad\Tamawood12\Tamawood12\RFIX\Tamawood12FIX.grc”
“M:\ArchiCad\Tamawood12\Tamawood12\RINT\Tamawood12.grc”
“M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12FIX.grc.rc2”
“M:\ArchiCad\Tamawood12\Tamawood12\Make.Win\Release\Tamawood12.grc.rc2”
(I compiled the GRC file by clicking right mouse and compile command I got 5 errors)

Errors are
1. error RC2135 : file not found: STRS Tamawood12.grc.rc2 17
2. error RC2135 : file not found: 0 Tamawood12.grc.rc2 19
3. error RC2135 : file not found: DevKit Tamawood12.grc.rc2 20
4. error RC2135 : file not found: project Tamawood12.grc.rc2 21
5. error PRJ0019: A tool returned an error code from “Compiling the RC2 file…” Tamawood12
6. error BK1506: cannot open file ‘.\release\Tamawood12.sbr’:No such file or directory. BSCMAKE
(This error added to another five errors if I press build).

I don’t know what I am doing wrong can explain the steps to get rid of these errors and develop the simple apx for ArchiCAD 12 by using Visual Studio 2005 C++ environment.
If possible send me a simple application which will crate the apx for ArchiCAD 12.
1 REPLY 1
Anonymous
Not applicable
Hello Ranga,

I have the same problem. How did you resolve this?
Learn and get certified!