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
~/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 ;-)