I have a C code created in Plato3. I want to create an exe file so I can share it with others.
Can someone please tell me how is this possible ?
I have tried sending the exe file that is created when normally compiled, but it crashes every time in runs on computers other than mine …
Please help,
Thanks 🙂
[EDIT]
Program running on windows xp or vista .. same error :
Compiler used : SilverFrost (Fortran/C/C++) Development Studio (Plato3)
This application has failed to start
becausesalflibc.dllwas not found,
reinstalling the application may fix
this problem
salflibc.dllis a library installed by the compiler on your development machine.salf= Salford C Compiler, the obscure compiler included in Silverfrostlibc= C-language runtime support library, necessary for the basic functionality of any program.dll= dynamically-linked library, i.e. a separate file from your.exefileYou might look for a compiler option that looks like “statically link runtime library;” this might eliminate the DLL dependency. However, if the compiler were capable of doing that, one would expect it to be the default, if not the only way.
However, I recall from the olden days of Classic Mac OS that sometimes DLL runtime libraries were used, the benefit being upgradability. Sometimes is a key word, though. (I suppose when the compiler vendor is the OS vendor, as with MSVC or Apple GCC, it is the norm, though.)
Another trick from that environment was to put the DLL in question in the application’s directory and distribute it with the app. Typically runtime DLLs are licensed for free redistribution.