qgroundcontrol
qgroundcontrol copied to clipboard
Cannot compile QGroundControl on Windows
Expected Behavior
I am trying to build QgroundControl from source on windows. When I build the code, I expect it to work successfully
Current Behavior
I receive an error that "the command line is too long"
Steps to Reproduce:
- pull Stablev4.2 of qgroundcontrol
- install qt using online installer
- open project in qtcreator using the .pro file
- press the hammer/build button in qtcreator
System Information
- Operating System: Windows 11
- QGC Version: Stable V4.2
- QGC build: Stable V4.2
- Flight Controller: Pixhawk I
- Autopilot (with version): ArduSub 4.0
Log Files and Screenshots
I'm not an expert on Windows dev. I wonder if there is some setting to extend the command line length limit you see above. Try moving the QGC source to a shorter path (instead of C:\Users\codym\OneDrive - Texas A&M University\BlueROVCodeDevelopment\qgroundcontrol
.)
I moved to a path that was shorter and without spaces. I am unsure which was the fix, but it resolved the issue. Thanks!