View previous topic :: View next topic |
Author |
Message |
maxell233H
Joined: 24 Dec 2020 Posts: 4 Location: England
|
Posted: Thu Dec 24, 2020 8:25 pm Post subject: Cannot create standalone executable |
|
|
How do you create standalone executables for fortran90 programs using Plato? I've tried creating the executable using the 'release' option, but whenever I place it onto a computer without Plato I get crashes complaining about missing DLLs. What am I doing wrong here? |
|
Back to top |
|
|
maxell233H
Joined: 24 Dec 2020 Posts: 4 Location: England
|
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Thu Dec 24, 2020 10:49 pm Post subject: |
|
|
You can copy the EXE and salflibc.dll to the other computer, manually or by using a batch file. By the time you start wanting to copy files to specific directories, (including setting them up in the first place), and adding things to the registry, doing it that way gets tedious, and there's always the chance of missing something.
You can use an installer or setup program, which automates the process. I use Jordan Russell Software's free InnoSetup program (Google it). It has the advantage of compressing all your files into one EXE, which unpacks itself when you run it. InnoSetup has the other advantage of being free!
Merry Christmas!
Eddie |
|
Back to top |
|
|
|