Running karamba3D2.2.0.10, an error occurred

Running karamba3D2.2.0.10, an error occurred.

When I open grasshopper, I get the following error:
“Could not set shortcuts in C:\ProgramData\Karamba:
System can not find the route. (Exception from HRESULT: 0x80070003)”
And when I run Analyze (Karamba3D) battery,RHINO crashes.
But,when I run karamba3D1.3.3, the error does not occur.

WIN 10 21H2 Rhino 7.14 Karamba3D 2.2.0.10

Dear @lop_kid,
thanks for your bug report and sorry for the inconvenience.
Does the path 'C:\ProgrmData\Karamba\ exist on your hard disk?
Could you try to install Karamba3D 2.2.0.11 from https://github.com/karamba3d/K3D_NightlyBuilds/releases and check whether the problem occurs there as well?
– Clemens

When I use Karamba3D 2.2.0.11, the software still crashes. But when I use Karamba3D 1.3.3, the software works fine. With Karamba3D 2.2.0.11, the Karamba folder cannot be generated.

´Ó Windows °æÓʼþ·¢ËÍ

Edition Windows 10 Enterprise
Version 21H2
Installed on ‎11/‎19/‎2021
OS build 19044.1566
Experience Windows Feature Experience Pack 120.2212.4170.0

When I run 2.2.0.3, no error pops up: "Could not set shortcuts in C:\ProgramData\Karamba:
System can not find the route. (Exception from HRESULT: 0x80070003)”
But when I run the battery “Analyze” under this version, it still crashes.

Dear @lop_kid,
I think there are two problems which have probably a similar root: the crash and the problem with the path.

In Karamba3D 2.2.0 the folder ‘C:\ProgramData\Karamba’ is used to store the license agreement and a link to the installation folder of Karamba3D. This became necessary because karamba3D can now be installed via the Rhino Package manager. Do you have write rights in ‘C:\ProgramData’?

Do you install Karamba3D via package manager of msi-file? Do you use the standard installation path for Karamba3D? Please check whether there are multiple versions of ‘libiomp5md.dll’ on your hard disk.
Also try to uninstall Karamba3D. Make sure to delete all versions of ‘karamba.dll’ and ‘karamba.gha’ from your hard disk before reinstalling Karamba3D.

– Clemens

Hi Clemens, what is this libiomp5md.dll file? I can see my hard drive has several copies in:

C:\Program Files\Rhino 7\Plug-ins\Karamba
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler
C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\ModelBuilder\AutoMLService
C:\Program Files\Tekla Structures\2022.0\bin

Should I just keep 1? which one should I keep? Thanks

hello @user1986,
‘libiomp5md.dll’ is the openmp library of Intel. You should keep the files since they are referenced by and necessary for other programs.

The problem is, that newer versions can be used instead of older ones but not the other way round. There are other GH plugins besides Karamba3D which make use of ‘libiomp5md.dll’ but come with outdated versions. If they get loaded before Karamba3D this can cause Karamba3D to crash.

– Clemens

Hi Clemens,

So it is safe to say that if there is no other ‘libiomp5md.dll’ file in C:\Program Files\Rhino 7\Plug-ins (where I store all of my plugins, except for TT Toolbox, GrasshopperTeklaLink.gha and Tenrec.gha - which I can’t find what it is) then I would be fine?

I can see Visual Studio uses this file as well and we use Visual Studio to create our own Grasshopper Component, would that be an issue if the version in VS does not match karambas one?

Hi @user1986,
I would say it is save. If you encounter problems with Karamba3D you could try to replace old versions of ‘libiomp5md.dll’ with the latest one.

‘libiomp5md.dll’ is only used by the C++ part of Karamba3D. Grasshopper components written in C# do not depend on it directly.

– Clemens

1 Like