Error building examples for update 12 SDK

When building C++ examples for the update 12 SDK it fails with the following error:

-MANIFESTFILE:C:\Users\doug\AppData\Local\Temp\Bentley\MicroStationSDK\objects\ModelExample.dll.Manifest
C:\Users\doug\AppData\Local\Temp\Bentley\MicroStationSDK\objects\ModelExample.obj C:\Users\doug\AppData\Local\Temp\Bentley\MicroStationSDK\objects\ModelExampleHelper.obj B:\Apps\Bentley\library\bentley.lib B:\Apps\Bentley\library\BentleyAllocator.lib B:\Apps\Bentley\library\mdlbltin.lib B:\Apps\Bentley\library\RmgrTools.lib B:\Apps\Bentley\library\BentleyGeom.lib B:\Apps\Bentley\library\DgnPlatform.lib B:\Apps\Bentley\library\ECObjects.lib B:\Apps\Bentley\library\dgnview.lib gdi32.lib user32.lib kernel32.lib C:\PROGRA~2\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64\msvcrt.lib
B:\Apps\Bentley\library\mdlbltin.lib
LINK : fatal error LNK1181: cannot open input file 'C:\PROGRA~2\Microsoft.obj'
BMAKE: call trace
    line:  414, B:\Apps\Bentley\mki\dlmlink.mki
    line:  106, B:\Apps\Bentley\examples\Model\ModelExample\ModelExample.mke
Mon Nov 04 23:23:11 2019, elapsed time: 0:00

Clearly the space in the path:

C:\PROGRA~2\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64\msvcrt.lib

Is causing problems.  I'm guessing it needs to be quoted somewhere, but I have been unable to locate where it is specified.

Parents
  • Hi ,

    Can you confirm, zip and provide the following output?

    1. Make sure to open the MicroStation CONNECT SDK Developer Shell (Run as Administrator)
    2. Type:
      1. pushd DialogBoxes\myapp
      2. build verbose
      3. Answer Yes (Y) to - View Log File in Folder? [Y,N]?
    3. Reply with a Zipped attachment of: e.g. Build-myapp-Verbose-Output.txt

    Build verbose will create a single detailed build log (OS environment variables and verbose build log) so we can identify the first point where a configuration issue or error is occurring, hinting on where a possible fix may be needed.

    Thank you in advance,
    Bob



Reply
  • Hi ,

    Can you confirm, zip and provide the following output?

    1. Make sure to open the MicroStation CONNECT SDK Developer Shell (Run as Administrator)
    2. Type:
      1. pushd DialogBoxes\myapp
      2. build verbose
      3. Answer Yes (Y) to - View Log File in Folder? [Y,N]?
    3. Reply with a Zipped attachment of: e.g. Build-myapp-Verbose-Output.txt

    Build verbose will create a single detailed build log (OS environment variables and verbose build log) so we can identify the first point where a configuration issue or error is occurring, hinting on where a possible fix may be needed.

    Thank you in advance,
    Bob



Children
No Data