Hi,
I'm trying to manually convert an add-in that worked in MicroStation v8i so that it works in MicroStation CONNECT Edition. So far I managed to do a couple things that work and I fixed a few errors too. However, I can't figure out why when I include MicroStation.r.h all of a sudden I get tons of errors from that file. I use Bmake to compile outside of visual studio. Here's some of the errors:
C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MicroStation.r.h(11) : error: can't open #include file DgnPlatform\DgnPlatform.r.h
C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MicroStation.r.h(11) : error: No such file or directory
C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MicroStation.r.h(12) : error: can't open #include file DgnView\DgnViewSettings.r.h
C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MicroStation.r.h(12) : error: No such file or directory
(etc, same errors for DgnPlatform\Image.h and Mstn\MdlApri\rtypes.r.h)
C:\Program Files\Bentley\MicroStationCONNECTSDK\include\Mstn\MicroStation.r.h(43) : error: 'typedef' : syntax not recognized
I use the MicroStation CONNECT Developer Shell and the environment variables seem to be instantiated correctly.