OpenTX Companion MacOS

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
WZ9V
Posts: 39
Joined: Thu Jul 10, 2014 8:29 pm
Country: -

OpenTX Companion MacOS

Post by WZ9V »

A few people on regroups are pooling together to try and sort out MacOS Companion builds. Just starting a thread here to catch any input from here.

lvale
Posts: 13
Joined: Thu Oct 11, 2012 1:31 am
Country: -

Re: OpenTX Companion MacOS

Post by lvale »

The issues with Companion on OSx are solved. Now Companion compiles ok (versions from 2.0.12 and higher have been tested)

Next step, is how to include the required libs to make companion.app standalone.
Dthomson39
Posts: 8
Joined: Sat Nov 23, 2013 11:56 am
Country: -

Re: OpenTX Companion MacOS

Post by Dthomson39 »

Hi

I am a mac user but not having compiled anything before (don't know how to do it!) could you tell me whether there will be a later official release than the version on the site under downloads.

Regards

Dave
lvale
Posts: 13
Joined: Thu Oct 11, 2012 1:31 am
Country: -

Re: OpenTX Companion MacOS

Post by lvale »

There's a oficial 2.0.13 version now
lucky53s
Posts: 6
Joined: Wed Jan 28, 2015 7:53 pm
Country: -

Re: OpenTX Companion MacOS

Post by lucky53s »

After downloading 2.0.13 for Mac and installing I am still getting this error during firmware flash:

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x8000
0xf8 != 0xff
avrdude: verification error; content mismatch

avrdude done. Thank you.

----------------------------------------------------------

After that my radio won't come on. I have to go to my PC and flash the firmware again. After which it works fine.

I'm using a 9xr with the 128 chip. I don't know where the cable came from but it works with my PC so I don't think that is the issue. And it works right up to that point as well on the Mac. After downloading and installing the software on my Mac is there another place I need to install something or change a setting? I would rather use my Mac as it's newer and faster. I believe I was prompted to upgrade to 2.0.15 on opening but I can't remember. I do remember that the direct link to 2.0.15 did not work last night when I tried to install.

strips
Posts: 21
Joined: Fri Feb 28, 2014 6:43 am
Country: -

Re: OpenTX Companion MacOS

Post by strips »

Trying to compile latest master from github. I recon its the 2.0.17 version.

I followed https://github.com/opentx/opentx/wiki/C ... structions.

It fails pretty quickly with:

Code: Select all

Stians-MBP:build strips$ make
[  1%] Generating moc_joystickdialog.cxx
[  2%] Generating ui_simulatordialog-9x.h
[  2%] Generating ui_simulatordialog-taranis.h
[  3%] Generating ui_telemetrysimu.h
[  3%] Generating ui_trainersimu.h
[  4%] Generating ui_debugoutput.h
[  4%] Generating ui_joystickdialog.h
[  4%] Generating moc_simulatordialog.cxx
[  5%] Generating moc_cursorwidget.cxx
[  5%] Generating moc_menuwidget.cxx
[  6%] Generating moc_xcursorwidget.cxx
[  6%] Generating moc_xmenuwidget.cxx
[  7%] Generating moc_myslider.cxx
[  7%] Generating moc_telemetrysimu.cxx
[  7%] Generating moc_trainersimu.cxx
[  8%] Generating moc_debugoutput.cxx
[  8%] Generating moc_joystick.cxx
Scanning dependencies of target simulation
[  8%] Building CXX object simulation/CMakeFiles/simulation.dir/simulatordialog.cpp.o
[  8%] Building CXX object simulation/CMakeFiles/simulation.dir/telemetrysimu.cpp.o
[  9%] Building CXX object simulation/CMakeFiles/simulation.dir/trainersimu.cpp.o
[  9%] Building CXX object simulation/CMakeFiles/simulation.dir/debugoutput.cpp.o
[ 10%] Building CXX object simulation/CMakeFiles/simulation.dir/joystick.cpp.o
/Users/strips/src/opentx/companion/src/simulation/joystick.cpp:9:28: error: no matching function for call to 'SDL_JoystickName'
      joystickNames.append(SDL_JoystickName(i));
                           ^~~~~~~~~~~~~~~~
/Library/Frameworks/SDL2.framework/Headers/SDL_joystick.h:102:37: note: candidate function not viable: no known conversion from 'int' to 'SDL_Joystick *'
      (aka '_SDL_Joystick *') for 1st argument
extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick * joystick);
                                    ^
1 error generated.
make[2]: *** [simulation/CMakeFiles/simulation.dir/joystick.cpp.o] Error 1
make[1]: *** [simulation/CMakeFiles/simulation.dir/all] Error 2
make: *** [all] Error 2
User avatar
dinamich
Posts: 288
Joined: Mon Apr 01, 2013 1:21 pm
Country: Slovenia
Location: Ljubljana

Re: OpenTX Companion MacOS

Post by dinamich »

You need SDL version 1.2, you have SDL 2.0 which is not compatible.
projectkk2glider@github
strips
Posts: 21
Joined: Fri Feb 28, 2014 6:43 am
Country: -

Re: OpenTX Companion MacOS

Post by strips »

I've tried to install SDL 1.2 by downloading the runtime here and by homebrew. Still no success.

Is there a way to point to the runtime or do I have to compile SDL 1.2 from source?

Post Reply

Return to “openTx”