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

Re: [V8i MDL] HelloWorld

$
0
0

MDL and Microsoft #include paths

clever_anthony:
dirToSearch = $(MSMDE)mdl/MicroStationAPI/
%include cincapnd.mki

That directive tells the compiler to look in your MicroStationAPI folder. It doesn't tell the compiler where to look for Win32 C++ header files.

You must tell the C++ where to find header and other files, and you may also need to tell the C++ linker where to find library files.

Put something like this in your make file to tell the compiler where to find C++ header files …

dirToSearch = C:/Program Files/Microsoft Visual Studio 9.0/VC/include
%include cincapnd.mki

As Michael mentioned, you may need to use DOS short paths rather than Windows long paths in your make file.

Regards, Jon Summers
LA Solutions


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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