Page 1 of 1

Problem compiling MultiWii Conf (related to controlP5 lib)

Posted: Fri Sep 11, 2015 10:36 am
by Tomakko
Hi all,

when i try to compile the MW Conf 2.4 code i get errors related to the controlP5 library:

Code: Select all

..
 import controlP5.*; // controlP5 library
..
controlP5 = new ControlP5(this); // initialize the GUI controls
controlP5.setControlFont(font12);  <- error: The function does not exist
..


I installed the controlP5 libary by using the Add Library Function of processing. Processing is also running with admin rights.

Can anyone tell me with which versions of processing and controlP5 lib the MW Conf 2.4 code was compiled?
Or what alse may cause the issue?

Using:
-Processing 2.2.1
-Windows 7 64 bit

Thanks!

Re: Problem compiling MultiWii Conf (related to controlP5 li

Posted: Fri Sep 11, 2015 12:32 pm
by edsimmons3
You could try commenting out the line it complains about... (add // to the beginning of the line) but this may just lead to more errors.

I seem to recall that error when I ran it first time with 2.1.1 version of processing. I manually downloaded the library and added to my processing sketchbook in the libraries directory, I tried several different versions until it worked.

I /think/ I have Controlp5 version 2.0.4 by looking at the changelog.txt file in the source.

Re: Problem compiling MultiWii Conf (related to controlP5 li

Posted: Thu Feb 16, 2017 2:33 am
by techboycr
In case that anyone still have problems with this I just released a fix it is working properly, just let me know if something is wrong:

https://github.com/techboycr/multiwii-gui-processing

Re: Problem compiling MultiWii Conf (related to controlP5 li

Posted: Fri Apr 21, 2017 7:10 pm
by mgros
techboycr wrote:In case that anyone still have problems with this I just released a fix it is working properly, just let me know if something is wrong:

https://github.com/techboycr/multiwii-gui-processing


It start, read com's, but not select and open it.

Processing 3.3 - ControlP5 2.2.5 or 2.2.6


thanks for your help.