Dendro for mac beta


It still doesn’t work and gives me this message. It shows up in grasshopper but does work. Any idea how to fix it ?

Have a look at this one here:

This is an issue. Not sure about getting it notarized, but you be able to able to remove the quarantine.

You can try and run this command in your terminal

xattr -d com.apple.quarantine path/to/your.dylib

where you replace the path with the actual path of your .dylib file.
DO THIS ON YOUR OWN RESPONSIBILITY. I’ve literally just copied this from an LLM response, so take it with a grain of salt.

If anyone has an apple developer account, would you be up for helping getting it notarized?

Hi! Thank you for the Dendro plug-in. It’s priceless to anyone who has been working with OpenVDB for modeling purposes and 3D printing. I’ve waiting for the MacOS version (Apple Silicon compatible) and yesterday I found this post.

In order to make it work I did the following steps:

  1. Get the files from Timo’s previous posts and put them in them in the components folder (Open Grasshopper>File>Special Folders>Components folder… A new Finder Window with the components folder open. To keep it tidy, create a Dendro folder inside it and put the files in there.

  2. Reboot Rhino and Grasshopper. The tools will be there, but if you try to use them the infamous ““libDendroAPI.dylib” can’t be opened because Apple cannot check it for malicious software” will appear. In order to solve it, go to System Settings>Privacy & Security and confirm the exception to use it anyway. Next time you try to use it in Grasshopper, it will ask if it’s ok to use it. Confirm and proceed.

  3. If you don’t have Homebrew installed on your Mac, before doing the 4th step, execute in Terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  1. Last, to solve the final issue for the correct execution of the Dendro components (“Solution exception: Unable to load shared library…”), open a Terminal window and type:

brew install boost cmake c-blosc openvdb tbb zlib

This should solve the issues. Reboot both Rhino and Grasshopper and enjoy this amazing toolset!

4 Likes

Thank you so much for these detailed install instructions. Thats what everybody here has been waiting for. haha
I still wasn’t able to do the 4. step. This is what it shows in the terminal when I paste in “brew install boost cmake c-blosc openvdb tbb zlib”

Do you know why it says command cant be found ?

After putting the following command in the terminal i was able to finish step four and now everything works! Thank you again! Thats a huge win for mac users.

cd /opt/homebrew/bin/

PATH=$PATH:/opt/homebrew/bin

echo export PATH=$PATH:/opt/homebrew/bin >> ~/.zshrc
1 Like

thank you

Thank you very much for the detailed guide. It worked exactly as described for my friends, and Dendro is now running on their MacBooks. Unfortunately, it does not work on mine.

I have a MacBook Pro 13" with an M1 chip (2020), while my friends have the 14" and 16" M1 Pro chip models. Could this difference be the cause of the issue?

I also do not receive any security prompt in Step 2 when opening the application. I can trigger the security settings prompt only manually when I try to double-click the .dylib file in the components folder.

All terminal commands execute without any issues. However, when I try to use the Dendro components, I get the following error message:

“1. Solution exception: Unable to load shared library ‘libDendroAPI.dylib’ or one of its dependencies. In order to help diagnose…oAPI.dylib’ (relative path not allowed in hardened program), ‘/usr/lib/liblibDendroAPl.dylib’ (no such file, not in dyld cache)”

I would really appreciate any help with this issue.

solved the issue! all I had to to is uncheck the “opening with rosetta” for the rhino 8 application. everything is working great now.

Dendro Mac rhino7_8.zip (3.8 MB)

Here are the compiled files for Rhino 7 and 8 — maybe they help someone!

2 Likes

Hey guys, we have put a complete tutorial on How to install Dendro on Mac.

6 Likes

I did all the steps and it still didnt work on rhino 7 any advice

Hello @Cademy_Xyz , thank you for making such a great instruction!
I have tried to follow the steps you made but the final step shown failed. (see picture)

I got a MacBook Pro 2023 (Apple M2 pro) and Rhino 8 (8.22). would you maybe know what is the issue?

Hi, I’m also experiencing this error after following @Cademy_Xyz’s guide. Also using Apple Silicon (M1 Pro, Rhino 8.25)

Unfortunately, this installation didn’t work for me on a new M4 Macbook with Rhino 7.

The plugin installs successfully, but when using the components, the .dylib appears to be empty.

I re-built the components following @Cademy_Xyz ‘s guide, with a few modifications:

  1. Create an x86_64 Homebrew installation (if you don’t already have one)

    arch -x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
    
  2. Install x86_64 versions of the dependencies

    arch -x86_64 /usr/local/bin/brew install openvdb tbb c-blosc

  3. Compile with x86 flags:

    cd DendroAPI
    mkdir build
    cd build
    cmake .. -DCMAKE_OSX_ARCHITECTURES=x86_64
    make
    

Here are the files that are working for me (M4 Macbook Air, Rhino 7):

1 Like

I’ve pinpointed the issue: OpenVDB was updated to 12.1.x, while the Dendro build in my guide targets 12.0.x.

Run in Terminal:

brew list --versions openvdb

If it shows openvdb 12.1.X, it won’t work (yet). If anyone can compile Dendro on Rhino 8 against the newer version, that would be greatly appreciated.

Does it work for you on V9 wip?

Here are the new compiled files for Rhino 8 — maybe they help someone!

COMPILED_Rhino8.zip (742.8 KB)

6 Likes

Thank you! Nothing above helped me (M2) Rhino 8.25

But with your compiled files it finally works.

Thanks @Maximilian_Wacker I have updated the files to run on the latest Homebrew & OpenVDB versions.

To run a fresh install, first delete all the previous Dendro files from Rhino Component Folder and paste the newer files. Then, follow the tutorial from scratch. This will reinstall/update hombrew and openVdb to latest versions. Now restart Rhino & Grasshopper. Allow Dendro files to run (remove from quarantine from security).

1 Like