Free windows compiler

If you want to compile your model with Windows, the best way is to use Visual C++ 6 compiler.

This compiler is freely available in the Microsoft Windows SDK. 

All you need to do is download the attached file WinSDK.zip, unzip it, and install winsdk.exe.

We recommend to keep the default installation path C:\OPAL-RT\WinSDK.

Because RT-Lab is not yet officially compatible with Windows SDK, you can fake it to accept this as a VC++6 compiler. Edit vc6.reg to set the right path (C:\OPAL-RT\WinSDK by default) and import it into the registry:

  • Open the registry editor (Start --> Execute --> regedit)
  • In the registry editor window, in "File" menu, select "Import"
  • Browse the file "vc6.reg", which is in the attached zipped file
  • Open RT-Lab, create a project, add a model and set "Target platform" to "Windows XP/Vista/7" in the "Development" tab.
  • Compile the model

 

 

WinSDK.zip