help in bmake I lost all my information to be able to run it

Hello Be forum,
It's been a while that I used the programming for Microstation J, I lost every configuration and now I need to recreate how to run the bmake:
I run the mstndevvars.bat  
Then I type the bmake basic and I got an error that the ditemlib.dlo can't be found. 
Does anyone can help in solve this error, I appreciate it very much.
--------------------------------------------------------------------The following is what I did in the shell command
Visual C++ product directory could not be found.
Set nttools to Visual C++ product directory.
Set LIB and INCLUDE appropriately.

C:\Bentley\Program\MicroStation\mdl\examples\basic>bmake basic
Bentley Systems Make Utility. Version 8.03, Mar 29 2001
Wed Feb 13 14:34:28 2013
BMAKE: cannot find file C:\Bentley\Program\MicroStation\mdl\bin\mdl\library\dite
mlib.dlo
BMAKE: call trace
line: 83, C:\Bentley\Program\MicroStation\mdl\examples\basic\basic.mke
Wed Feb 13 14:34:28 2013, elapsed time: 0:00

C:\Bentley\Program\MicroStation\mdl\examples\basic>mlink basic
MicroStation Development Language Linker 07.01.05
### basic.mo: Could not open input file.
Fatal error: aborting

C:\Bentley\Program\MicroStation\mdl\examples\basic>
--------------------------------------------------------------------------
----------------------------------------------------------------------------
My mstndevvars.bat file is like this:

@echo off

echo Visual C++ product directory could not be found.
echo Set nttools to Visual C++ product directory.
echo Set LIB and INCLUDE appropriately.
set nttools=
set LIB=C:\Bentley\Program\MicroStation\mdl\library\
set INCLUDE=C:\Bentley\Program\MicroStation\mdl\include\

set MS=C:\Bentley\Program\MicroStation
set BMAKE_OPT=-I%MS%\mdl\include -I%MS%\jmdl\include
set PATH=%PATH%;%MS%;%MS%\mdl\bin;%MS%\jmdl\bin
set CLASSPATH=.;%MS%\jmdl\lib\classes.zip;%MS%\jmdl\lib\jmdlsdk.jar;%MS%\jmdl\lib\swingall.jar;%MS%\jmdl\lib\bentley.jar;%MS%\jmdl;%CLASSPATH%
set MLINK_STDLIB=C:\Bentley\Program\MicroStation\mdl\library\builtin.dlo;C:\Bentley\Program\MicroStation\mdl\library\ditemlib.dlo
C:
cd \Bentley\Program\MicroStation\mdl\examples\basic

--------------------------------------------------------------------


My mslocal.cfg is like this:

MSDIR = C:/Bentley/Program/MicroStation/
_USTN_WORKSPACEROOT : C:/Bentley/Workspace/
%include $(MSDIR)config\msconfig.cfg
MS = C:/Bentley/Program/Microstation/
BMAKE_OPT = -I$(MS)/mdl/include -ddebug

--------------------------------------------------------------------

Parents Reply
  • Yes you are right I am working with the mstndevvars.bat from the jmdl folder, which is the one I posted initailly.

    Can you tell what is the text I need to add at the end of the executable shorcut to get the list of all system variables? I can not make it work. I tried: -ddebug. And it should give a text file with the whole list. That way you can see what I have. Thanks

    Samy Cad Coordinator

Children