Aaaargh, difficult t find help here...
In the original thread
[fpc-devel] (hack) calling fpc libraries from other languages on
freebsd/amd64
of Michal Wallace michal.wallace at gmail.com
Michael Wallace said that he has find the solution :=
Anyway, the problem appears to be in this file:
On 03/08/2014 01:36, fredvs wrote:
What can i do ?
Start providing source code so people can follow what you are trying to
do instead of having to guess would be a nice step ;)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
In our previous episode, fredvs said:
/usr/home/fred/fpGUIlib/demos/demo_Java/libfpgui.so:
/usr/home/fred/fpGUIlib/demos/demo_Java/libfpgui.so: Undefined symbol
operatingsystem_parameter_envp
;-(
So, fpc 2.7.1 does not do the trick...
What can i do ?
First test it with a normal FPC
Start providing source code so people can follow what you are trying to
do instead of having to guess would be a nice step ;)
First, fpGUI must be installed =
https://github.com/graemeg/fpgui/tree/develop
Then. go there =
https://github.com/fredvs/fpGUIlib
- Click on Download Zip.
Ooops, in last topic, branch freebsd-fixes must be selected...
Here re-explaination from sctatch =
Start providing source code so people can follow what you are trying to
do instead of having to guess would be a nice step ;)
First, fpGUI must be installed =
Yes, it is still me...
You may try the compiled and binary java demo for Linux 64 bit :=
https://sites.google.com/site/fiensprototyping/demo_Java.tar.gz
Download and unzip the demo.
Then :=
-In terminal do:
- cd /demo_Java (go in java demo path)
Then run it with:
- java
Is it solved in trunk fpc version ?
Why don't you try?
I have install a brand new trunk version of fpc 2.7.1 64 bit on freeBSD 10
64 bit.
The library was successfully compiled.
But, sadly, i get hat error message while trying to run a java application
who use the library (that java
On 29/06/2014 21:52, fredvs wrote:
There was exactly the same problem in a earlier topic :
= http://lists.freepascal.org/pipermail/fpc-devel/2013-November/032950.html
Is it solved in trunk fpc version ?
Why don't you try?
___
fpc-pascal
Hello everybody...
Hum... no answers or no ideas ?
Thanks.
Fred
-
Many thanks ;-)
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Calling-fpc-libraries-from-other-languages-on-freebsd-amd64-bis-tp5719667p5719700.html
Sent from the Free Pascal - General
Ooops, i forget to note something...
My goal was to expose some pascal library to Java, of course those fpc
libraries follow the Java-native-library-way.
Those libraries loaded by a Java application work with Linux (tested on Mint
32/64) but fail to work with freeBSD...
Thanks.
Fred.
-
10 matches
Mail list logo