-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: System.DllNotFoundException: Unable to load DLL 'GvLedLib.dll' #40
Comments
What are the hashes of the files? Powershell: @("GLedApi.dll", "GLedApiDotNet.dll", "layout.ini", "Mono.Options.dll", "RGBFusionTool.exe", "ycc.dll", "GvLedLib.dll", "GvLedLibDotNet.dll", "GvDisplay.dll", "GvBiosLib.dll") | % { Get-FileHash -Algorithm SHA256 -Path $_ } In addition if you could look at use the Dependencies tool on GvLedLib.dll that can show if there's a missing DLL (and then I can look about packaging it). |
Okay, those are all the right files. in that case could you definitely use Dependencies on |
I took another look with Dependencies on my end and it seems that the GvLedLib has a dependency on Visual C++ Redistributable for Visual Studio 2012. It's possible that gets installed with Gigabyte's RGB Fusion app. |
In that case could you use Dependencies to tell me what you're missing? |
Soo strange. Dependencies still say "MSVCR110D.dll is missing", but With latest DLL's from official RGB Fusion (hey they're newer than in SDK) GvLedLib.dll, GvDisplay.dll GvIllumLib.dll (new GvLedLib dependence on it) your program affect M5 mouse too. Also your digital-a works as official RGB Fusion Digital Wave on MB. And digital-a if official RGB Fusion works different way. |
The 20481 is your ram. Same on my box. |
I am having this same problem when trying to compile and build the source code. There are no missing dependencies when I load the |
@BenLiyanage perhaps GLedApi.dll? The .NET DLLs depend on .NET 4.6. |
@WheatTail I saw some additional IDs in the example files that weren't in the documentation so it might be related to those. Setting the LEDs there will need more work - peripheral support is a bit awkward. I'm debating pulling it out of the main releases and extending that in a separate branch because of the problems it's causing (especially with dependencies). I've reached out to Gigabyte to ask if they can package with the missing dependencies but they went silent. |
@BenLiyanage , uh? But my RAM is just Crucial Ballistix Elite, not an AORUS RGB RAM, it haven't LEDs at all. @tylerszabo , i've forked your project and add my M5 correct recognizing, also add color cycle mode for peripheral using your ColorCycleGvLedSetting.cs file by adding parser for it and it's work as in official RGB Fusion. Now trying to add pulse mode but it works... Weird. Ignoring color settings. I need to work on it. |
The |
@WheatTail my ram is a corsair model. It's possible that |
@tylerszabo Visual Studio says I have 4.7 installed. That should be sufficient correct? |
I have figured out my issue--I needed to copy these two DLLs into the build directory also:
Are these supposed to be compiled into the project some how? Where do they come from if they are not coming from the SDK? |
@BenLiyanage I had to pull them from other releases because the officially packaged ones were missing dependencies. Glad you got the compile working. Dependencies are certainly an issue with this project. I think it's probably time I prioritize issue #25. @WheatTail - cool, if you get it working and write some test coverage for it please submit a PR :) |
@BenLiyanage , okay, probably RGB Fusion detects RAM all time have it LEDs or not. GvDistplay.dll and GvBios.dll you can get by installing latest official RGB Fusion BUT you also need GvIllumLib.dll, don't forget it @tylerszabo , color cycle works pretty nice at this time but strange dependece from speed parameter. Than more speed - than slower P7 colors change and faster (till some point, 11 i guess) M5, and vice versa: than lower speed - than faster P7 LEDs color change and slower M5. But i have the same issue with official RGB Fusion. Probably it depends from M5 firmware. |
I am having the same issues with the "Unable to load DLL 'GvLedLib.dll". The issue appears to be that Gigabyte links the GvLedLib.dll file against debug versions of the DLLs which are not installed with the standard VC++ redistributible packages. . |
Fantastic find! @Emu1981. That |
Wow this is really awesome... you kinda stole my thunder because I had some grand schemes when I found gigabyte's sdk. Did you find a way to package the dependencies effectively? The project might warrant a full installshield installation and a more robust dependency check. You might also run into gigabyte complaining about redistribution, but that can be solved by dependency checker including a link to a page on this repo which can then get you to the "right" sdk dlls to download. I'm going to look into this more sometime this weekend and see if I can help out. Btw, see if https://github.com/commandline/commandlineparser works for command line parsing. I admin that project and noticed you were doing your own parsing and tests for parsing. Sorry for the off topic paragraph, lol... |
Well, I did some more digging and it turns out that, technically, Gigabyte is breaching the software license for Visual Studio by distributing the debug versions of the DLLs. Gigabyte needs to sort out their build environment so that the DLLs are not linked and they need to fix their app so that they are not distributing the files without the license to do so. I sent them a message regarding this but I have not gotten a response to it yet. |
I've got new SDK B19.0311.1, but faced with same issue, and @Emu1981 doesn't work for me :( UPD. I checked and it require GVILLUMLIB.DLL which is not in SDK |
MB
Z370 Gaming 7
Note: Recently uninstalled App Center & RGB Fusion
CMD
RGBFusionTool.exe --list
Error
Files
The text was updated successfully, but these errors were encountered: