Not Rule or Dependency

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.mc
Bentley Systems Make Utility. Version 08.11.09.04, Feb 10 2014
Thu Mar 11 10:51:48 2021
c:\hastus\hw.mc(4) : error : not rule or dependency
BMAKE: 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.

Parents
  • MDL Pseudo Code is Obsolete

    I first want to compile and create a simple mc source file to a ma file
    I have not installed VS 2005.  I'm not sure if I need to for what I am doing

    You're writing MDL pseudo-code in a .mc source file and building a .ma executable.  You're using the Bentley tools supplied by the SDK.  You are not using Viz Studio: it would not provide anything useful.

    However, that's a very short-term approach.  Bentley have ceased support for the V8 MicroStation products.  The current version of MicroStation is CONNECT Update 15.

    MicroStation CONNECT does not support MDL pseudo-code.  For CONNECT you write C# or C++ using the tools supplied with Viz Studio 2017. 

     
    Regards, Jon Summers
    LA Solutions

Reply
  • MDL Pseudo Code is Obsolete

    I first want to compile and create a simple mc source file to a ma file
    I have not installed VS 2005.  I'm not sure if I need to for what I am doing

    You're writing MDL pseudo-code in a .mc source file and building a .ma executable.  You're using the Bentley tools supplied by the SDK.  You are not using Viz Studio: it would not provide anything useful.

    However, that's a very short-term approach.  Bentley have ceased support for the V8 MicroStation products.  The current version of MicroStation is CONNECT Update 15.

    MicroStation CONNECT does not support MDL pseudo-code.  For CONNECT you write C# or C++ using the tools supplied with Viz Studio 2017. 

     
    Regards, Jon Summers
    LA Solutions

Children