Windows software installation errors and troubleshooting
Source: Internet
Author: User
Windows software installation errors and troubleshooting-Linux general technology-Linux technology and application information. The following is a detailed description. When using linux, users will always encounter problems of sharing and communicating documents with others, while most users use windows systems. This leads to the need to install windows software in linux.
1. Install rtx Software
1) during installation, some errors will be reported in the background: for example, mfc42u. dll cannot be found, you can copy it from the windows/system32 directory to the corresponding wine directory.
2) If it is automatically built wine, it is possible to have libxml2 support was not present at compile time problem, then you need to install the libxml2-dev package.
2. install some software with input check, such as China Merchants Securities, which may contain errors similar to X11DRV_SetDIBits + 0x1f2 () in winex11. in this case, install patches. The patching method is as follows:
1) download wine source code
2) modify the file wine/dlls/winex11.drv/dib. c B/dlls/winex11.drv/dib. c as follows:
Skipped content of type multipart/alternative ------------ next part --------------
Diff -- git a/dlls/winex11.drv/dib. c B/dlls/winex11.drv/dib. c
Index cec2058.. 809897e 100644
--- A/dlls/winex11.drv/dib. c
++ B/dlls/winex11.drv/dib. c
@-Route + route @ INT X11DRV_SetDIBits (X11DRV_PDEVICE * ph
X11DRV_DIB_IMAGEBITS_DESCR descr;
BITMAP bitmap;
LONG width, height, tmpheight;
+ Int nrsrcbytes, dibpitch;
INT result;
Delete the row with a minus sign on the left, and add the row with a plus sign on the left.
Compile after modification. If you use the debian system, use the following command to compile:
Cd wine
Sudo debian/rules clean
Sudo debian/rules build
Sudo debian/rules binary
3. assertion failure error:
Text. c: usr32 pellip-> under = 0 & pellip-> after = 0
May be garbled. Configure wine to support Chinese characters.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.