[fpc-pascal] Calling fpc libraries from other languages on freebsd/amd64 (bis)
fredvs
fiens at hotmail.com
Sun Aug 3 14:38:59 CEST 2014
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 =>
> https://github.com/graemeg/fpgui/tree/develop
Then. go there =>
> https://github.com/fredvs/fpGUIlib
Select branch: => freebsd-fixes
- Click on "Download Zip". (middle/end of page) and unzip it.
- In /fpGUIlib/src/ change in extrafpc.cfg the directory of fpGUI according
yours. (maybe read ReadMe.txt, it is explained).
- And finally compile the library In /fpGuilib/src/ =>
$ fpc @extrafpc.cfg fpgui.pas
Thats all for compilation.
___________________________________
Now test the library:
Copy the new compiled library /src/libfpgui.so into
> ~/fpGUIlib/demos/demo_Java
Then run the java demo with:
-In terminal do:
-> cd ~/fpGUIlib/demos/demo_Java (go in java demo path)
-> java -Djava.library.path=. fpg_demo
When i try to run it on freeBSD, i get error messages...
Many thanks to help.
Fred
-
PS: If you try the same things with Linux, it should work. (for me it
works).
-----
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-tp5719667p5719865.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list