Problem with compiling
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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 Kommentare
Titus Edelhofer
am 30 Mär. 2011
Maybe telling us what "not working" means? Error message for example? It helps to compile to "Console application" instead of "Windows application", so when starting the application from a cmd window you see what's happening.
Bijit Banik
am 30 Mär. 2011
Robert Cumming
am 30 Mär. 2011
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
Antworten (1)
Walter Roberson
am 30 Mär. 2011
0 Stimmen
2 Kommentare
Bijit Banik
am 30 Mär. 2011
Walter Roberson
am 30 Mär. 2011
Tell the Dependency Walker to analyze the executable you generated. It will tell you whether you are missing some necessary libraries.
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!