How to compile brxSample

I'm trying to compile the sample BRX program from BRX SDK V23.

It is giving the following error messages:

1>F:\MagiCAD-Dev\BRXSDK_V23\samples\brxSample\StdAfx.h(64,13): error C3510: cannot locate dependent type library 'axbricscaddb1.tlb' {88161633-e57e-4fce-a6f3-94ffea20879a} v.23.0
1>F:\MagiCAD-Dev\BRXSDK_V23\samples\brxSample\StdAfx.h(64,13): fatal error C1083: Cannot open type library file: 'c:\brxsdk_v23\inc64\axbricscadapp1.tlb': Error loading type library/DLL.

I'm running VisualStudio 2019 v. 16.7.7 in Win10 with WinSDK 10.0.19041.685 installed

I also tried manually registering the mentioned dlls in Bricscad's program directory.
axbricscaddb1.dll and axbricscadsm.dll register just fine, but
C:\Program Files\Bricsys\BricsCAD V23 en_US>regsvr32.exe axbricscadapp1.dll
fails with message "failed to load". VS tool Depends.exe tells that VCRUNTIME140.DLL is missing required function "__C_specific_handler"

Can you please instruct me how to compile the sample ?

Comments

  • Its_Alive
    edited March 2023
    First, fix the configuration weirdness, should be debug, and not fulldebug


    Then add a system variable pointing to the SDK