multiwii / multiwii-gui-processing

Gui Config - GitHub mirror of the official SVN multiwii project.
https://github.com/multiwii/multiwii-gui-processing/wiki
41 stars 59 forks source link

Missed to mention how to build #6

Open albfan opened 4 months ago

albfan commented 4 months ago

Probably obvious, but miss to mention that https://processing.org/ is needed to build this GUI

It needs to import controlP5, which can be downloaded directly from processing and which source code is avaliable here: https://github.com/sojamo/controlp5

albfan commented 4 months ago

@derFliegendeHamburger Processing just use the libraries installed on $HOME/sketbook

after obvious controlP5 that can be installed from manage libraries, I export the build and see this differences on attached libraries:

Captura desde 2024-04-23 12-10-16

Apart from jogl and jogl-al I suppose this needs:

Is there a way to add this in processing config file? or we can add into README.md

For controlp5 I think it miss what version it needs (or what minimal version it needs)

derFliegendeHamburger commented 4 months ago

not sure I understand what you are after. Last year I wrote how to build MultiWiiConf on macos 11.7 (and win10) in 2023. Maybe this helps to clarify? http://www.multiwii.com/forum/viewtopic.php?f=8&t=8908

On 23. Apr 2024, at 12:14, Alberto Fanjul @.***> wrote:

@derFliegendeHamburger Processing just use the libraries installed on $HOME/sketbook

after obvious controlP5 that can be installed from manage libraries, I export the build and see this differences on attached libraries:

Captura.desde.2024-04-23.12-10-16.png (view on web)

Apart from jogl and jogl-al I suppose this needs:

• jssc.jar but a modifed version as jssc.txt says • RXTXCoom.jar • Opengl.jar Is there a way to add this in processing config file? or we can add into README.md

For controlp5 I think it miss what version it needs (or what minimal version it needs)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

albfan commented 4 months ago

In that forum it mentions to include controlp5, but in last downoadable version 2.4

https://drive.google.com/uc?export=download&id=0B8_pEI-_SlWGZFRQX3ZhNVlXbU0

lib includes some other libraries

$ pwd
/home/alberto/Descargas/MultiWii_2_4 (1)/MultiWiiConf/application.linux64/lib

$ ls -1
controlP5.jar
controlP5_ori.jar
core.jar
gluegen-rt.jar
jogl.jar
MultiWiiConf.jar
opengl.jar
RXTXcomm.jar
serial.jar

are these really needed? or not? just building and adding controlp5 it builds and run, but maybe processing just includes libraries installed on your $HOME/sketbook/libraries not needed for this GUI tool

I think jogl.jar is common on processing, probably serial.jar too... not sure for other libraries

I miss something like a pom.xml where specific dependencies and their version is specified

derFliegendeHamburger commented 4 months ago

did you follow the recipe I wrote and did you try that? Does it work or not?

On 23. Apr 2024, at 15:07, Alberto Fanjul @.***> wrote:

In that forum it mentions to include controlp5, but in last downoadable version 2.4

https://drive.google.com/uc?export=download&id=0B8_pEI-_SlWGZFRQX3ZhNVlXbU0

lib includes some other libraries

jssc.jar but a modifed version as jssc.txt says RXTXCoom.jar Opengl.jar

are these really needed? or not?

I miss something like a pom.xml where specific dependencies and their version is specified

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

albfan commented 4 months ago

Adding controlp5 allows to build and run.

I have no Arduino setup to test if it really works.

Just checking the Zip for releases looks recipe miss these jars mentioned.

Will install processing 2 and see if that includes those jars, maybe that's the difference.

So the only dependency needed is controlp5?