meshmash / Plankton

A C# half-edge mesh data structure, and components for using this in Grasshopper/Rhino
http://meshmash.github.io/Plankton
GNU Lesser General Public License v3.0
216 stars 66 forks source link

Getting Error Message Below when Compiling in VS2017 Community #48

Closed tslewis closed 4 years ago

tslewis commented 5 years ago

Hey Guys

wondering if someone else is getting the compile error below for y]the Plankton solution?

Thanks

Severity Code Description Project File Line Suppression State Error CS1503 Argument 1: cannot convert from 'out Q' to 'out Q' PlanktonGh C:\Users\Steve\Documents\GitHub\Plankton\src\PlanktonGh\GH_PlanktonMesh.cs 331 Active

image

michaldengusiak commented 4 years ago

Hi, I just used Visual Studio 2019 and connected to Rhino 6 and have the same error, Any help would be appreciated, @pearswj @Dan-Piker

image

pearswj commented 4 years ago

I'm looking into this! Am I right in assuming that you've updated the projects to target .NET Framework 4.5 and are referencing Grasshopper/RhinoCommon v6.*?

In the meantime I've updated the code to fetch Grasshopper v0.9.76 and RhinoCommon v5.12.* using Nuget, which should make compiling super easy.

michaldengusiak commented 4 years ago

@pearswj thanks for looking at this, I updated to target .NET Framework 4.7.2 and yes referencing directly C:\Program Files\Rhino 6\System\RhinoCommon.dll C:\Program Files\Rhino 6\Plug-ins\Grasshopper\GH_IO.dll C:\Program Files\Rhino 6\Plug-ins\Grasshopper\Grasshopper.dll

michaldengusiak commented 4 years ago

@pearswj thanks I can now rebuild all with VS2019 image