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

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

code blocks not running

I use ubuntu 12.1 64db,I installed code blocks but when I run a project «c project» it gives me «It seems that this project has not been built yet,Do you want to build it now?» when I click yes it gives Linking console executable: bin/Debug/test /bin/sh: 1: g++: not found

so how can I run the project?

2 Answers 2

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

I’ll assume that you want to execute your code. In that case, when you want to run it, you must first click yes to building the project. Since you must first compile and link your code into a final executable before it can be run.

Edit: He didn’t have g++ >.>

Install g++ with sudo apt-get install g++ and that should solve your issues.

It seems that this project has not been built yet codeblocks как исправить. Смотреть фото It seems that this project has not been built yet codeblocks как исправить. Смотреть картинку It seems that this project has not been built yet codeblocks как исправить. Картинка про It seems that this project has not been built yet codeblocks как исправить. Фото It seems that this project has not been built yet codeblocks как исправить

—2. Double click the mingw-set-up.exe and press Install. [][1]

—3. Dont change the Installation Directory and press Cointinue

—4. Wait until installed.

—5. Then press Continue and wait again..

—6. Mark all files for installation

—8. Press «Close dialogue automatically. « and wait.

—10.Copy the addres of new MinGW bin file which should be C:\MinGW\bin

—11.Right click on your start and press System

—12. Press Advanced system settings—> Environment variable

—13. In System variables click Path and then Edit.

—14. Then press New and paste the addres of file «bin» that is inside of file MinGW in Documents(step 10) that should be C:\MinGW\bin.Then press OK—>OK—>OK.

—16. Open Codeblocks go settings—>Compiler. Select» GNU GCC Compiler «.

CAUTION. This SCREENSHOT IS FOR 32-BIT SYSTEMS. I am not sure for 64-Bit systems. [32-BIT SYSTEMS][1]

Источники информации:

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

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