Deploy for windows 32-bit from a 64-bit computer
이전 댓글 표시
I am deploying a small application. I am creating the installation file from a Windows 64-but computer.
When the user tries to install the program on a 32-bit computer it gives an error messages about wrong processor type. How can I create a 32-bit installation package? I don't have access to a 32-bit computer.
채택된 답변
추가 답변 (4개)
Jiro Doke
2011년 4월 3일
2 개 추천
If you don't have access to a 32-bit computer, that's a problem. You need to run through the deployment process on the same platform as your end user's machine.
댓글 수: 2
Petter
2011년 4월 3일
Walter Roberson
2011년 4월 3일
Jiro's answer is the documented and supported one. I could make some half-hearted speculations about the technology, but I really don't know; I do know, that, that the documentation says specifically that cross-compiling is not supported.
David
2014년 3월 27일
2 개 추천
Use the deploytool option -win32. Make sure to use the same MATLAB installation root (matlabroot) for both 32-bit and 64-bit versions of MATLAB and run from a Windows command line (not a MATLAB command line). See the documentation page for more.
댓글 수: 2
Robert Garnett
2014년 9월 8일
The documentation says "You use the same MATLAB installation root (matlabroot) for both 32-bit and 64-bit versions of MATLAB." How do I do this? When I install Matlab I didn't have any idea that this is a requirement of the mcc so guess what? I put them in different directories. Gee do I feel silly now.
It's a no brainer that people will want to compile for 32 bit environments yet their is no way of doing this in the deploy tool GUI that I can see. You have to resort to the usual DOS command line gobbledygook that programmers love and us engineers hate. I don't have the time for this. What's the real solution. Please spell it out! The mcc is not cheap. It should be better than this.
By the way I am compiling for 32 bit because the the DAQ toolbox has been dudded so the old code that was really good doesn't work in 64 bit. The 64 bit code which is really bad doesn't work at all for repetitive daq in and daq out configurations so I have to stay with 32 bit.
Not happy.
Peter de Peinder
2015년 2월 17일
I fully agree with you Robert. Not happy for such a price....
hans
2011년 4월 4일
0 개 추천
You can use "Windows Virtual PC". It generates a 32bit Windows XP environment and you can run any 32 bit applications in it. So if you also are have a 32 bit MATLAB version you can generate and try 32bit MATLAB programs on a 64bit Windows system.
Padman Patel
2019년 10월 4일
0 개 추천
Hello, In my pc have installed 2017b and after build model , dll is generating in 64bit, could you help how I can generate 32bit dll. My PC have window2010 OD
댓글 수: 3
Walter Roberson
2019년 10월 4일
R2017b cannot be used to build for 32 bit Windows. R2015b was the last release that could be used to build for 32 bit Windows.
Padman Patel
2019년 10월 9일
To generate dll I am using ert_shrlib.tlc file , then 64bit dll is getting generated , is there way to generate 32bit dll, I mean backward compatility kind of
Walter Roberson
2019년 10월 9일
No.
If you were using Simulink Real Time then that can generate for 32 bit, but dll support is strictly 64 as far as I understand.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!