Quantcast
Channel: Grasshopper Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 3657

Issues building ghpython

$
0
0

@ivelin.peychev wrote:

I am trying to build ghpython with VisualStudio2017:

However I receive this error

Severity Code Description Project File Line Suppression State
Error CS0266 Cannot implicitly convert type ‘object’ to ‘System.Windows.Forms.Control’. An explicit conversion exists (are you missing a cast?) GhPython Path\ghpython\Component\ScriptingAncestorComponent.cs 586 Active
public Control CreateEditorControl(Action<string> helpCallback)
    {
      if (m_py == null) return null;
      var control = m_py.CreateTextEditorControl("", helpCallback);
      return control; //error comes up at this 'control'
    }

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 3657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>