Gcc exe fatal error no input files

gcc: fatal error: no input files I wrote this simple line of code and saved it in a file called ‘ex.c’. The code is the following (first line is purposely written wrong as it showed up different in the post): I then wanted to compile it using the command gcc ex.c but I get […]
Question what has the Debugfoo.exe have to do with the failure to find input files!
You see I’ve built a small routine to test the Fibonacci equation (it’s used for random execution in some tape library testing). So. in eclipse I followed the advice given on setting the Project->Properties->Run/Debug Settings to Debug/Fibonacci.exe.
The clean went ok, the build project bit the dust with the «gcc.exe: fatal error: no input files compilation terminated.»

Plus a «java version «1.8.0_31»
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)». I am not sure what the deal is any suggestions would be greatly appreciated!

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

Error while compiling & installing from source — SOLVED

Error while compiling & installing from source — SOLVED

Post by Makrand » Mon Oct 29, 2018 6:18 am

I hit a bug #227 in rdesktop 3.18 (latest stable available in the repo)

So I decided to install the latest under development version from git. After GIT clone etc, while doing ./cofigure, I hit below

/Music$ gcc hello.c
hello.c:1:10: fatal error: stdio.h: No such file or directory
#include
^

compilation terminated.
makrand@mint-gl63:

/Music$ gcc -o hello hello.c
hello.c:1:10: fatal error: stdio.h: No such file or directory
#include
^

I am not into development but seems like the compiler isn’t working. I am not what to do now. Any ideas?

I am on Min 19 -XFCE

EDIT 1 —
Now Stuck with error mentioned here — viewtopic.php?p=1545755#p1545793

Re: Error while compiling & installing from source

Post by catweazel » Mon Oct 29, 2018 6:22 am

Re: Error while compiling & installing from source

Post by Makrand » Mon Oct 29, 2018 6:38 am

Nope. What does that package do? (Last time when I tried compiling and installing Netatalk (apple fileserver) on OpenSUSE minimal, things just worked out of the box).

Will give it a shot.

Re: Error while compiling & installing from source

Post by Makrand » Mon Oct 29, 2018 7:52 am

Yep. build-essential helped. Looks like this package put in place all the essential stuff needed for compiling and build

there were some errors, missing packages after that. Tackled those. Now its stuck at this

checking for OpenSSL directory. /usr
checking for pkg-config. (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0. yes
checking for XRANDR. no
checking for XCURSOR. no

rdesktop requires libXcursor, install the dependency

Источник

CMake ошибка в CMakeLists.txt: 30 (проект): CMAKE_C_COMPILER не найден

Я пытаюсь создать решение Visual Studio с CMake для компиляции последней версии aseprite, и CMake продолжает давать мне:

Я уже скачал GCC, и я использую Visual Studio 2015 .

Я следую этому уроку:

Решение

Эти сообщения об ошибках

просто имейте в виду, что CMake не смог найти ваш компилятор C / CXX для компиляции простой тестовой программы (одна из первых вещей, которые CMake пытается обнаружить при сборке вашей среды сборки).

Действия по поиску вашей проблемы зависят от среды сборки, которую вы хотите сгенерировать. Следующие руководства представляют собой набор ответов здесь о переполнении стека и некоторые из моих собственных опытов с CMake в Microsoft Windows 7/8/10 и Ubuntu 14.04.

Предпосылками

  • Вы установили компилятор / IDE, и он смог однажды скомпилировать любую другую программу (напрямую без CMake)
    • Вы, например, может иметь IDE, но, возможно, не установил компилятор или саму платформу поддержки, как описано в Проблемы генерации решения для VS 2017 с CMake или же Как мне сказать CMake использовать Clang в Windows?
  • У вас последняя CMake версия
  • У вас есть права доступа к диску, который вы хотите, чтобы CMake генерировал вашу среду сборки

    У вас есть чистый каталог сборки (потому что CMake выполняет кеширование с последней попытки), например как подкаталог вашего исходного дерева

    Windows cmd.exe

    Баш оболочка

    и убедитесь, что ваша командная оболочка указывает на ваш недавно созданный двоичный каталог вывода.

    Общие вещи, которые вы можете / должны попробовать

    Может ли CMake найти и запустить с любым / вашим компилятором по умолчанию? Беги без генератора

    Идеально, если он правильно определил генератор для использования — как здесь Visual Studio 14 2015

    Что же на самом деле не удалось?

    В выходной директории предыдущей сборки посмотрите на CMakeFilesCMakeError.log для любого сообщения об ошибке, которое имеет смысл для вас, или попробуйте открыть / скомпилировать тестовый проект, сгенерированный в CMakeFiles[Version]CompilerIdC | CompilerIdCXX непосредственно из командной строки (как указано в журнале ошибок).

    CMake не может найти Visual Studio

    Попробуйте выбрать правильный версия генератора :

    Если это не помогает, попробуйте сначала установить переменные среды Visual Studio (путь может отличаться):

    или используйте Developer Command Prompt for VS2015 ярлык в меню Пуск Windows под All Programs / Visual Studio 2015 / Visual Studio Tools (спасибо в @Antwane за подсказку).

    Фон: CMake поддерживает все выпуски и версии Visual Studio (Express, Community, Professional, Premium, Test, Team, Enterprise, Ultimate и т. Д.). Чтобы определить местоположение компилятора, он использует комбинацию поиска в реестре (например, в HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio[Version];InstallDir ), системные переменные окружения и — если никто из них ничего не придумал — попробуйте вызвать компилятор.

    CMake не может найти GCC (MinGW / MSys)

    Вы начинаете MSys bash оболочка с msys.bat и просто попробуйте позвонить напрямую gcc

    Здесь он нашел gcc и жалуется, что я не дал ему никаких параметров для работы.

    Поэтому должно работать следующее:

    Если GCC не был найден, позвоните export PATH=. чтобы добавить путь к компилятору (см. Как установить переменную среды PATH в скрипте CMake? ) и попробуй еще раз.

    Если это все еще не работает, попробуйте установить CXX путь к компилятору напрямую путем его экспорта (путь может отличаться)

    Для более подробной информации смотрите Как указать новый путь GCC для CMake

    Заметка: При использовании генератора «MinGW Makefiles» вы должны использовать mingw32-make программа распространяется с MinGW

    До сих пор не работает? Это странно. Пожалуйста, убедитесь, что компилятор есть и имеет права на выполнение (см. Также главу «Предварительные условия» выше).

    В противном случае последнее средство CMake — не пытаться выполнять поиск самого компилятора и устанавливать внутренние переменные CMake напрямую

    В качестве альтернативы эти переменные также могут быть установлены через cmake-gui.exe на винде. Увидеть Cmake не может найти компилятор

    Фон: Почти так же, как с Visual Studio. CMake поддерживает все виды GCC. Он ищет переменные окружения (CC, CXX и т. Д.) Или просто пытается вызвать компилятор. Кроме того, он обнаружит любые префиксы (когда кросскомпилируете ) и пытается добавить его ко всем binutils из цепочки компиляторов GNU ( ar , ranlib , strip , ld , nm , objdump , а также objcopy ).

    Другие решения

    Я также испытал эту ошибку при работе с CMake:

    Поле «Предупреждение» в статье библиотеки MSDN Visual C ++ в Visual Studio 2015 дал мне помощь, в которой я нуждался.

    Visual Studio 2015 не поставляется с C ++, установленным по умолчанию. Итак, создание нового проекта C ++ предложит вам загрузить необходимые компоненты C ++.

    Это случилось со мной после того, как я установил Visual Studio 15 2017.

    Компилятор C ++ для Visual Studio 14 2015 не был проблемой. Казалось, проблема с Windows 10 SDK.

    Добавление Windows 10 SDK в Visual Studio 14 2015 решило проблему для меня.

    Смотрите прикрепленный скриншот.

    Я столкнулся с этой проблемой при сборке libgit2-0.23.4. Для меня проблема была в том, что компилятор C ++ & связанные пакеты не были установлены с VS2015, поэтому «C: Program Files (x86) Microsoft Visual Studio 14.0 VC vcvarsall.bat» файл отсутствовал, и Cmake не смог найти компилятор.

    Я попытался вручную создать проект C ++ в графическом интерфейсе Visual Studio 2015 (C: Program Files (x86) Microsoft Visual Studio 14.0 Common7 IDE devenv.exe)
    и при создании проекта я получил приглашение загрузить C ++ & связанные пакеты.

    После загрузки необходимых пакетов я увидел vcvarsall.bat & Cmake смог найти компилятор & успешно выполнен со следующим журналом:

    Для меня эта проблема исчезла в Windows, когда я переместил свой проект в более мелкий родительский каталог, то есть в:

    Я думаю, что источником проблемы было то, что MSBuild имеет ограничение длины пути к файлу до 260 символов. Это приводит к тому, что базовый тест компилятора, который выполняет CMake, создает проект под названием CompilerIdCXX.vcxproj потерпеть неудачу с ошибкой:

    C1083: Cannot open source file: ‘CMakeCXXCompilerId.cpp’

    потому что длина пути файла, например,

    C:UsersspencDesktop. MyProjectDirectorybuildCMakeFiles. CMakeCXXCompilerId.cpp

    превышает ограничение MAX_PATH.

    Затем CMake заключает, что компилятора CXX нет.

    У меня были такие же ошибки с CMake. В моем случае я использовал неправильную версию Visual Studio в начальном диалоге CMake, где мы должны выбрать компилятор Visual Studio.

    Затем я изменил его на «Visual Studio 11 2012», и все заработало. (У меня на компьютере установлена ​​версия Visual Studio Ultimate 2012). В общем, попробуйте ввести более старую версию Visual Studio в диалоговом окне начальной настройки CMake.

    Убедитесь, что вы выбрали правильную версию Visual Studio. Это сложнее, чем кажется, потому что Visual Studio 2015 на самом деле является Visual Studio 14, и аналогично Visual Studio 2012 — это Visual Studio 11. Я неправильно выбрал Visual Studio 15, то есть фактически Visual Studio 2017, когда установил 2015.

    Для Ubuntu, пожалуйста, установите следующие вещи:

    Источник

    Adblock
    detector

I am newbie for Linux and build systems and I am trying to move code base from Linux to Windows. I am getting some issues for build.

I have installed

  • cygwin
  • arm-none-eabi-gcc from https://launchpad.net/gcc-arm-embedded

and when I build my application, I am getting following error :

arm-none-eabi-gcc.exe: error:
/cygdrive/d/developments/RIOT/examples/ipc_pingpong/main.c: No such file or directory
arm-none-eabi-gcc.exe: fatal error: no input files
compilation terminated.

It looks like a path problem between cygwin (cygdriver) and windows. I have also set CYGPATH as c:cygwin64bincygpath.exe but result is same.

Why gcc compiler cannot see my files? Any idea.

Regards.

Murat.

Ulfalizer's user avatar

Ulfalizer

4,5541 gold badge21 silver badges30 bronze badges

asked Mar 8, 2015 at 13:40

Murat's user avatar

6

Check output of command

which gcc

If you can find the path of gcc file you are fine. If you could not please modify the env varibale PATH by including the path of gcc as follows.
If full path of gcc file is $/gcc, then you have to correct $PATH as follows

$PATH:$GCC_PATH

$PATH may be defined within .profile file of your home directory.

answered Mar 8, 2015 at 13:52

Steephen's user avatar

SteephenSteephen

14.1k7 gold badges38 silver badges46 bronze badges

11

I had this same problem today — and found a way to convince the non-cygwin applicaction to treat c:/cygdrive/c/ as link to my /cygdrive/c folder using a windows symlink:

(Run cmd as administrator)

mkdir c:cygdrive
cd c:cygdrive
mklink /d c c:

see https://cygwin.com/cygwin-ug-net/using-cygwinenv.html The CYGWIN environment variable

export CYGWIN=winsymlinks:native
cd c:/cygdrive/c
ln -s c:/VSARM vsarm

Spock's user avatar

Spock

2481 silver badge13 bronze badges

answered Mar 22, 2022 at 4:16

David Dyck's user avatar

David DyckDavid Dyck

1301 silver badge6 bronze badges

1

@Haghrah

I am trying to compile and run a simple hello world c++ code. g++ says no input files:

g++: fatal error: no input files
compilation terminated.

It seems that the g++ is not running in the same directory which c++ file is placed or maybe file path is not correct in compilation command. How to solve the problem?

@Godsgrav3

hi @Haghrah Do you still have this issue? If so check if g++ is in your PATH variables by opening CMD and entering the following: «gcc —version» and «g++ —version». if you do not see information check you my issue #132

@LiamInfoSec

I have the same problem when I run «g++ —version»;

g++ (MinGW.org GCC-8.2.0-3) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@michael-rishi

in my terminal i am trying to run a welcome.cpp file that’s code is

# include <iostream>
using namespace std;
int main()
{
cout >> «Hello What’s your name «
char name = «»
cin << name << endl
char msg = «Hello » + name + «. Nice to meet you!»
cout >> msg >> endl
cout >> «» >> endl
}

and when I type «g++ -o welcome.cpp» then enter this is what comes up

Screenshot from 2019-06-08 12-18-01

hamraniali, rebroad, alonsogalcantara, sarthakbhatkar1, khan-rehan, weolix, souvenger, Siddhant-K-code, and 01-Menjivar reacted with thumbs up emoji
jim4067, damaputraa, sarthakbhatkar1, khan-rehan, weolix, arjun-gn, ratan10, vikash232, bai62, SundiataB, and 6 more reacted with eyes emoji

@Godsgrav3

@rishiamalhotra

for one, your code will not compile, you have multiple fatal errors in your code.
#include <iostream> is not used, is necessary for cout.
cout doesn’t use >>, but <<
you miss ; in your code, c and c++ do need this to work.

addressing the fatal error.
You can compile and run it from the UNIX prompt as follows :
% g++ welcome.cpp
This creates an executable called «a.out». You can run it by typing
% ./a.out
Since no executable name was specified to g++, a.out is chosen by default. Use the «-o» option to change the name :
% g++ -o welcome welcome.cpp
creates an executable called «welcome».

@hg0428

@Kusumadhanush22

@teslayder

me the same and when I run code again it announce Code is already running!

@weolix

in my terminal i am trying to run a welcome.cpp file that’s code is

include

using namespace std;
int main()
{
cout >> «Hello What’s your name «
char name = «»
cin << name << endl
char msg = «Hello » + name + «. Nice to meet you!»
cout >> msg >> endl
cout >> «» >> endl
}

and when I type «g++ -o welcome.cpp» then enter this is what comes up

Screenshot from 2019-06-08 12-18-01

指令用错了,应该是

g++ welcome.cpp -o welcome

@weolix

I got the same mistake. That’s funny.

@adarsh-dhakad

@mar-tnk

Just go with «g++ -o welcome welcome.cpp»

@nishihere19

@rishiamalhotra

for one, your code will not compile, you have multiple fatal errors in your code.
#include <iostream> is not used, is necessary for cout.
cout doesn’t use >>, but <<
you miss ; in your code, c and c++ do need this to work.

addressing the fatal error.
You can compile and run it from the UNIX prompt as follows :
% g++ welcome.cpp
This creates an executable called «a.out». You can run it by typing
% ./a.out
Since no executable name was specified to g++, a.out is chosen by default. Use the «-o» option to change the name :
% g++ -o welcome welcome.cpp
creates an executable called «welcome».

Thanks a lot. My issue is solved now. The file is working for me now.

@mrxcrx

Don’t use name file with space, u must be used underline

@marco2942

@Abhinow-katore

Don’t use name file with space, u must be used underline

Thank you 👍My issue is solved now

@sid25j

I have the same issue

`#include
int main()
{
std::cout << «Hi» <<std::endl;
return 0;

}`

Screenshot from 2021-08-12 20-54-13
.

@weolix

«g++ -o target source.cpp»

@Colebie

I had the same problem, I was trying to compile had the same error, test to see if you have installed:-
~$ gcc —version
~$ g++ —version
~$ clang —version
~$ gdb —version
and set the path

@mohamedabdallah1996

make sure that the path of the file you are running not have any white spaces

@hoang1904

i have a same issue too
#include<stdio.h>
int soChuSo(int n){
if(n==0)
return 0;
return 1+soChuSo(n/10);
}

int tongChuSo(int n){
if(n>0)
return n%10+tongChuSo(n/10);
return 0;
}

int main(){
int n;
printf(«Nhap so nguyen n: «);
scanf(«%d»,&n);
printf(«So n co %d chu son»,soChuSo(n));
printf(«Tong cac chu so cua n la: %dn»,tongChuSo(n));
return 0;
}
image

@Rakib221

I have this issue too.
I have tried this command: g++ -std=c++11 -Wall -Wextra -pedantic-errors -o 4A.cpp
MY CODE:
#include
using namespace std;
void evenDivisible(int weight);
int main()
{
int watermelonWeight;
cout << «Enter water melon weight: » ;
cin >> watermelonWeight;
if (watermelonWeight >= 1 && watermelonWeight <= 100)
evenDivisible(watermelonWeight);
else
cout << «Please enter number in this range 1<=n>=100» << endl;
}

void evenDivisible(int weight)
{
if (weight > 2 && weight % 2 == 0)
cout << «Yes» << endl;
else
cout << «No» << endl;
}

@Shndigan

I think i solve the problem guys, check out if there is another MinGw64 folder installed in ur pc or not.
if there is then just delete it bcs system cant read 2 folder’s g++.exe file :) i hope that i solved your problems

@Jerry-autumn

The first aspect: First, the file contains are not written(#include ;#include ), and secondly «cout << «No» << endl;»should be written like «cout << «» << endl;»; if «string msg = «Hello » + name + «. Nice to meet you!»; 如果使用这个需要进行运算符重载;» operation requires operator overloading
The second aspect: the reason for the error may be the environment, check your gcc environment境

I wrote this simple line of code and saved it in a file called ‘ex.c’.
The code is the following (first line is purposely written wrong as it showed up different in the post):

"#include < stdio.h >

int lst[] = {6,3,7,9};

int main(){

  printf("Hellon");

  return 0;

}

I then wanted to compile it using the command gcc ex.c but I get an error saying «gcc: fatal error: no input files
compilation terminated.»

What am I doing wrong?
I use git bash and have installed both msys64 and MinGW to the C directory, aswell as add the gcc in my path enviorment.

Why is it not working?

Giovana Morais's user avatar

asked Aug 28, 2019 at 15:58

PCheck's user avatar

you should add the output executable name

gcc ex.c -o output and then you can execute your output file with /output.

all the other options are available in the gcc documentation

answered Aug 28, 2019 at 16:22

Giovana Morais's user avatar

13

The problem was that I had followed the instructions on the following page: https://github.com/is1200-example-projects/mcb32tools/releases/
But I had forgot the last step which is to download the .run file for msys, I did this and now it is working for MSYS2, Git Bash still not working, but one working is all I need!

STEPS I FORGOT (as taken from the link):

  • Download the .run-file for windows. Make sure you download the correct version.
    The x86_64 version is for 64 bit MSYS2 installation and the i686 version for a 32 bit MSYS2 installation.

  • Run the .run-file inside the MSYS2 environment (cd to containing directory, run with ./mcb32tools-*.run)»

answered Aug 28, 2019 at 19:03

PCheck's user avatar

PCheckPCheck

11 gold badge1 silver badge1 bronze badge

Topic: No such file or directory «error not input file» Build filed 2 errors  (Read 42238 times)

Can you help me ? I can not fix the error.


Logged



Logged


I tried it but it is not fix.


Logged



Logged


I am so sorry.

-------------- Build: Debug in deneme3 (compiler: GNU GCC Compiler)---------------

gcc.exe  -o binDebugdeneme3.exe objDebugmain.o   
gcc.exe: error: objDebugmain.o: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))


Logged


Have you modified the project?

Lets try to fix it:
Project->Properties->Build targets->Build target files -> Is main.cpp checked?

Have you tried a new project? Without modification?
Does the path to your project has special characters, like non english or spaces?

Edit:
Have you tried a rebuild: Build->Rebuild?

Please post always a build log if you can

greetings


Logged


Thank you for your help , ı gat it. I fixed the error,
i changed the filename and the problem was solved.

« Last Edit: September 06, 2020, 08:54:56 pm by ERBULUT »


Logged


I have the same problem, how did you fix it? Please help me :'(


Logged


Exact same thing happening to me. Tried with a fresh windows install, downloaded codeblocks-20.03mingw-setup.exe and can’t even run the «Hello world» program. No weird file names, compiler directory is correct, everything that should be checked is checked


Logged


If you want help post a build log!

Tim S.


Logged

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.

When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org


-------------- Build: Debug in tyew (compiler: GNU GCC Compiler)---------------

g++.exe  -o binDebugtyew.exe objDebugmain.o   
g++.exe: error: objDebugmain.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))

There have been a few times after restarting my computer when i was able to run a program. Once the time comes when i can’t run a program it stays like that forever until i restart my computer. Around 20% of my restarts result in me being able to run a program 1-3 times before everything goes to shit and i have to restart

« Last Edit: September 17, 2021, 09:16:32 am by Poruks »


Logged


Do you have any antivirus or temporary-files-cleaning software installed and possibly running/checking regularly?

Please press the Rebuild button (2 circling arrows) and post the full build log for that.


Logged


-------------- Clean: Debug in fhghgh (compiler: GNU GCC Compiler)---------------

Cleaned "fhghgh - Debug"

-------------- Build: Debug in fhghgh (compiler: GNU GCC Compiler)---------------

g++.exe  -o binDebugfhghgh.exe objDebugmain.o   
g++.exe: error: objDebugmain.o: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))

I have no anti-virus installed. Tried turning off everything in Windows Security Centre and it didn’t do anything

« Last Edit: September 17, 2021, 09:59:03 am by Poruks »


Logged



Logged



Logged


Hello,

I have a Qt project I have been working on in Qt creator for a little while now with no issues. However, for some reason I now get the error «no input files» every time I try to compile the project. I have tried cleaning the project, deleting the entire output folder structure, restarting Qt creator, and looking through the compiler output and the .pro file to see what the problem could possibly be but I am stumped. The odd thing is, I haven’t done anything out of the ordinary (edit, save, etc… files) to the project. Here is my full compiler output:

13:57:16: Running steps for project EngineersTerminal...
13:57:16: Configuration unchanged, skipping qmake step.
13:57:16: Starting: "C:QtToolsmingw530_32binmingw32-make.exe" -j8
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/Users/H321355/Local-Documents/Qt/build-EngineersTerminal-Desktop_Qt_5_11_2_MinGW_32bit-Debug'
gcc -c -fno-keep-inline-dllexport -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..EngineersTerminal -I. -I..EngineersTerminalframe -IC:Qt5.11.2mingw53_32include -IC:Qt5.11.2mingw53_32includeQtWidgets -IC:Qt5.11.2mingw53_32includeQtGui -IC:Qt5.11.2mingw53_32includeQtANGLE -IC:Qt5.11.2mingw53_32includeQtSerialPort -IC:Qt5.11.2mingw53_32includeQtQml -IC:Qt5.11.2mingw53_32includeQtNetwork -IC:Qt5.11.2mingw53_32includeQtCore -Idebug -I. -IC:Qt5.11.2mingw53_32mkspecswin32-g++  -o debug.o 

gcc: fatal error: no input files
compilation terminated.
Makefile.Debug:4884: recipe for target 'debug/.o' failed
mingw32-make[1]: Leaving directory 'C:/Users/H321355/Local-Documents/Qt/build-EngineersTerminal-Desktop_Qt_5_11_2_MinGW_32bit-Debug'
mingw32-make[1]: *** [debug/.o] Error 1
Makefile:36: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
13:57:19: The process "C:QtToolsmingw530_32binmingw32-make.exe" exited with code 2.
Error while building/deploying project EngineersTerminal (kit: Desktop Qt 5.11.2 MinGW 32bit)
When executing step "Make"
13:57:19: Elapsed time: 00:03.

And this is my .pro file:

#-------------------------------------------------
#
# Project created by QtCreator 2019-07-17T09:18:23
#
#-------------------------------------------------

QT       += core gui serialport qml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = EngineersTerminal
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

#This .pri includes headers and sources for a sub-section of the project's code
include(frame/frame.pri)

SOURCES += 
    aboutdialog.cpp 
    byteviewwidget.cpp 
    classifiedbyte.cpp 
    colorbuttonwidget.cpp 
    framelabelwidget.cpp 
    hextexteditwidget.cpp 
    labelformattingwidget.cpp 
    main.cpp 
    mainwindow.cpp 
    optionsdialog.cpp 
    sendwidget.cpp 
    terminalbyte.cpp 
    terminalbytelabel.cpp 
    terminalbytelabelmodel.cpp 
    terminalbytemodel.cpp 
    jsbytearraywrapper.cpp  
    terminalbyteproxymodel.cpp

HEADERS += 
    aboutdialog.h 
    byteviewwidget.h 
    classifiedbyte.h 
    colorbuttonwidget.h 
    framelabelwidget.h 
    hextexteditwidget.h 
    labelformattingwidget.h 
    mainwindow.h 
    optionsdialog.h 
    sendwidget.h 
    terminalbyte.h 
    terminalbytelabel.h 
    terminalbytelabelmodel.h 
    terminalbytemodel.h 
    jsbytearraywrapper.h  
    terminalbyteproxymodel.h

FORMS += 
        aboutdialog.ui 
        framelabelwidget.ui 
        labelformattingwidget.ui 
        mainwindow.ui 
        optionsdialog.ui 
        sendwidget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += 
    resources.qrc

Any ideas would be greatly appreciated.

Thanks!

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Gcc error while loading shared libraries
  • Gcc error unrecognized command line option
  • Gcc error trying to exec cc1plus execvp no such file or directory
  • Gcc error trying to exec cc1 execvp no such file or directory
  • Gcc error string no such file or directory

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии