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

AC25 API and missing files

MudratDetector
Contributor

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

Chris Gilmer
Intel i7-7700K CPU @ 4.20GHz
NVIDIA Quadro M4000
32.0 GB RAM
Windows 10 Pro 64-bit
1 ACCEPTED SOLUTION

Solution
Akos Somorjai
Graphisoft
Graphisoft

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

View solution in original post

2 REPLIES 2

Solution
Akos Somorjai
Graphisoft
Graphisoft

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

Many, many thanks to you Akos!  Conversion of 24 Add-Ins to 25 Add-Ins is being much more cooperative now.

 

- chris

Chris Gilmer
Intel i7-7700K CPU @ 4.20GHz
NVIDIA Quadro M4000
32.0 GB RAM
Windows 10 Pro 64-bit

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!