I’m experiencing issues with the standard C++ plugin template for Rhino 8. When creating a new project using the template, it generates with 25 compilation errors, mostly related to undefined OpenNURBS types (ON_2fPoint, ON_3fPoint, etc.) and CRhinoDib.
Environment:
Visual Studio 2022 Community
Rhino 8 SDK (ver. 8.16.25042.13001)
Latest Rhino VS Extension (8.15.0)
I’ve tried:
Updating project’s include directories for OpenNURBS
Modifying preprocessor definitions
Adjusting header files inclusion order in stdafx.h
Reinstalling the Visual Studio extension
Using different .props files from SDK
The same errors persist even in a clean new project from the template.
Hi there!
Thanks for your feedback.
This is my first experience with C++, and I didn’t know that the project could compile successfully even though IntelliSense displays errors. In reality, there are no build errors at all.
However, since you’ve pointed out these messages, could you please explain why issues related to OpenNURBS (such as types ON_2fPoint, ON_3fPoint, CRhinoDib, etc.) are occurring? I’ve already tried adjusting the include paths, modifying preprocessor definitions, and changing the header inclusion order, but the errors persist. Your insights and advice would be greatly appreciated!