-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Looking to help out, SW2022 up and running! #29
Comments
Hey @ripxorip , Yes, there are still some problems with the package dependencies at the moment. Because the combination of Wine and Wintricks as well as certain DLL's play an important role in the porting of SolidWorks to Linux. Because not only "mfc140u.dl" causes such problems, but also VBA 7.x itself! Because this version is now being used in more and more programs and it is not yet properly supported under Wine. But it is precisely these problems that I would like to get rid of next year! Anyway, I'm glad you're offering to help me. There will soon be a DoDo list where you can take a look. Otherwise, I wish you a happy new year! Cheers Steve |
I managed to get large assemblies working now as well, after some debugging I concluded that it actually crashed in the native msxml6.dll. I went back to the builtin msxml and now it errored out in that code instead. Managed to dump some of the memory before the crash and It mangled the attribute for some elements when writing the XML to string. Wrote this patch for the 7.8 release which makes it work, (remove the msxml6* from winetricks obviously). I still have some bugs left to smash, the most prominent one seems to be that the app crashes after closing all documents and then opening new ones. Seems fine as long as there is always one document open. But I can live with that :) Will also try to make my spacemouse play nice with Wine. |
@ripxorip Could you give me a hint on how to install it? The solidworks.msi installation finishes, but doesn't produce any .exe files while the setup.exe hangs at the "Checking for client installations..." stage. I'm using wine 7.8 on Arch linux. |
Where is this msi file? Can you provide a way to download or find it? |
It is |
@ripxorip were you able to refresh the installer pages and options prior to getting the install done? having a hard time selecting components... in process of installing the whole 2022 premium suite. could'nt deselct items as the setup window interface was not changing or showing selections when prompted. |
@nathaneltitane You can switch to another window and then back to refresh the window. At least on my machine. |
that's what I had been doing, but still no refresh for the 'change' submenu on component selections... EDIT: For anyone having the same issue with the installer: click on the little pencil, not the link! Fixed. |
could you please provide clear steps as to how to make sure only 7.8 components are installed? Thank you |
Sorry for the delay guys, I fixed several "bugs" to get solidworks running smooth. Made my own wine-fork with the fixes, compile that and give it a try. I just need to go through it once more and make it public. Currently some hacky debug prints all over, I based it on Wine 8 RC3 (I think). Some fixes I got upstreamed and some needs to be fixed in libxml. |
Also, I will try to make a PR with a new bash script that I use for the install. Works reliably with my wine fork and Arch, but that shouldnt matter if you use my fork. :) |
cool, thanks - last question: is your install standalone or flexnet? EDIT: @ripxorip - I've tried every combination I could of setups and none of them has worked for me. This is becoming increasingly annoying. Are you sure 7.8 was the only way to get it in? |
@ripxorip I see that you made a PR to upstream wine. Was that the problem? Also can you please provide your script to be able to install sw? EDIT: I got it working by using The msi installer did not finish though. EDIT 2: I'm trying the normal installer to play nice and |
Hi @dzervas the msxml people didnt wanna merge the PR because they thought the issue was in Wine. The WINE PR is merged. You need to press enter a few times when the installer freezes. I have been getting RSI in my fingers lately, but will try to clean up my wine fork and make it public as soon as possible. I also have a working bash script that always succeeds installing SW (and believe me many times it has been...). Just need to clean that one a bit too as my keys are there now. |
Check the msi log when running that one standalone, will give you a hint what you need to patch. |
Here is the patch I am using when compiling my wine fork: https://gist.github.com/ripxorip/b8ec337319bfda0e930d887839351fce |
This is the (not so clean) script I am using to setup the prefix:
|
Here are the important bits of the install script:
|
You need to run it in Windowed mode otherwise the pointer is off, same for me. I think it has with something to do with the compositor you are using. Im on Plasma with the same behavior. |
I also have an alpha ready for Spacemouse integration, that was crazy hard due to all the dotnot crazyness of Solidworks. Hard to find good documentation/support from Dassault also... |
@nathaneltitane See my gist, compile wine after checking out d059dd1cd07 (7.8) and applying that patch. The create the prefix like my previous comment. |
wooo, thank you! will test it soon! |
No problems, hope it works for you as well! I also plan to try to make a flatpak of my changes. |
there’s no possibility to run in a bottle right? needs the specific wine version with the patch (maybe we can use soda, lutris or wine-ge?) |
I installed the msi successfully! https://github.com/flathub/org.winehq.Wine branch stable-22.08
the file |
Wow! Excellent, Ive got a steam deck as well, are you rebuilding the wine flatpak? |
oh yes yes, git clone, apply the patch and flatpak-builder. (side note: steam deck does not come with a flatpak builder so you'll have to install it from flatpak 😂 ) |
On a side note: you can |
also @ripxorip I see that you use a I see that it lives under |
Great gonna try that! :) |
GLU is needed when sketching as far I can remember. |
AHA! |
Thats so cool! 👍 |
@CRT-HAO Hi, I'm also trying to do this via crossover but finding it difficult to make it work, could you please give a rundown of the steps you followed. |
@thuvasooriya If it crashes with error in concrt140.dll just set it to Native, builtin in DLL overrides in wine configuration. This fixed it for me. |
Sorry I find this hard to follow, can you please point me to which steps did you follow exactly |
Can't get sldIM to work properly - tried 2022 through 2024, nothing |
Hi @cryinkfly , I have been spending my xmas getting sw2022 up and running on wine. Wanted to share some points/ask some questions.
swwi/data/solidworks.msi
which went fine. However, as mono is missing regasm.exe I had to use winetricks to install native dotnet instead. Have you ever been able to run 2022 without native dotnet? There is no wintricks for dotnet in your installers.sldappu -> mfc140u (pagefault)
. And I cant attach the debugger. Running with +trace seems also to break the app.I really want to contribute to get this software working as it runs really smooth on my system when it actually is working. Just want to iron out the 'final' bugs. Do you think you can point me in the right direction?
Happy new year!
The text was updated successfully, but these errors were encountered: