How to have visual c++ on qemu x86_64 user emulation??

Questions about Wine on Linux
Locked
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

Code: Select all

root@localhost:~/ps3# wine /storage/emulated/0/Download/vc_redist.x64.exe               it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        002e:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vc_redist.x64.exe" not supported on this system                                                       root@localhost:~/ps3#                                                                   root@localhost:~/ps3#                                                                   root@localhost:~/ps3# wine64 /storage/emulated/0/Download/vc_redist.x64.exe             it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        002d:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vc_redist.x64.exe" not supported on this system                                                       root@localhost:~/ps3# wine64 /storage/emulated/0/Download/vc_redist.x64.exe ^C          root@localhost:~/ps3# wine /storage/emulated/0/Download/VC_redist.x64-1.exe             it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        002c:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\VC_redist.x64-1.exe" not supported on this system                                                     root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist_x64.exe                it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        002b:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vcredist_x64.exe" not supported on this system                                                        root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist                        vcredist2008_x64.exe  vcredist_x64.exe                                                  root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist                        vcredist2008_x64.exe  vcredist_x64.exe                                                  root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist2008_x64.exe            it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        it looks like wine32 is missing, you should install it.                                 as root, please execute "apt-get install wine32"                                        002b:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vcredist2008_x64.exe" not supported on this system                                                    root@localhost:~#

why none works??
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by Time4Tea »

Did you try running the recommended apt-get install command? It seems to be saying you need the 32-bit version of Wine.
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

Time4Tea wrote: Sun Sep 05, 2021 6:06 pm Did you try running the recommended apt-get install command? It seems to be saying you need the 32-bit version of Wine.
I can not have 32bit packages on qemu x86_64 it emulate 64bit only
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by Time4Tea »

I have a 64-bit desktop PC and I run 32-bit Windows games on it using 32-bit Wine prefixes and 32-bit versions of most of the libraries. I.e. in general, 64-bit Linux is still able to run 32-bit software.

Otherwise, it seems like you just need to get a 64-bit version of visual C++?
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

Time4Tea wrote: Mon Sep 06, 2021 5:35 am I have a 64-bit desktop PC and I run 32-bit Windows games on it using 32-bit Wine prefixes and 32-bit versions of most of the libraries. I.e. in general, 64-bit Linux is still able to run 32-bit software.

Otherwise, it seems like you just need to get a 64-bit version of visual C++?
Cannot run anything that is 32bit on qemu 64bit emulator even idk how pcs work but qemu dont do that
I will get exec error format if im trying to run 32bit prgram in qemu and if i install wine32 it will break wine64
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by Time4Tea »

amera_09 wrote: Mon Sep 06, 2021 9:44 am Cannot run anything that is 32bit on qemu 64bit emulator even idk how pcs work but qemu dont do that
I will get exec error format if im trying to run 32bit prgram in qemu and if i install wine32 it will break wine64
Well, you're trying to do something that can't be done then (i.e. install a 32-bit version of visual C++ on a 64-bit system). It seems that your options are:
  1. Set up a 32-bit virtual machine to run the 32-bit application that you want
  2. Get hold of a 64-bit version of visual C++
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

Time4Tea wrote: Mon Sep 06, 2021 10:21 am
amera_09 wrote: Mon Sep 06, 2021 9:44 am Cannot run anything that is 32bit on qemu 64bit emulator even idk how pcs work but qemu dont do that
I will get exec error format if im trying to run 32bit prgram in qemu and if i install wine32 it will break wine64
Well, you're trying to do something that can't be done then (i.e. install a 32-bit version of visual C++ on a 64-bit system). It seems that your options are:
  1. Set up a 32-bit virtual machine to run the 32-bit application that you want
  2. Get hold of a 64-bit version of visual C++
I tried several they are all 64bit
Did not you read tge code?

root@localhost:~/ps3# wine /storage/emulated/0/Download/vc_redist.x64.exe it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" 002e:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vc_redist.x64.exe" not supported on this system root@localhost:~/ps3# root@localhost:~/ps3# root@localhost:~/ps3# wine64 /storage/emulated/0/Download/vc_redist.x64.exe it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" 002d:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vc_redist.x64.exe" not supported on this system root@localhost:~/ps3# wine64 /storage/emulated/0/Download/vc_redist.x64.exe ^C root@localhost:~/ps3# wine /storage/emulated/0/Download/VC_redist.x64-1.exe it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" 002c:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\VC_redist.x64-1.exe" not supported on this system root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist_x64.exe it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" 002b:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vcredist_x64.exe" not supported on this system root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist vcredist2008_x64.exe vcredist_x64.exe root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist vcredist2008_x64.exe vcredist_x64.exe root@localhost:~/ps3# wine /storage/emulated/0/Download/vcredist2008_x64.exe it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" 002b:err:module:__wine_process_init L"Z:\\storage\\emulated\\0\\Download\\vcredist2008_x64.exe" not supported on this system root@localhost:~#
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by jkfloris »

Almost all installers for 64-bit programs are 32-bit.
(Otherwise the installer cannot detect that it is running on a 32-bit system)
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

jkfloris wrote: Mon Sep 06, 2021 4:33 pm Almost all installers for 64-bit programs are 32-bit.
(Otherwise the installer cannot detect that it is running on a 32-bit system)
How can i extract the dlls out of that visual c++ installer
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by jkfloris »

Maybe you are lucky.
Inside vcredist_x64.exe is a 64-bit install.exe file.
Extract the file with cabextract or 7z and try to run install.exe with Wine.
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

jkfloris wrote: Mon Sep 06, 2021 5:17 pm Maybe you are lucky.
Inside vcredist_x64.exe is a 64-bit install.exe file.
Extract the file with cabextract or 7z and try to run install.exe with Wine.
Extract it using 7z x
Theses the files is get

Code: Select all

root@localhost:~/aaaa# ls
0   u1   u11  u13  u15  u17  u19  u20  u22  u24  u26  u28  u3   u31  u5  u7  u9
u0  u10  u12  u14  u16  u18  u2   u21  u23  u25  u27  u29  u30  u4   u6  u8
Cabextract worked fine
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by amera_09 »

No exe , and copying the dlls still some are missing

Code: Select all

002b:err:module:import_dll Library MSVCP140_1.dll (which is needed by L"Z:\\root\\ps3\\Qt5Core.dll") not found
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How to have visual c++ on qemu x86_64 user emulation??

Post by jkfloris »

MSVCP140_1.dll is part of Visual C++ 2015-2019
Unfortunately, it is not possible to extract the installer manually.
Locked