[fpc-pascal] Calling fpc libraries from other languages on freebsd/amd64 (bis)
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 =>
Then. go there =>
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
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.
PS: If you try the same things with Linux, it should work. (for me it
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