Hi
Thank you very much for answering my questions.
When I tried to compiled my MDL, I found an error:
BMAKE: Error - Attempting to build with with VS 2005 but location is undefined!
BMAKE call trace
line 120 c:\pro...\Asserttooset,mki
line 109
line 28
line 37,
I ran VS2005 vsvars32,bat. but bmake still did not find it.
Could you kindly tell me what should set?
Best regards,
Zhen
I found answers
Would you please tell the answers? Thanks a lot! I got the same error now.
Jane Zhang said:I got the same error now
That's unlikely, unless you are using an old version of MicroStation.
This thread was started in 2015 and the OP was using Viz Studio 2005. From that, we can deduce that Zhen Li was using MicroStation V8.11.x.y. See this table of Viz Studio versions.
You must specify the version of MicroStation that you are using, and which version of Viz Studio you have installed.
Regards, Jon Summers LA Solutions
Jon Summers said:This thread was started in 2015
Jon, you are right, I overlookt the date :-)But I guess my anwser is kind of timeless...
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
Volker Hüfner said:But I guess my anwser is kind of timeless...
Yes, it is!
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
yes. I am using old version V8.11.09. And I don't have VS2005 installed. I have VS2015. Is VS2005 a must for this compiling? Thanks a lot!
Jane Zhang said: I am using old version V8.11.09. I have VS2015. Is VS2005 a must for this compiling?
Yes. Later versions of the Viz Studio C++ tools will create binary code that is incompatible with that generation of MicroStation. Compilation will work, but results in bugs at run-time that are impossible to diagnose.
Jane Zhang said:I don't have VS2005 installed
That version of Viz Studio is not readily available from Microsoft. You must subscribe to their developer program to obtain rights to download earlier versions of Viz Studio.
Jane Zhang said:I have VS2015
As Jon said, you will need VS 2005, but you could use VS 2015 as editor, The editor in VS 2005 is a nightmare ;-)
If you add the include files to the searchpathes of VS2015, you could also use intelisence and other benefits. Or use any other good editor, like Visual Studio Code, Notepad++, etc. etc.
Hi Jane,
in addition to Jon's and Volker's answers:
Jane Zhang said:And I don't have VS2005 installed.
Visual Studio 2005 Professional is explicitly mentioned in SDK readme as required tool for compilation.
Unfortunately, as Jon wrote, it's a bit complicated to obtain it today outside MSDN membership.
And for developers, one from reasons why to move to CONNECT Edition platform ;-)
Jane Zhang said: Is VS2005 a must for this compiling?
It's well known feature of C++ development (see "dll hell") that you have to use the same compiler as was used for dll libraries you linked.
With regards,
Thanks a lot for your explanation!