Suddenly today my Karamba stopped working since it got automatically updated to the new version released today (29.01.25). I get a lot of messages regarding components being out of date when I start grasshopper and the error “1. Solution exception: The type initializer ‘feb.karambafebPINVOKE’ threw an exception”. When I look at the license component.
I tried to update Rhino, uninstall other other Karamba versions and then install the new one again. But it did not work, so I have up and reverted back to Karamba 3.1.501321.0 which works fine.
Could this be a bug or can I do something else to prevent this?
Oh sorry, I should’ve specified that straight away.
This was with Rhino 8, NET 7.0.0
Haven’t tried with Rhino 7 yet, but can give it a try later/
Installed Karamba via the package manager.
The mayor difference between the Karamba3D builds 50121 and 50129 is the update of the files
libifcoremd.dll (1262KB), libiomp5md.dll(1280KB) and libmmd.dll(3992KB). The values in brackets are the filesizes for build 50129. It could be that these files were not updated when you used the msi-installer of build 50129. I tried it on my machine and there they were correctly overwritten but maybe there are different security settings in place on your computer.
Another possibility is, that other programs or plug-ins load an outdated version of libiomp5md.dll before Karamba3D has a chance. One example is the Evolute-plugin for surface rationalization. You could try to search for “libiomp5md.dll”, “libifcoremd.dll” or “libmmd.dll” on your computer and replace them by the karamba3D version. The libraries should be upwards compatible - but make a backup of the old versions just in case.
– Clemens
P.S.: If you want to change the version and be sure to be able to revert to the olde version you can backup the folder “Karamba” under "C:\Program Files\Rhino 8\Plug-ins".
Hi again @cp1 !
I tried to update Karamba again (also updating Rhino 8) but get the same errors even though I tried to follow your instructions.
Found that the lunchbox plugin had an older version of libiomp5md.dll so I changed that to the Karamba one libiomp5md.dll(1280KB)
The errors I get are for various components:
Object: Component_AnalyzeThI_new (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
}
Object: Component_AnalyzeThI_new (level 2)
{
The type initializer for ‘feb.karambafebPINVOKE’ threw an exception.
TypeInitializationException
}
Object: Component_AnalyzeThI_new (level 3)
{
The type initializer for ‘SWIGExceptionHelper’ threw an exception.
TypeInitializationException
}
Object: Component_AnalyzeThI_new (level 4)
{
Unable to load DLL ‘karambafeb’ or one of its dependencies: The specified procedure could not be found. (0x8007007F)
DllNotFoundException
}
I’m reverting back to the previous karamba version for now
Hi @karamba3d / @cp1 !
This is still an issue…
The wierd thing is that I tried to update to 50129 in rhino 7 it seems to work well there.
I have managed so far in Rhino 8 with 50121, but just discovered that the 50121 shows the support directions wrongly in modelView which make me even more eager to update to the newest version as this seem to be working as it should in 50129 (tested with rhino 7).
Well for now I’ll try to work in rhino 7 or maybe even try downgrading to version before 50121 rhino 8.