News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Create a portable executable

Started by Lory88, March 24, 2013, 11:16:06 PM

Previous topic - Next topic

Lory88

Hi guys. I need to get a portable executable from a Fortran working program on Windows 7s. In particular, I need something like an icon such that if I double click in it the program stars even if C::B is not open or not installed on the computer. If I double click on the executable produced by C::B a window error appears on the screen saying that a .dll file is missing (libgcc_s_sjlj-1.dll). From what I've read on the Internet the problem is due to the fact that I'm building the project in Debug mode and I should change it to Release mode. But if I do in that way I obtain an error even when running the program in C::B. In particular I get:
" Fortran runtime error: Integer overflow when calculating the amount of memory to allocate "
Any idea for solving this problem? Is it right that I need to build the file in Realese mode?

Thank you!

MortenMacFly

Quote from: Lory88 on March 24, 2013, 11:16:06 PM
Is it right that I need to build the file in Realese mode?
No. But you are in the wrong forum. This forum is dedicated to answer questions related to Code::Blocks, not general programming. You agreed to that when registering here.

In addition only a very few people here use forum - you should definitely try a Fortran related forum.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

Quote from: MortenMacFly on March 25, 2013, 07:09:38 AM
In addition only a very few people here use forum fortran - you should definitely try a Fortran related forum.