< Back to IRCAM Forum

Sdif.dll not loading on startup

Hello,

I tried a new install of OM 6.15 on my Windows 10 laptop. Works OK…none of above messages. I suspect Windows deleted some files during upgrade process. I think upgrade deletes anything it thinks will not be compatible with Win10.

I have a Win 7 machine that will get an upgrade at some point and I intend to uninstall all my open source programs and reinstall after upgrade.

Hope this is helpful.
Don

hello,
i’m getting the same sdif error on startup. has anyone found how to fix it?
this is on win10, om6.19

thanks in advance,
perti

Dear Perti,

Is it the problem of loading only cincerns the sdif.dll?
Do you have midi working?

If it is the case, first of all, this doesn’t concern upgrading. All .dll are included in the om folder and should work. However, it might be a problem with cpu compatibility.
Can you give us the characteristics of you machine regarding cpu?

Best
K

Here it’s working on a virtualmachine:


on a cpu:
Screenshot_2021-10-18_13-48-16
Best
K

hello karim,

midi is working ok. cpu is an old Intel Core i5-2320 CPU @ 3.00GHz which runs fine with other softwares. the sdif.dll file is there but nonetheless om complains at startup. it’s not fatal as i can continue working after that.
thanks again karim,
regards,
perti

Thanx Perti for your answer.

I will investigate and try to find out if it is the cpu architecture that is causing the trouble, i doubt since the i5 is an intel, it should work.
One last question, you did put OM installation in C;.Program files(x86) folder and not on an external drive say like D:’ or E:\ ?

Best
K

thanks again for investigating this. and yes, om is in C:\Program files(x86). this on an intel i5 machine with 8gb ram.
btw, i have just tried installing on an amd ryzen 5 pc and works out-of-the-box. :thinking:
regards,
perti

Thanx Perti,

This means, we might have ti recompile yje lib for this processor.
Once my update on win10 is over, (what a tiresome update 2h and going…) , i will try to see if i can recompile it for All processors.

Best
K

oh karim, if no other user needs it, i can still use my mac. this is an old processor i’m just using for a couple of months. maybe it’s not worth the time and effort. unless, as i’ve said, it’s useful for other users.
thanks anyway karim, you always have a great predisposition to help.
best regards,
perti

Hi Prof. Haddad,

I am having the same problem described here. My sdif.dll do not work, and I already try to replace it using others version, disable antivirus, install OM in others machines. I had no success.

I was having the same problem with libsamplerate.dll. Then I replace the dll for the this Release 0.2.2 · libsndfile/libsamplerate · GitHub and I start to have the problem with sdif.dll.

There is some README that could teach me how to compile sdif.dll for win32.

Thank you!!!

Dear Charles,

which OM version are you using, and which OS are you running?

Best
K

I am using OM7. I am on Windows 11.

OK,
So the issue is with windows 11. The system is 64/32 bits. Are you sure you did install OM in the Program Files (x86) folder, and are you sure you don’t have any other sdif.dll somewhere installed?
The problem with compiling sdif.dll for windows is that we don’t have the correct sources for the moment. I am waiting for our LW win64 bit environment and i am trying to compile all 64 libs for this. This unfortunately will take time, since i am running windows on vm and it is really a pain in the A… :slight_smile:
Best K

Thanks for the quickly answer.

Yes, OM is installed in Program Files (x86). I have OM# too, you think that this could be the problem?

Great news about LW 64bits :slight_smile:.

Thank you very much!

I am not sure. Is omsharp sdif.dll is working?
If yes try the sdif.dll from om sharp.
I will test this tomorow.
BEst
K

No, OM# not work too!

I found out what is the problem!

Seems that sdif.dll needs another dynamic library called msvcr100.dll. So when OM# or OpenMusic tries to load sdif and not find the library it gives this error.

Maybe in Windows 11 Microsoft removed some components that use the library, and it is not delivered with Windows 11 anymore.

I used this software GitHub - lucasg/Dependencies: A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues..

1 Like

Thanx Charles,

It’s good to know.
Will point out the solution,

Best
K

1 Like

Sadly I’m still having the same issue… can’t load OpenMusic 72.\sdif.dll

I’m running Windows 11, x64.

despite the fact, the the dependencies shows I have the MSVR100.dll (I had to download this file manually). I spent so much time debugging this already and I’m stuck…

After that sdif.dll error I’m getting omaudiolib.dll error too (despite the fact I also force copied it into system32/.

Yes i know.
The same with me here i am on windows 11.
However, if you don’t need to use sdif buffers you can still run OM.
Please don’t move the .dll from OM’s folder.

The solution is to recompile the lib for win11. Will do so.
Best
K