Grasshopper

algorithmic modeling for Rhino

Hi guys,

I wanted to read a HDF5 file in GH. I have found a .net library that can do that: http://hdf5.net/

I have downloaded the assembly files and placed it in the GH libraries folder. When I try to import the library in a python script component I get the following error:

The file or the assembly 'HDF5DotNet, Version=1.8.9.0, Culture=neutral, PublicKeyToken=a4952c8df86d6e8c' could not be read. This assembly were compiled for another processor.

Can anyone help me fix this?

Thanks,

Christian

Views: 545

Replies to This Discussion

One reason for this could be that you're trying to run the 32 bit version with 64 bit Rhino (or vice versa). Compiling against mismatched .NET frameworks might be another. I'm sure Giulio can add more to this, but you will probably need to provide more information about your case (versions of all involved libraries, Rhino and .NET in particular).

Thanks Anders!

I had downloaded the wrong bit version as you suggested 

Hehe, been there :)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service