We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-12-14 06:58 PM - edited 2021-12-15 12:49 AM
Win10, AC25
I am starting to prepare our in house add-ons for AC25. I am using VS 2019 with toolset v142. I have adjusted my configuration to VS2019 to compensate for THIS.
My process, in the past, has been to copy the folder of the previous version [23, for example] to a folder for the new version [24, for example]. I then make targeted edits to the *.vcxproj file for the add-on. Then build a release x64 version of the .apx file. This worked like a charm for 23 to 24. However, my efforts for 24 to 25 are failing due to missing header files.
Output from the attempted build is:
Build started...
1>------ Build started: Project: JHP_Audit, Configuration: Release x64 ------
1>Compiling the localized GRC file...
1>JHP_Audit.grc
1>RINT\JHP_Audit.grc : fatal error C1083: Cannot open include file: 'C:\Program Files\GRAPHISOFT\API Development Kit 25.3002\Support\Inc\utf8header.h': No such file or directory
1>Compiling the non-localized GRC file...
1>JHP_AuditFix.grc
1>RFIX\JHP_AuditFix.grc : fatal error C1083: Cannot open include file: 'C:\Program Files\GRAPHISOFT\API Development Kit 25.3002\Support\Inc\utf8header.h': No such file or directory
These are the missing files [so far]:
utf8header.h
rs.hpp [EDIT: added an include directory]
I have found 1 post that refers to utf8header.h no longer included with the SDK.
I am not sure I understand a work around for the missing utf8header.h file.
Is the solution to this an edit to code?
A configuration of VS2019?
I should mention that I recently had to rebuild my Windows profile...
Something else?
A point in the right direction would be appreciated.
thanks - chris
Solved! Go to Solution.
2022-01-13 05:50 PM - edited 2022-01-13 05:52 PM
Hi Chris,
The secret lies in the parametrization of the Custom build step for your .grc file. Please replace
/FI"..\..\Support\Inc\utf8header.h"
with
/utf-8
Best, Akos
2022-01-13 05:50 PM - edited 2022-01-13 05:52 PM
Hi Chris,
The secret lies in the parametrization of the Custom build step for your .grc file. Please replace
/FI"..\..\Support\Inc\utf8header.h"
with
/utf-8
Best, Akos
2022-01-13 10:57 PM
Many, many thanks to you Akos! Conversion of 24 Add-Ins to 25 Add-Ins is being much more cooperative now.
- chris