Visual Studio compiling

I am trying to get Visual Studio 2010 Express working with compiling the 'basic' sample. I did this by copying the sample files into a new VS DLL project and removed the existing files. I turned off precompiled headers (because of the errors the stdafx.h/cpp was giving me). I have added the MDL include directory and the library directory to their appropriate sections in the project config.

Now when compiling I am getting an error:

1>c:\program files\bentley\microstation v8i (selectseries 1)\microstation\mdl\include\bentleytype.h(72): fatal error C1189: #error : define the Int64 types

 

My questions are this: are you supposed to compile the DLL within the VS IDE? Is the creation of the .ma file to be done using bmake?

Trying both ways of compiling out, using the Microstation developer shell, I attempted at building the basic sample as-is using bmake. It incorrectly assumes VS2005 and is unable to find it. I pass bmake the dBUILD_WITH_VS2010 parameter and now it complains it is unable to find the VCVarsQueryRegistry2010.mki file.

This system seems way over complicated.

 

Parents Reply Children
No Data