Re: R2008a x64 use mcc to complier the exe file, but error occurs
- From: "Ashish Uthama" <first.last@xxxxxxxxxxxxx>
- Date: Sun, 15 Mar 2009 16:44:00 -0400
On Sun, 15 Mar 2009 03:50:02 -0400, Ken Lin <zhihai_lin1982@xxxxxxx> wrote:
"Bruno Luong" <b.luong@xxxxxxxxxxxxxxxxxxxx> wrote in message <gpiagf$qc3$1@xxxxxxxxxxxxxxxxxx>..."Ken Lin" <zhihai_lin1982@xxxxxxx> wrote in message <gpi9o2$c1n$1@xxxxxxxxxxxxxxxxxx>...
> I setuped the R2008a x64 on x64 win OS, and I used "mcc" with visual c++ 2008 to build an *.exe, anything was fine except that an error came out when I double-click the exe file, windows showed up with words as ".....not a vaild win32 file". Anyone knows the solution plz helps me...
You have to compile using 64 bit compiler.
Not sure how you can still generate a win32 file. In the normal setup, it cannot happen. Was the win32 is something left off on your computer? You can no longer using it.
Bruno
Thanks for concerning. Here is the step I complier the exe:
1. setup visual c++2008 express edition
2. setup SDK v6.1 with x64 complier
3. setup Matlab r2008a x64
4. mbuild -setup
5.choose 1 for visual c++
6. mcc -m graph.m -o graph, and graph.exe produced successfully
where do probabily the error occur?? could you have any idea??
Ken,
Could you try compiling something simple for us?
Create hello.m which has just one line:
disp('hello')
Replace step 6 with mcc -m hello.m
Then, from within MATLAB, type !hello.exe.
Please tell us what you see.
.
- References:
- R2008a x64 use mcc to complier the exe file, but error occurs
- From: Ken Lin
- Re: R2008a x64 use mcc to complier the exe file, but error occurs
- From: Bruno Luong
- Re: R2008a x64 use mcc to complier the exe file, but error occurs
- From: Ken Lin
- R2008a x64 use mcc to complier the exe file, but error occurs
- Prev by Date: Re: order of the find() result
- Next by Date: Re: using MATLAB in C#
- Previous by thread: Re: R2008a x64 use mcc to complier the exe file, but error occurs
- Next by thread: if, elseif, else & while loop
- Index(es):
Relevant Pages
|