OpenTX Companion MacOS
OpenTX Companion MacOS
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.
Re: OpenTX Companion MacOS
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.
Next step, is how to include the required libs to make companion.app standalone.
-
- Posts: 8
- Joined: Sat Nov 23, 2013 11:56 am
- Country: -
Re: OpenTX Companion MacOS
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
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
Re: OpenTX Companion MacOS
There's a oficial 2.0.13 version now
Re: OpenTX Companion MacOS
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.
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.
Re: OpenTX Companion MacOS
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:
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
Re: OpenTX Companion MacOS
You need SDL version 1.2, you have SDL 2.0 which is not compatible.
projectkk2glider@github
Re: OpenTX Companion MacOS
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?
Is there a way to point to the runtime or do I have to compile SDL 1.2 from source?