Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problem with compiling

조회 수: 1 (최근 30일)
Bijit Banik
Bijit Banik 2011년 3월 30일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I have done a matlab program. It consists two other m-file which is linked with it and also have two image file, one word document and an excel file. I was trying to compile the program to get an executable file of it. The compiler used was Lcc-win32 C 2.4.1. I used deploytool to make an windows standalone applications. First I built an executable file and then made a package of it along with a MCR installer. The new executable file is working well in my computer (Vista-32 bit) but unfortunately not working in other computer (I tried with windows 7, 32 bit). Note that in windows 7 first I had installed the MCR installer and then was trying to run the executable file.
Any suggestion or help ?
Thanks in advance.
  댓글 수: 3
Bijit Banik
Bijit Banik 2011년 3월 30일
@ Ttus : Thanks for reply. Well, the program was basically having a GUI. When I was trying to run the executable file in other computer the GUI came just like a blink (fraction of a second) and immediately disapeared without giving any error message. But it works in my PC.
Robert Cumming
Robert Cumming 2011년 3월 30일
Start a cmd prompt, cd to the directory where your exe is and run it from there.
That way any error message will be written to the cmd prompt and you can react to that

답변 (1개)

Walter Roberson
Walter Roberson 2011년 3월 30일
Try the Dependency Walker on the executable on the second system.
  댓글 수: 2
Bijit Banik
Bijit Banik 2011년 3월 30일
Apologising first, for my ignorance. Would you please tell me what exactly should I do with Dependency Walker?
Thank you.
Walter Roberson
Walter Roberson 2011년 3월 30일
Tell the Dependency Walker to analyze the executable you generated. It will tell you whether you are missing some necessary libraries.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by