I am recompiling a currently working MDL application for SS10, using the SS4 SDK provided by Bentley Support. Was able to configure all that no problems, I think.
I have changed the environment variables for the system to the suggested settings. The BMAKE starts with no issues, including the various .MKI files properly, but when compiling the resource file for the command - in the cmd.r file - the includes are as follows:
#include <rscdefs.h>
#include <cmdclass.h>
#include <english\liqditxt.h> // << this is an application file
I get the following result:
C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\bin\rcomp @make.opt
MicroStation Resource Compiler 08.11.09
d:\mdl\liqdist-v8\ldistcmd.r(24) : error: can't open #include file rscdefs.h
d:\mdl\liqdist-v8\ldistcmd.r(24) : error: No such file or directory
d:\mdl\liqdist-v8\ldistcmd.r(25) : error: can't open #include file cmdclass.h
d:\mdl\liqdist-v8\ldistcmd.r(25) : error: No such file or directory
d:\mdl\liqdist-v8\ldistcmd.r(41) : error: 'Table': syntax not recognized
There must be at least 1 resource defined. Aborted.
The two files that it can't find are definitely in the path included in BMAKE_OPT. I think it's a path issue within bmake - it's not finding rscdefs.h in the application's folder, so it's not looking in the general MDL Include folder per the SDK.
I did bmake using the option +p, so I can see where paths for the .MKIs have all resolved, but I think I might need to add something to the MKE file to identify the include path. make.opt shows several include macros, but I'm just not seeing where the gap is.
BMAKE_OPT=-IC:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include -IC:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\stdlib
MS=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\
MSMDE=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\;C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\bin;C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\library;C:\Program Files (x86)\PDFtk Server\bin\PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
MLINK_STDLIB=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\library\builtin.dlo
PolicyFileMapMki=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\MdlSdkPolicyFileMap.mki
PolicyFileNamesMki=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\include\MdlSdkPolicyFileNames.mki
toolspath=C:\PROGRA~2\Bentley\MICROS~1\MICROS~1\mdl\bin\
Any and all help is greatly appreciated.