-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Exe wont start (Fiddle::DLError) Windows 11 Notebook #48
Comments
Hi Delikt. The most common cause of this error is that you are using a 32bit version of Ruby. This can be confirmed by typing The second most common cause would be that Windows does not have some dependent library installed. We have not actually observed this situation and it is not completely understood, but it is believed to be the case. Finally, it is possible that the problem is due to differences in CPU architecture. It has been recently reported that LibUI does not work on Macs with newer CPUs. Nowadays it is rare to install 32-bit Ruby. If LibUI was running on the same computer before, I don't think the CPU is the cause. So I think it is the second case, but this is not fully understood. |
It's strange that
|
1.size is 4 so its a 32bit irb Console? O.o |
Ok, again on another Win10 PC i got the same Error - i tryed to build the exe with ocra incl. the Parameter "--debug-extract" to check if something missing on the PC's where i get the Error but: i also saw the two PC's where my App didnt start both are i5 from the 6th Gen. Another 6th Gen. work on the other side... Not sure this can help |
I checked the depending dlls for LibUI located in Windows\System32 Folder on the not working Win 11 Notebook, all Dependencies listet below are installed. List of Dependencies from Issue #32:
|
i also tryed to install Net Framework 3.5 Sp1 like #32 (comment) wrote as hint on the Win 11 Notebook. But this didnt Changed anything - same Error. |
Thanks @Delikt For the first case, I think that the 32bit Ruby installed before is still there and it is running. However, the screenshot does indeed look like a 64-bit version of Ruby. I don't know much about Windows, so there might be a case that For the Win10 case, could you please check if the official andlabs/libui release works? Download the following two files from here
Unzip the file, copy And start controlgallery.exe. If this does not work, it means that Ruby's LibUI also does not work because it calls the same binary file |
i got 2 Errors on the not working Win 11 Notebook: in short: "Can't execute the Code, MSVCP140.dll and VCRUNTIME140.dll not found On a PC without start Problems, these Example.exe from #48 (comment) works fine But these .dll's are in the Windows\system32 Folder! Should i include these Files and point to them in another way? |
On a PC where my Application works are many more MSVCP140.dll's and VCRUNTIME140.dll's in the system32 Subdirectorys: VCRUNTIME140.dll found in: "C:\Windows\System32\DriverStore\FileRepository\hpcustomcapcomp.inf_amd64_e8b8e47062b80a1f\x64\vcruntime140.dll" MSVCP140.dll found in: "C:\Windows\System32\DriverStore\FileRepository\hpcustomcapcomp.inf_amd64_e8b8e47062b80a1f\x64\msvcp140.dll" Meanwhile i tryed to add "C:\Windows\System32\msvcp140.dll" and "C:\Windows\System32\vcruntime140.dll" manually to compile with ocra. - Without success... (I copy the two dlls to RUBYInstalldir\bin and use the --dll Parameter with ocra) Also i tryed simple copy and transfer the two dll's to not working PC's C:\Windows\System32\ Folder-> after reboot, it still not working, same Error |
ping @kou, I'm sorry to bother you, but today is Red Data Tools's Day. I understand that you are not using Windows, but do you know anything about this kind of problem? |
Could you try installing "Microsoft Visual C++ 2015 Redistributable Update 3" from https://visualstudio.microsoft.com/vs/older-downloads/ on the problem PC. |
IT WORK! For the example.exe it was just necessary to copy the missing dll's in the same Folder where the example.exe is located: But for my Application this was not the solution - i got the same Error To install "Microsoft Visual C++ 2015 Redistributable Update 3" was also not the solution but almost. SOLUTION: https://aka.ms/vs/17/release/vc_redist.x64.exe and after that my App starting and work! Thank you very much kojix2 and kou ! |
As always, thank you very much, @kou. I have heard before that it is difficult for Fiddle to detect a missing DLL. |
I build an Exe using ocra for my Application
upgraded from Libui 0.0.12 to 0.0.13 (same issue)
I can start my Application without Problems on any Win 10 PC but on a single Windows 11 (upgraded Notebook from 10) i got this Error:
I need to say on another Win 11 Notebook (Preinstalled) the Application run also without Problems.
Any Idea what i should do or check? Please tell me whatever further information you need, if you have a idea. Thanks
The text was updated successfully, but these errors were encountered: