Skip to content

[Linux, FPC] Cannot run my program #151

@rchastain

Description

@rchastain

Hello! I am discovering SplashKit. I could install SplashKit and compile a program, but I cannot execute the program.

[roland@localhost splashkit]$ skm fpc example1.pas
Free Pascal Compiler version 3.2.0 [2020/07/05] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling example1.pas
Compiling /home/roland/.splashkit/fpc/SplashKit.pas
SplashKit.pas(1578,13) Note: Call to subroutine "function strpas(p:PChar):ShortString;" marked as inline is not inlined
SplashKit.pas(2089,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2141,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2187,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2233,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2279,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2325,19) Warning: function result variable of a managed type does not seem to be initialized
SplashKit.pas(2371,19) Warning: function result variable of a managed type does not seem to be initialized
Linking example1
15175 lines compiled, 0.8 sec
7 warning(s) issued
1 note(s) issued
🎉  fpc command run successfully 🎉
[roland@localhost splashkit]$ ./example1
bash: ./example1: Aucun fichier ou dossier de ce type
[roland@localhost splashkit]$ file ./example1
./example1: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, BuildID[sha1]=6d894d0f7ad7b8eec9e3399f9b30e61ea4054565, for GNU/Linux 2.4.0, stripped

Would you have an explanation (and a solution)?

Regards.

Roland

skm-install.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions