Error: Cannot open options file...



  • Trying to build the qgroundcontrol project, after some compiling the process stopped and the output is like:

    D:\Qt\Qt5.9.1\5.9.1\msvc2015\bin\moc.exe -DUNICODE -DWIN32 -D__STDC_LIMIT_MACROS -DGIT_VERSION=""Development : "" -DEIGEN_MPL2_ONLY -D_TTY_NOWARN_ -DMAVLINK_NO_DATA -DQGC_USE_ARDUPILOTMEGA_MESSAGES -DNOMINMAX -DQGC_APPLICATION_NAME=""QGroundControl"" -DQGC_ORG_NAME=""QGroundControl.org"" -DQGC_ORG_DOMAIN=""org.qgroundcontrol"" -DUNITTEST_BUILD -DQT_LOCATION_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_TEXTTOSPEECH_LIB -DQT_SERIALPORT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=""D:/Program Files/Git/build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug"" -DQT_QML_DEBUG --compiler-flavor=msvc --include "D:/Program Files/Git/build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/moc/moc_predefs.h" @D:/Program Files/Git/build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/moc/mocinclude.opt ..\qgroundcontrol\src\QtLocationPlugin\QGCMapEngineData.h -o moc\moc_QGCMapEngineData.cpp
    moc: Cannot open options file specified with @
    moc: Cannot open options file specified with @
    jom: D:\Program Files\Git\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [moc\moc_QGCMapEngine.cpp] Error 1
    jom: D:\Program Files\Git\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile.Debug [moc\moc_QGCMapEngineData.cpp] Error 1
    jom: D:\Program Files\Git\build-qgroundcontrol-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug\Makefile [debug] Error 2
    10:08:24: The process "D:\Qt\Qt5.9.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
    Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.9.1 MSVC2015 32bit)
    The kit Desktop Qt 5.9.1 MSVC2015 32bit has configuration issues which might be the root cause for this problem.
    When executing step "Make"
    10:08:24: Elapsed time: 00:06.

    what's wrong?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You should move your sources and your build folder into a path without spaces in it.



  • Problem solved, thank you very much.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.