Author Topic: How to run c++ program in code block?  (Read 362 times)

Offline rahul.6sept

  • Single posting newcomer
  • *
  • Posts: 1
How to run c++ program in code block?
« on: January 21, 2019, 05:49:50 pm »
Dear all,

     I'm new to code block. I want to run c++ program in this.

  I went to setting - compiler - added clang compiler. But it shows error msg " Can't find compiler executable in your configured search path's for GNU GCC Compiler".

 Kindly guide me.

 Regards,

 Rahul
 
« Last Edit: January 21, 2019, 05:52:33 pm by rahul.6sept »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2253
Re: How to run c++ program in code block?
« Reply #1 on: January 22, 2019, 02:09:32 pm »
You have to select the right compiler for your project:
Project->Build options->select the the project name on the left->Select your clang compiler from the dropdown list

Offline ishan c++

  • Single posting newcomer
  • *
  • Posts: 1
Re: How to run c++ program in code block?
« Reply #2 on: January 26, 2019, 04:46:24 am »
my compiler can't load, what should i do?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2253
Re: How to run c++ program in code block?
« Reply #3 on: January 26, 2019, 12:50:33 pm »
Quote
my compiler can't load, what should i do?
Is not a error message or error description.
You do not say what does not work or load, how this manifests and what the problem is.
Without detailed error message, procedure how to trigger this error, your tries to fix it, and more information about your environment we can not help...