Issue running rhino compute locally

Hello,

I am following the guide on Rhino - Compute Guides and faced some issues here.

I’ve cloned the rhino.compute and tried to Debug on Visual Studio 2019.

However, it gives me an error that specified in the ‘compute.geometry’ debug profile does not exist.

Could you help me what is the possible fix to this?

Thank you very much for your help!

Amaraa.

I’ve installed it on a different pc at my work but not on my desktop.
I’m not sure what programs/frameworks are needed to be installed in order to work compute server.

The problem is solved by installing appropriate NET framework.

When you cloned the repo and opened compute.sln you should see two projects. One is called compute.geometry and the other is called rhino.compute. In your solution explorer, right-click on the rhino.compute project and select Set as Startup (the name rhino.compute should become bolded in the Solution Explorer). Next, go to Build -> Build Solution or hit Ctrl + Shift + B. This will build both projects and put the build files in compute/src/bin/Debug. Lastly, right-click on the rhino.compute project in the solution explorer (the bolded one) and select Debug -> Start New Instance. That should launch the rhino.compute console window which in turn should launch the compute.geometry in a child process. Let me know if that works for you. Cheers.

1 Like

This explicitly explanation really helps, thank you very much Mr.Andy.
I’ve successfully run it locally, and now trying to display my gh files on browser. Could you suggest me where can I find latest instruction or workshop video tutorials regarding this? :slight_smile:

Thanks in advance~

I think I would recommend looking into the AppServer. There are a couple of video recordings of workshops which go over the process of setting that up and I think it should do what you’re looking for. Alternatively, you may want to look at the compute javascript samples. I think both will require a remote server setup (unless you create a tunnel to your local compute instance), but I think the AppServer has the most documentation right now.

1 Like

Okay, I will check out the AppServer and find the workshop videos.
Thank you very much and have a nice day!

Hi @AndyPayne , I’ve tried to run the debug the rhino.compute the way you explained but I’m getting this error:

any idea what I’m doing wrong?
Thanks in advance.

Tomas

Hmm. That does look a bit strange. Can you go to the menu at the top and click on Build->Build Solution? Does that work? If it does, then it should create files in compute.rhino3d\src\bin\Debug. Can you go into the rhino.compute subfolder and then try to launch the rhino.compute.exe? Does that work for you?