Error building examples SDK

Hi, 

I've installed the Microstation CE SDK and the buildallexample.bat is not running properly. Here's an example of the output I get when running the bat:

C:\PROGRA~1\Bentley\MICROS~1\examples>buildallexamples

[Fri 25/02/2022 12:31:28.97] [Fri 25/02/2022 12:31:28.97] PROCESSING STARTED
[Fri 25/02/2022 12:31:28.98] [START] Building all SDK examples of type: .mke
[Fri 25/02/2022 12:31:29.04] [COMMAND] bmake.exe +a C:\PROGRA~1\Bentley\MICROS~1\examples\ANNOTA~1\DESCRI~1\DESCRI~1.MKE
Bentley Systems Make Utility. Version 10.00.00.26, Mar 15 2018
Fri Feb 25 12:31:29 2022

~mkdir Build\VSEnvironment\
PublicSDK\VsDevCmdImport.py --vsversion=2019 --targetarch=amd64 --targetframeworkversion=v4.6.2 --hostarch=x86 Build\VSEnvironment\VsDevCmd_16_v4.6.2_amd64.mki
The system cannot find the path specified.
Fri Feb 25 12:31:29 2022, elapsed time: 0:00
BMAKE: call trace
line: 1104, C:\PROGRA~1\Bentley\MICROS~1\mki\AssertToolSet.mki
line: 114, C:\PROGRA~1\Bentley\MICROS~1\mki\ConfigurePolicy.mki
line: 26, C:\PROGRA~1\Bentley\MICROS~1\mki\mdl.mki
line: 17, C:\PROGRA~1\Bentley\MICROS~1\examples\ANNOTA~1\DESCRI~1\DESCRI~1.MKE
[Fri 25/02/2022 12:31:29.20] [COMMAND] bmake.exe +a C:\PROGRA~1\Bentley\MICROS~1\examples\ANNOTA~1\DWGAPP~1\DWGAPP~1.MKE
Bentley Systems Make Utility. Version 10.00.00.26, Mar 15 2018
Fri Feb 25 12:31:29 2022

Is it something to to with environment setting and not being able to find the right paths? 

Parents
  • Hi ,

    If you set the Run as Administrator property in your Desktop MicroStation CONNECT Developer Shell shortcut, are you able to compile the examples?

    If still unable to compile the examples, try to compile (1) example using (your example folder above); e.g. build DescribeElementExample.mke. After it attempts to build the example you should be prompted with: View Log File in Folder? [Y,N]?.  Answer yes, then zip and attach the file created (e.g.Build-DescribeElementExample-Verbose-Output.txt) with your reply to this thread for us to review what (still) may be wrong.

    Thank you and HTH,
    Bob 



Reply
  • Hi ,

    If you set the Run as Administrator property in your Desktop MicroStation CONNECT Developer Shell shortcut, are you able to compile the examples?

    If still unable to compile the examples, try to compile (1) example using (your example folder above); e.g. build DescribeElementExample.mke. After it attempts to build the example you should be prompted with: View Log File in Folder? [Y,N]?.  Answer yes, then zip and attach the file created (e.g.Build-DescribeElementExample-Verbose-Output.txt) with your reply to this thread for us to review what (still) may be wrong.

    Thank you and HTH,
    Bob 



Children