Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

1: error: error: /FS: No such file or directory



  • Hi All,

    I am using Qt 5.6 which installed Online. When I try to build the application, Error appears,

    1: error: error: /FS: No such file or directory

    Thanks in Advance.


  • Lifetime Qt Champion

    @Mathan-M Which version of Qt exactly (VS20xx, MinGW, Linux,...)? On which platform? Which compiler do you use?
    You really have to provide more information if you want to get any help!



  • Hi @jsulm,

    Sorry for not providing enough info.

    Installed through Online Installer:

    Here it is:
    Auto-Detected:
    Android for armeabi-v7a (GCC 4.9, Qt 5.6.1) - Shows yellow Warning

    Compiler: Android GCC (arm-4.9)
    Debugger: Android Debugger fro Android GCC (arm-4.9)
    Qt Version: Qt 5.6.1 (android_armv7)

    Desktop
    Qt 5.6
    Compiler : MinGW 4.9.2 32bit [Which installed through Qt Online Installer]
    Debugger: GNU gdb 7.8 for MinGW 4.9.2 32bit
    Qt Version: Qt 5.6.1 MinGW 32bit
    Cmake: New CMake

    Android for x86
    Compiler: GCC(i686-4.9)
    Debugger : Android Debugger for Android GCC(i686-4.9)
    Qt Version: Qt 5.6.1 for Android x86

    System Config:
    Windows 7 Professional
    64 bit

    I created an app ESRI ArcGIS Runtime SDK 100.0.0 [Quartz], Try to run in the desktop and extends to Android device. But I can getting the error in Desktop itself.

    Thanks in Advance.


  • Lifetime Qt Champion

    If you put the mouse cursor over that yellow warning what does it say?
    /FS looks like a compiler flag which is not understood by your compiler.
    Did you put anything special in your PRO file?
    Can you post complete compiler output?



  • Hi @jsulm ,

    Warning Message : Display name is not unique.

    I had not added any thing in .pro file. Just left as it is.

    Compiler Output:
    12:14:31: Running steps for project MMPKAndroid...
    12:14:31: Starting: "D:\Qt\Qt5.6.1\Tools\mingw492_32\bin\mingw32-make.exe" clean
    D:/Qt/Qt5.6.1/Tools/mingw492_32/bin/mingw32-make -f Makefile.Debug clean
    mingw32-make[1]: Entering directory 'E:/QtProjectTest/5.6/Quartz/QtQuiMMPKAndroid/build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug'
    del debug\qrc_qml.cpp debug\qrc_Resources.cpp
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\debug\qrc_qml.cpp
    del debug\main.o debug\qrc_qml.o debug\qrc_Resources.o
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\debug\main.o
    del debug\Resources_res.o
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\debug\Resources_res.o
    mingw32-make[1]: Leaving directory 'E:/QtProjectTest/5.6/Quartz/QtQuiMMPKAndroid/build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug'
    D:/Qt/Qt5.6.1/Tools/mingw492_32/bin/mingw32-make -f Makefile.Release clean
    mingw32-make[1]: Entering directory 'E:/QtProjectTest/5.6/Quartz/QtQuiMMPKAndroid/build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug'
    del release\qrc_qml.cpp release\qrc_Resources.cpp
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\release\qrc_qml.cpp
    del release\main.o release\qrc_qml.o release\qrc_Resources.o
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\release\main.o
    del release\Resources_res.o
    Could Not Find E:\QtProjectTest\5.6\Quartz\QtQuiMMPKAndroid\build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug\release\Resources_res.o
    mingw32-make[1]: Leaving directory 'E:/QtProjectTest/5.6/Quartz/QtQuiMMPKAndroid/build-MMPKAndroid-Desktop_Qt_5_6_1_MinGW_32bit-Debug'
    12:14:32: The process "D:\Qt\Qt5.6.1\Tools\mingw492_32\bin\mingw32-make.exe" exited normally.
    12:14:32: Elapsed time: 00:01.

    Thanks


  • Lifetime Qt Champion

    @Mathan-M I cannot see "1: error: error: /FS: No such file or directory" in the compiler output you posted.
    Try to execute qmake and then do a rebuild.



  • Hi,

    I execute Qmake and rebuild the project.

    The Error shown under Issues Tab with Red exclamatory symbol.:

    :-1: error: error: /FS: No such file or directory

    Thanks


  • Lifetime Qt Champion

    @Mathan-M And what is shown in "Compile Output" tab?



  • Nothing else, Just this message only.



  • I just created an app using ESRI ArcGIS SDK runtime Quartz in Qt 5.6
    I had not added/modified single line of code. Just compile
    The error show up.

    :-1: error: error: /FS: No such file or directory

    Thanks.


  • Lifetime Qt Champion

    @Mathan-M /FS is a flag used by MS Visual C++ compiler, see https://msdn.microsoft.com/en-us/library/dn502518.aspx
    I'm wondering why it is passed to your MinGW (GCC) compiler. Something is wrong with your configuration. You should check the Kit you're using, especially the compiler settings.



  • Thanks for the help.

    I unistall and reinstall the qt 5.6 along with ESRI ArcGIS.
    The error goes away.

    Thanks for the tip.

    Mathan


Log in to reply