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

RE: Issue compiling MDL file in Microstation v.8.05-2004

$
0
0

Hi Mohammad,

[quote user="Mohammad Aryafar"]when I compile it, it returns this error message:[/quote]

You should read error message with attention. The problem is not in compilation (which is a process where object files are created from source code), but in linking (when object files are "merged" with libraries.

And the error message tells clearly where the problem is: Function (symbol) mdlRaster_initialize used in initapp.mo object file cannot be found in any defined library.

[quote user="Mohammad Aryafar"]Can you tell me how I can resolve the issue?[/quote]

For every used API function you have to ensure a proper library is linked. I have no MicroStation V8 2004 Edition installed, but I guess mdlRaster_initialize function is defined in rasterlib.dlo. It means you have to add this library into appObjects definition.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>