I only want to compile openTX for ARDUINO2560. I do not want to make the windows companion, touch that or do anything else. This is an ATMEGA 2560 application, so far as I am concerened: I should be able to load the project in Visual studio with Arduino add-in installed, compile and be done. Not the case. As a matter of fact, the compiling instructions for this is absolutely, by far the MOST complicated project I have seen.
On the "COMPILE" instruction page on the wiki:
openTX COMPILE page (see ATMEGA2560)
There appears to be like 12 other things I must install, besides the Visual Studio compiler with the Arduino add-on, that I have been using for so long now to compile my own projects with my own libraries.
- "Xerces" - Never in my life as 25 year programming in both windows and linux, I have ever heard of this before
- Install mingw-get-setup - What?
- Install VC++ 10 - I use Visual Studio community 2017. Done. Procedures should have ended here.
- "Install QT 4.8.7 for VS2010" - Why ? Never heard of it before.
- "XSD" - Why ? Never heard of that before.
- "Install TortoiseSVN" - ditto
- "WinAVR" - Is this NOT the same Arduino plug-in for visual studio that allows me to compile Arduino using Visual Studio?
- "MSinttypes" - eh.... Excuse me, what ?
- "Dirent" - Ditto again, come on now this is getting rediculous
- "QT 5.7 for VS2015" - ok, procedures asked me to install QT 4.8.7, now 5.7 for different version of Studio ? No thank you please.
- "cmake" - Sounds like a command used in linux to build python compiled applications
- "python 2.7" - ok, I recognize this, it's installed
- "PyQt4 and Python 2.7" - How many versions of "QT" are there and is this one for pyThon different from the two others ? WTF?
- PThreads v2.8 (NOT 2.9!) - ARG... ditto
- Install GCC for ARM 4.7-2013q3 (optional to build firmware): - I use the Visual Studio to compile my projects, since an army of thousands of programmers made it easy for me to edit and organize my code, instead of a 1985 DOS-interfacec notepad editor. Must I install "GCC" compiler TOO ?!?!?!? Visual Studio compiles just about everything now and is also free to use.
I have gone and tried to install those things, which is a big revolving door of OTHER THINGS that ALSO have to be installed that I have no idea what they are, what they are doing. Because of this, I can not expect to get results, it's REALLY COMPLICATED.
Skipping to:
"Building firmware 2.2:" - the business part of this page is:
cmake -G "MinGW Makefiles" ../code/ -DCMAKE_PREFIX_PATH=C:\Qt\Qt5.7.0\5.7\msvc2015 -DPCB=X9D -DHELI=YES -DGVARS=YES -DTRANSLATIONS=EN -DLUA=YES -DMIXERS_MONITOR=YES -DTIMERS=3
Really confused, hopefully someone can give me some tips or help me to discover ways that I can find the information myself. I really do not prefer to install the 16+ other things that need 2-6 other things to install each package.