I started following tutorial for rhino first plugin in C++ :
I managed to build the project, but when I load test.rhp file to rhino beta I get error window:
Unable to load Test.rhp plug-in: initialization failed.
Can someone guide me through this process to build the first plugin correctly?
What I did:
I downloaded and installed required C++ assemblies, then created new project with template and deleted #error Developer declarations block is incomplete!
You can just install over the top of the the previously installed version. But there shouldn’t be a reason to download a new SDK. You should, however, download and install an updated Rhino 6 Beta.
Thank you for the reply. It is finally solved and I would explain what was causing this issue:
It is probably C++ specific (if you know why please explain)
In my office pc I have 2 drives C and D drive. I was writing visual studio projects to D drive.
I took my laptop home and tried to create new visual studio project and this time visual studio complained that I have no permission to use debugger on D drive. So I simply change directory of project to C:/VisualStudioFolder created test plugin there. Loaded in rhino and it works.
I’m facing the same problem. I tried to migrate my c++ plugin from Rhino 5 to Rhino 6. It compiles but i cannot load it. I already checked the version numbers but they are the same.
The new project, following the instructions, builds and loads in Rhino.
I tried also to follow the migration guide, but I could not find the pseudodebug in order to rename it. But what I understood this is just a release version with debug information, so this should not affect the release compilation, should it? However, my plugin builds for release.
The PlugIn structures itself is more complex than the template as it has several subprojects.