cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

AssertionError: Failed to compile resource on 29.3000

kuvbur
Advocate

Hi everyone,

Could someone clarify what has changed in 29.3000 compared to 29.2001?

My add-on used to compile successfully with 29.2001, but with the 29.3000 API version it fails with the following error: assert self.CompileResourceFile
AssertionError: Failed to compile resource

Has anyone else encountered this issue? Any hints on what may have changed in the resource compilation process?

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Are you on Mac or Windows? Could you please share that part of the builld log where you see the assert?

 

In build 3000 we have added the support for dark mode icons on the Mac; maybe that causes the assert.

 

Best,

Akos

View solution in original post

2 REPLIES 2
Solution
Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Are you on Mac or Windows? Could you please share that part of the builld log where you see the assert?

 

In build 3000 we have added the support for dark mode icons on the Mac; maybe that causes the assert.

 

Best,

Akos

kuvbur
Advocate

The error happened for both Mac and Windows during build. It was indeed related to icon generation. After adding the '-py' and '-sc' options, everything started working correctly. Thank you very much for your help and quick response!

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties