Thanks a lot for going into this, Mark.
But how do I use the developershell? What IS the developershell? Is that mstndevvars.bat? If I run that one, from a commandwindow, it wants two parameters (msdir and something with MicroStationSDK at the end; but I don't have any MicroStationSDK in my paths. I have run the SDK setup twice.
I am really circling through these basic issues without finding the answers.
I am not yet trying to compile nativecode, just to compile a Bentley V8i example; with my own makefile I can, with the Bentley version I can't. Could it be that something got mixed up because of my three MicroStation-versions?
regards, Jan Willem
What is the command line syntax that you are using with the Bentley-delivered example (and which one are you compiling)? Could you post the makefile that you made (the one that you say works for you)?
hello Phil,
they are all in this zipfile; http://communities.bentley.com/Other/Old_Site_Files/Member_Folders/m/tamaness_files/default.aspx
in "example zip at post in V8i Programmers Forum, March 18th, 2009"
For me the ones that work are
prehistoric_circuitcomp.bat prehistoric_circuitcomp.mke
Won't work: try1_circuitcomp.bat try1_circuitcomp.mke
(producing try1_produced_make.opt try1_circuitcomp_output.txt )
Jan,
The Developer Shell is the shortcut that is installed to the start menu group when you install the SDK. If you look at the shortcut definition you will see that it wants the location of MicroStation and the MDLSDK as the parameters. These parameters are passed into the mstndevvars.bat file. The devshell then appends to the path and sets MS and BMAKE_OPT to allow for building with the delivered make files. Make sure that echo is on in the batch file so you can see what is being set in the batch file.
HTH,
Mark Anderson [Bentley]
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx
What happens if you do this:
BTW, you really should move your applications to native code, as that is the direction we are going in.