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 basicBentley Systems Make Utility. Version 8.03, Mar 29 2001Wed Feb 13 14:34:28 2013BMAKE: cannot find file C:\Bentley\Program\MicroStation\mdl\bin\mdl\library\ditemlib.dloBMAKE: call trace line: 83, C:\Bentley\Program\MicroStation\mdl\examples\basic\basic.mkeWed Feb 13 14:34:28 2013, elapsed time: 0:00C:\Bentley\Program\MicroStation\mdl\examples\basic>mlink basicMicroStation Development Language Linker 07.01.05### basic.mo: Could not open input file.Fatal error: abortingC:\Bentley\Program\MicroStation\mdl\examples\basic>
--------------------------------------------------------------------------
----------------------------------------------------------------------------My mstndevvars.bat file is like this:@echo offecho 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\MicroStationset BMAKE_OPT=-I%MS%\mdl\include -I%MS%\jmdl\includeset PATH=%PATH%;%MS%;%MS%\mdl\bin;%MS%\jmdl\binset 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.dloC: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.cfgMS = C:/Bentley/Program/Microstation/BMAKE_OPT = -I$(MS)/mdl/include -ddebug--------------------------------------------------------------------
Please clarify which version(s) of MicroStation you have installed. You mention MicroStation/J, but those error messages look like those from the MicroStation V8 version of the build tools.
Regards, Jon Summers LA Solutions
Yes I am working with Mstn J, I have both installed in this PC. MJ and V8i Select 3. I don't know if this is the reason why is not working?
Thanks
Samy Cad Coordinator
Unknown said: I am working with Mstn J, I have both installed in this PC. MJ and V8i Select 3
If you want to build an application for MicroStation/J, then you should use the mstndevvars.bat found in that version's \MDL folder tree. I think it's in the \MDL\jmdl sub-folder.
How about Windows environment variable MS? Is that defined? If defined, is it pointing at the MicroStation/J folder?
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
Unknown said: What is the text I need to add at the end of the executable shorcut to get the list of all system variables?
Read this article about MicroStation command-line switches.
To add to what Jon references regarding "MicroStation command-line switches", the ustation -debug article is a very good resource, too.