>> 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". (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-tp5719667p5719864.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal