Problem compiling MultiWii Conf (related to controlP5 lib)

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download

Problem compiling MultiWii Conf (related to controlP5 lib)

Postby Tomakko » Fri Sep 11, 2015 10:36 am

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!
Tomakko
 
Posts: 1
Joined: Wed May 14, 2014 9:37 pm

Re: Problem compiling MultiWii Conf (related to controlP5 li

Postby edsimmons3 » Fri Sep 11, 2015 12:32 pm

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.
edsimmons3
 
Posts: 100
Joined: Thu Sep 10, 2015 11:29 am

Re: Problem compiling MultiWii Conf (related to controlP5 li

Postby techboycr » Thu Feb 16, 2017 2:33 am

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
techboycr
 
Posts: 2
Joined: Mon Feb 13, 2017 9:07 pm

Re: Problem compiling MultiWii Conf (related to controlP5 li

Postby mgros » Fri Apr 21, 2017 7:10 pm

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.
User avatar
mgros
 
Posts: 90
Joined: Thu Jan 20, 2011 12:32 am


Return to Software development

Who is online

Users browsing this forum: No registered users and 3 guests