Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-09

Failed to initialize the Application object ?

3 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

fredvs

Hello.

On a FreeBSD 64 system, with Linux 64 emulated, I can run fpc console Linux 64 applications.
For example fpc-linux 64 run and compiles perfectly on the emulated system.

It can run also Xorg applications compiled with C.

But for running simple fpc + Xorg applications, there is that error message:

/Failed to initialize the Application object !/

<http://free-pascal-general.1045716.n5.nabble.com/file/n5726333/app_error_fpc.jpg>

After Googling, it seems that this message occurs when some library is missing (or with other ELF).

How can I know what library is missing (or bad format) ? Or, maybe, the cause is different ?

Debug did not help (gives same error message without details).

PS: Trying to run Linux 64 fpc-Xorg applications compiled on native Linux 64 or via FreeBSD 64 + Linux 64 emulated has the same bad result.

Many thanks.

Fre;D

-----
Many thanks ;-)

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Failed-to-initialize-the-Application-object-tp5726333.html Sent from the Free Pascal - General mailing list .

Reply by email

fredvs
to fredvs: Hello. On a FreeBSD 64 system, with Linux 64 emulated, I can run fpc console Linux 64…

Hello.

Solved, it was a problem of a dependency of dependency with wrong ELF. Now, I can compile and run Linux applications too on FreeBSD.

Sorry for the noise.

Fre;D

-----
Many thanks ;-)

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Failed-to-initialize-the-Application-object-tp5726333p5726342.html Sent from the Free Pascal - General mailing list .

Reply by email