Меню

Ошибка исходный файл не откомпилирован dev c

After some investigation, and with Dr.Topaz’s help, I have learned that you will want to confirm that the program set for g++ in the Compiler Options really does compile the source code. In my case, the C:Dev-Cppbing++.exe program did not create an exe, but the C:Dev-Cppbinc++.exe program did. Either program appears to be intended to take the same arguments and options as GNU g++. I would love to find an actual doc on the Dev-C++ compiler programs, but I have not so far.

You can test the compiler program with a simple example like this:

C:Dev-Cppbinc++.exe hello.cpp -o hello.exe

Currently in 2021, the Dev-C++ site invites you to download either original Dev-C++ or a newer fork by a group named Embarcadero.

I decided to try the Embarcadero version and the experience was slightly better. The UI is still a tad dated, but the g++.exe program it came with was able to compile programs without issue. Again, take note of where the program is being installed, but in my case, the Embarcadero compiler programs were in C:Program Files (x86)EmbarcaderoDev-CppTDM-GCC-64bin.

Both original Dev-C++ and Embarcadero come with mingw-32 versions of the compiler programs that from what I see do work in a Git Bash console, with slight differences such as not recognizing a default locale when using the command std::cout.imbue(std::locale("")).

After some investigation, and with Dr.Topaz’s help, I have learned that you will want to confirm that the program set for g++ in the Compiler Options really does compile the source code. In my case, the C:Dev-Cppbing++.exe program did not create an exe, but the C:Dev-Cppbinc++.exe program did. Either program appears to be intended to take the same arguments and options as GNU g++. I would love to find an actual doc on the Dev-C++ compiler programs, but I have not so far.

You can test the compiler program with a simple example like this:

C:Dev-Cppbinc++.exe hello.cpp -o hello.exe

Currently in 2021, the Dev-C++ site invites you to download either original Dev-C++ or a newer fork by a group named Embarcadero.

I decided to try the Embarcadero version and the experience was slightly better. The UI is still a tad dated, but the g++.exe program it came with was able to compile programs without issue. Again, take note of where the program is being installed, but in my case, the Embarcadero compiler programs were in C:Program Files (x86)EmbarcaderoDev-CppTDM-GCC-64bin.

Both original Dev-C++ and Embarcadero come with mingw-32 versions of the compiler programs that from what I see do work in a Git Bash console, with slight differences such as not recognizing a default locale when using the command std::cout.imbue(std::locale("")).

After some investigation, and with Dr.Topaz’s help, I have learned that you will want to confirm that the program set for g++ in the Compiler Options really does compile the source code. In my case, the C:Dev-Cppbing++.exe program did not create an exe, but the C:Dev-Cppbinc++.exe program did. Either program appears to be intended to take the same arguments and options as GNU g++. I would love to find an actual doc on the Dev-C++ compiler programs, but I have not so far.

You can test the compiler program with a simple example like this:

C:Dev-Cppbinc++.exe hello.cpp -o hello.exe

Currently in 2021, the Dev-C++ site invites you to download either original Dev-C++ or a newer fork by a group named Embarcadero.

I decided to try the Embarcadero version and the experience was slightly better. The UI is still a tad dated, but the g++.exe program it came with was able to compile programs without issue. Again, take note of where the program is being installed, but in my case, the Embarcadero compiler programs were in C:Program Files (x86)EmbarcaderoDev-CppTDM-GCC-64bin.

Both original Dev-C++ and Embarcadero come with mingw-32 versions of the compiler programs that from what I see do work in a Git Bash console, with slight differences such as not recognizing a default locale when using the command std::cout.imbue(std::locale("")).

После некоторого расследования и с помощью доктора Топаза я узнал, что вы захотите подтвердить, что программа настроена на g++ в параметрах компилятора действительно компилирует исходный код. В моем случае C:Dev-Cppbing++.exe программа сделала не создать exe, но C:Dev-Cppbinc++.exe программа сделала. Любая программа, по-видимому, предназначена для использования тех же аргументов и опций, что и GNU g ++. Я хотел бы найти настоящий документ по программам компилятора Dev-C++, но пока этого не сделал.

Вы можете протестировать программу-компилятор на простом примере:

C:Dev-Cppbinc++.exe hello.cpp -o hello.exe

В настоящее время в 2021 г. Dev-C ++ сайт предлагает вам загрузить либо оригинальный Dev-C++, либо более новый форк от группы Embarcadero.

Я решил попробовать версию Embarcadero, и опыт был немного лучше. Пользовательский интерфейс все еще немного устарел, но g++.exe программа, с которой он поставлялся, могла без проблем компилировать программы. Опять же, обратите внимание на то, куда устанавливается программа, но в моем случае программы-компиляторы Embarcadero находились в C:Program Files (x86)EmbarcaderoDev-CppTDM-GCC-64bin.

И оригинальный Dev-C++, и Embarcadero поставляются с версиями программ-компиляторов mingw-32, которые, насколько я вижу, работают в консоли Git Bash, с небольшими отличиями, такими как нераспознавание локали по умолчанию при использовании команды std::cout.imbue(std::locale("")).

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

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

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка инициализации формы входа error сетевой город что делать
  • Ошибка инфинити fx35 p0335