xtlc
8th August 2013, 17:13
I was working on my project all day long and tried to add the QCustomPlot .cpp and .h files, which didn't work as I wished. I removed them, and since that time I can't compile any more:
18:00:44: Führe Schritte für Projekt GUI aus...
18:00:44: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.
18:00:44: Starte "C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe"
C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe -f Makefile.Release
C:\Qt5.1.0\\5.1.0\msvc2012_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_TESTCASE_BUILDDIR=\"C:/Users/rt/Desktop/Bac Arbeit/build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\" -DNDEBUG -D_MSC_VER=1700 -D_WIN32 -D_WIN64 -I"..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tWidgets" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tTest" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tGui" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tANGLE" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tCore" -I"release" -I"." -I"." -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\mkspecs\w in32-msvc2012" ..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src\qextserialport.h -o release\moc_qextserialport.cpp
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name (overwrite default)
-b<file> prepend #include <file> (preserve default include)
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
jom: C:\Users\rt\Desktop\Bac Arbeit\build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\Makefile.Release [release\moc_qextserialport.cpp] Error 1
C:\Qt5.1.0\\5.1.0\msvc2012_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_TESTCASE_BUILDDIR=\"C:/Users/rt/Desktop/Bac Arbeit/build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\" -DNDEBUG -D_MSC_VER=1700 -D_WIN32 -D_WIN64 -I"..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tWidgets" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tTest" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tGui" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tANGLE" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tCore" -I"release" -I"." -I"." -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\mkspecs\w in32-msvc2012" ..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src\qextserialenumerator.h -o release\moc_qextserialenumerator.cpp
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name (overwrite default)
-b<file> prepend #include <file> (preserve default include)
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
I tried to google:
moc: Too many input files specified
and
[release\moc_qextserialport.cpp] Error 1 with barely success. What did I do wrong? I read in the forums this can happen if I included the QExtSerialPorts wrong, but I didn't change anything 18:08:36: Der
Prozess "C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe" wurde mit dem Rückgabewert 2 beendet.
Ok... really weired. It works some time to compile. Why is that?
18:00:44: Führe Schritte für Projekt GUI aus...
18:00:44: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.
18:00:44: Starte "C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe"
C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe -f Makefile.Release
C:\Qt5.1.0\\5.1.0\msvc2012_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_TESTCASE_BUILDDIR=\"C:/Users/rt/Desktop/Bac Arbeit/build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\" -DNDEBUG -D_MSC_VER=1700 -D_WIN32 -D_WIN64 -I"..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tWidgets" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tTest" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tGui" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tANGLE" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tCore" -I"release" -I"." -I"." -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\mkspecs\w in32-msvc2012" ..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src\qextserialport.h -o release\moc_qextserialport.cpp
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name (overwrite default)
-b<file> prepend #include <file> (preserve default include)
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
jom: C:\Users\rt\Desktop\Bac Arbeit\build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\Makefile.Release [release\moc_qextserialport.cpp] Error 1
C:\Qt5.1.0\\5.1.0\msvc2012_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_TESTCASE_BUILDDIR=\"C:/Users/rt/Desktop/Bac Arbeit/build-GUI-Desktop_Qt_5_1_0_MSVC2012_64bit-Release\" -DNDEBUG -D_MSC_VER=1700 -D_WIN32 -D_WIN64 -I"..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tWidgets" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tTest" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tGui" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tANGLE" -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\include\Q tCore" -I"release" -I"." -I"." -I"..\..\..\..\..\Qt5.1.0\5.1.0\msvc2012_64\mkspecs\w in32-msvc2012" ..\..\..\..\..\Qt5.1.0\qextserialport-1.2rc\src\qextserialenumerator.h -o release\moc_qextserialenumerator.cpp
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name (overwrite default)
-b<file> prepend #include <file> (preserve default include)
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
I tried to google:
moc: Too many input files specified
and
[release\moc_qextserialport.cpp] Error 1 with barely success. What did I do wrong? I read in the forums this can happen if I included the QExtSerialPorts wrong, but I didn't change anything 18:08:36: Der
Prozess "C:\Qt5.1.0\Tools\QtCreator\bin\jom.exe" wurde mit dem Rückgabewert 2 beendet.
Ok... really weired. It works some time to compile. Why is that?