Summary: Requirements for using Rhino4_exe.
I am in the process of building my first plug-in with the Rhino C++ SDK. When I press F5 to start debugging, I receive the following error:
Unable to start program 'C:\Program Files\Rhinoceros 4.0\System\Rhino4_d.exe
Here is the rest of the error:
“This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix the problem. For more details, please see the application event log.”
What can I do to resolve this so I can debug my plug-in?
In order to run the debug version of Rhino, or Rhino4_d.exe, the following requirements must be met:
If the above requirements are not met, Rhino4_d.exe will not run.
It is still possible to debug Rhino plug-ins without using Rhino4_d.exe. You can debug Rhino plug-ins using the PseudoDebug configuration.
The advantage of debugging your plug-in using the PseudoDebug configuration is that all other plug-ins will be loaded during the debugging session. This is because release Rhino, or Rhino4.exe, will load all release plug-ins.
Also, PseudoDebug build work with the Evaluation version of Rhino. Thus, it is possible to use the Rhino evaluation version as a debugging platform.
The disadvantage of debugging your plug-in using the PseudoDebug configuration is that you cannnot debug into MFC, as this configuration links with release MFC libraries.