Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

Not Rule or Dependency

$
0
0

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.


Viewing all articles
Browse latest Browse all 7260

Trending Articles