Author Topic: Not building not compiling, linux mint  (Read 5092 times)

Offline TeacherPeter

  • Single posting newcomer
  • *
  • Posts: 2
Not building not compiling, linux mint
« on: April 07, 2019, 08:53:05 pm »
Hi everyone,

I downloaded code::blocks to my computer (runs on Linux Mint OS) and installed it. I opened a new project, a console one, c++ and tried to build and run it, but nothing happened.
This is the error that pops up:

"Process terminated with status -1 (0 minute(s), 0 second(s))"

Any ideas? Thanks in advance.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1557
Re: Not building not compiling, linux mint
« Reply #1 on: April 07, 2019, 08:56:22 pm »
Did you install the build-essential package?

Code
sudo apt-get update
sudo apt-get install build-essential

Offline TeacherPeter

  • Single posting newcomer
  • *
  • Posts: 2
Re: Not building not compiling, linux mint
« Reply #2 on: April 07, 2019, 09:32:19 pm »
I did. Opened up code::blocks again and... nothing. :-\

Message:


"Process terminated with status -1 (0 minute(s), 0 second(s))"

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1557

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Not building not compiling, linux mint
« Reply #4 on: April 08, 2019, 02:15:56 am »
If it builds OK; but, does not run the problem on Linux is normally you failed to install the terminal program or need to configure Code::Blocks to use the terminal program that is installed.

Tim S.
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org