Hi Everyone,
I am new to mdl programming. I have Microstations v8i select series 4 and I have downloaded the v8i SDK.
I first want to compile and create a simple mc source file to a ma file and then try to execute it as a test.
The program is that when I attempt this we bmake, I am getting an error that I can not determine the cause.
here is the source file:
#include <mdl.h>#include <dlogitem.h>
int main(){mdlDialog_openInfoBox(“Hello World!!”);return 0;}
I open the MicroStation Developer Shell and type the following:
C:\PROGRA~2\Bentley\MICROS~1\MICROS~1>bmake c:\hastus\hw.mcBentley Systems Make Utility. Version 08.11.09.04, Feb 10 2014Thu Mar 11 10:51:48 2021c:\hastus\hw.mc(4) : error : not rule or dependencyBMAKE: call trace line: 4, c:\hastus\hw.mc
Line 4 in the source is int main(). What is wrong with this line?
Just a note, I have not installed VS 2005. I'm not sure if I need to for what I am doing.
Could someone help me with what I am doing wrong?
Also not that this is on Windows 10, if that matters.
Brenden OReilly said:C:\PROGRA~2\Bentley\MICROS~1\MICROS~1>bmake c:\hastus\hw.mc
Jon Summers said:MDL Pseudo Code is Obsolete
Of course Jon is absolute right! But I like to add a note.
You try to open a source file with "bmake" this could of course not work.
If you use any make command (make, bmake, cmake, etc.....) you will always need a makefile with rules and dependencies. In V5, V7, V8, V8i, V10 (AKA CE) . HTH!
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |
OK. Thanks. I tried to compile my .mc file with the mcomp (compiler) and got the much more useful that the include files could not be found.