It seems that this project has not been built yet codeblocks как исправить
Перейти к содержимому

It seems that this project has not been built yet codeblocks как исправить

в codeblocks не запускается программа и в терминале выдает ошибку

Помогите! Начал изучать язык С. В codeblocks программа не запускается. Поочередно опишу что выдает:

  1. Появляется окно с сообщением:

it seems that this file has not been built yet. do you want to built it now?

ну то есть: похоже, что этот файл еще не был построен. вы хотите построить его сейчас?

На выбор: да, отмена, нет.

Если выбрать «да», то в нижнем окне codeblocks во вкладке Build log выдает:

Build file: «no target» in «no project» (compiler: unknown) Что по-русски: Файл сборки: «нет мишени» в «без проекта» (составитель: неизвестно)

Далее: gcc -c /home/al-fa-omega/Документы/StivenPrata/concrete.c -o /home/al-fa-omega/Документы/StivenPrata/concrete.o

gcc -o /home/al-fa-omega/Документы/StivenPrata/concrete /home/al-fa-omega/Документы/StivenPrata/concrete.o -lstdio.h

Checking for existence: /home/al-fa-omega/Документы/StivenPrata/concrete

и все, программа не запускается.

Если выбрать в выпадающем окне «нет»,то открывается окно терминала, но без исполнения программы, а только информация процесса исполнения по времени и нажать Энтер для продолжения. А в нижнем окне codeblocks имеем следующее:

Checking for existence: /home/alfa-omega/Documents/StivenPrata/concrete

Executing: ’xfce4-terminal-T ‘/home/alfa-omega/Documents/StivenPrata/concrete’ -x ‘/usr/bin/cb_console_runner’ ’/home/alfa-omega/Documents/StivenPrata/concrete" (in ‘/home/al-fa-omega/Documents/StivenPrata’)

Set variable: LD_LIBRARY_PATH=
Nothing to be done (all items are up-to-date).

    Если пытаться в терминале Linux’a запустить, то выдает следующее: al-fa-omega@alfaomega-v-m:

/Документы/StivenPrata$ gcc concrete.c concrete.c:1:10: fatal error: stdio.h: Нет такого файла или каталога 1 | #include <stdio.h> | ^

Прошу прощения за столь огромное описание проблемы. Новичок в пользовании Линуксом. В виндоусе таких проблем не было. И в программировании совершенный новичок. Но решил изучать Линукс.

Блоки кода «Похоже, что проект еще не построен. Хотите создать его сейчас?»

It seems like project has not been built yet. Do you wan to build it now?

Я тоже нашел похожие вопросы, но во всех из них не работает ни одна программа. Но в моем «привет мир!» программа и некоторые другие программы работают.

Я установил блоки кода на другой компьютер, и он работает нормально.

Я все еще изучаю C ++.

Что, если я скажу вам, что вы должны создать свою программу для ее запуска?

In the field of computer software, the term software build refers either to the process of converting source code files into standalone software artifact(s) that can be run on a computer, or the result of doing so. One of the most important steps of a software build is the compilation process where source code files are converted into executable code.

Возможно, ваш компилятор неправильно связан с C :: B, или после того, как вы попытаетесь построить свой проект, будут показаны многие другие ошибки, но на данный момент (если вы не публикуете журнал сборки) — вы должны собрать свое приложение в чтобы запустить его.

Code Blocks "It seems like project has not been built yet. Do you want to build it now?"

It seems like project has not been built yet. Do you wan to build it now?

I also found similar questions but in all of them not a single program is working. But in mine «hello world!» program and some other programs are working.

This is the code:

I installed code blocks in another computer and it’s working fine.

I’m still learning C++.

user avatar

4 Answers 4

What if I tell you that you should build your program to run it?

In the field of computer software, the term software build refers either to the process of converting source code files into standalone software artifact(s) that can be run on a computer, or the result of doing so. One of the most important steps of a software build is the compilation process where source code files are converted into executable code.

It may be possible that your compiler is not linked properly to C::B or many other errors will be shown after you try to build your project, but for now (unless you post any build log) — you have to build your application in order to run it.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *