MultiWiiConf on Mac OS X 10.8 Mountain Lion

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
fiendie
Posts: 151
Joined: Fri Apr 20, 2012 4:22 pm

MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by fiendie »

Hello Mac users,

for everyone planning to upgrade to Mountain Lion when it comes out in the next 1 or 2 weeks this might be of interest.
The stable version of Processing (1.5.1) currently doesn't work with 10.8.
The 2.0 alpha version does run but it in turn doesn't work with controlP5 because a variable has been renamed.

As a workaround until the Processing people get their act together here is a recompiled version of controlP5 for 2.0a http://dl.dropbox.com/u/13574910/controlP5.zip
Note that this version of the library does NOT work with Processing 1.5.

To make the elements render correctly you have to call the controlP5 draw() function manually now.

Just put

Code: Select all

controlP5.draw();
at the end of the draw() function in the MultiWiiConf sketch and it should run.

Cheers
Andy

mlebret
Posts: 17
Joined: Thu Jan 26, 2012 9:12 am

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by mlebret »

Hello,

MultiWii Config 2.1 work well with Mountain Lion (no need for modification).

Crash on "Close Comm" is still present.

Have a nice flight,

Marc

fiendie
Posts: 151
Joined: Fri Apr 20, 2012 4:22 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by fiendie »

mlebret wrote:Hello,

MultiWii Config 2.1 work well with Mountain Lion (no need for modification).

Crash on "Close Comm" is still present.

Have a nice flight,

Marc

OK,

tested it on another MacBook. Installing the latest update for Apple's version of Java 6 (http://support.apple.com/kb/DL1515?viewlocale=en_US&locale=en_US) solved the problem for me.
The patched library is still needed for Processing 2.0, however ;)

Cheers
Andy

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by Deet »

I can confirm that the GUI doesn't work on the final release of Mountain Lion, tested with a MacMini and Macbook Air

fiendie
Posts: 151
Joined: Fri Apr 20, 2012 4:22 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by fiendie »

Deet wrote:I can confirm that the GUI doesn't work on the final release of Mountain Lion, tested with a MacMini and Macbook Air

Can you open Java Preferences and tell me which version is at the top of the list?

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by Deet »

Java SE 6 1.6.0_33-b03-424

fiendie
Posts: 151
Joined: Fri Apr 20, 2012 4:22 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by fiendie »

Deet wrote:Java SE 6 1.6.0_33-b03-424


OK, then try this in Terminal.app and post the exception you're getting:

Code: Select all

user@host:~ $ cd /Applications/MultiWiiConf.app/Contents/Resources/Java 
user@host:~ $ java  -Djava.library.path="." -cp "./*" MultiWiiConf


Cheers
Andy

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by Deet »

No I got it to run

Mountain Lion creates a new serial device in the listing inside the GUI.

If you click on the new one you only get 1 traced line and no PIDs

If I go to the bottom of the available ports list I can see the OLD USB port ans with that selected I get comms and it all appears to be working

iSheeZ
Posts: 3
Joined: Mon Aug 20, 2012 1:15 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by iSheeZ »

RESOLVED! all i need - driver! :roll:

Hi, i have a problem on 10.8 with MultiWiiConf 2.0.
I will make chmod fro JavaApplicationStub and JavaApplicationStub64

When i'm try launch app: no all port, no version number, crash when close port;
Image

From the Terminal.app on command:

Code: Select all

java  -Djava.library.path="." -cp "./*" MultiWiiConf


I got this:

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: MultiWiiConf
Caused by: java.lang.ClassNotFoundException: MultiWiiConf
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Java version:

Code: Select all

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
Last edited by iSheeZ on Mon Aug 20, 2012 9:00 pm, edited 1 time in total.

chris ables
Posts: 317
Joined: Wed Feb 08, 2012 8:42 pm
Location: United states

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by chris ables »

Have you all installed this driver if using FTDI ? http://www.ftdichip.com/Drivers/VCP.htm

iSheeZ
Posts: 3
Joined: Mon Aug 20, 2012 1:15 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by iSheeZ »

Nope.
On 10.7 Conf work without drivers, and in 10.8 FTDI visible on USB devices without drivers too.
I just installed driver, but can check Conf works later.

-btw, on 10.7 in ports i can see my iPhone, but in 10.8 - no, i think app cant see all ports ((

chris ables
Posts: 317
Joined: Wed Feb 08, 2012 8:42 pm
Location: United states

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by chris ables »

That's strange because my gui didn't show my port in either mac version until i installed that driver ! You do know on a mac you have to hook board up and then open gui to see port ? Also if you disconnect board you have to restart gui before it will work ! That's how mine is ,but other than that everything in gui works correctly ! :)

iSheeZ
Posts: 3
Joined: Mon Aug 20, 2012 1:15 pm

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by iSheeZ »

OMG, driver help to me! Thanks you very much, chris ables!
Sorry for my noob question :(

User avatar
IceWind
Posts: 115
Joined: Fri Mar 25, 2011 2:11 am
Contact:

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by IceWind »

Mine never worked directly, I always have to run it from Processing.
As well as it crashes every single time I close the Comm connection.

chris ables
Posts: 317
Joined: Wed Feb 08, 2012 8:42 pm
Location: United states

Re: MultiWiiConf on Mac OS X 10.8 Mountain Lion

Post by chris ables »

Your wecome iSheeZ ! IceWind mine crashes also if i close com , but i always close gui before disconnecting board because im aware of this ! It's no problem since i have to restart it if i want to use it again though. :D

Post Reply