DSPRelated.com
Forums

Compiling (32-bit/64-bit problem)

Started by Burak Turker December 3, 2009
Hi,

I have a question regarding compiling my program (a program with a GUI). I have 64-bit version of Matlab (R2009a) installed on my computer and therefore the .exe file I compile is a 64-bit application. I can run it without problems. However, some of the people I would like to send the application have 32-bit hardware and operating systems (mostly Windows on Intel based CPUs). So they can't open my 64-bit compiled Matlab application. I've read some Mathworks threads and apparently there is no option to compile a 32-bit application with 64-bit Matlab, installing the 32-bit version being the only solution. I think I will go for this option in the end but I wanted to ask just in case somebody has comeup with a solution to compile the .exe file in 32-bit architecture with 64-bit Maltab installed, byaltering some compiler options or something.
I'm using Microsoft Visual C++ Express 2008 compiler with Microsoft SDK.

Thank you very much.

Burak T.