User forums > Using Code::Blocks

Problem(s) with compiler settings

<< < (2/2)

stahta01:

--- Quote from: FableSix on November 12, 2018, 05:02:29 pm ---
--- Quote from: Quiss on November 12, 2018, 08:30:07 am ---You should check/change your project's settings; right click project->Build options

--- End quote ---

I've tried it but didn't worked. Thanks anyway!  :'(

--- End quote ---

You need to change the project's selected compiler to a valid compiler!

Tim S.

oBFusCATed:
What compiler is selected for the target you're building?

BlueHazzard:
Your settings file seems to be fine. You probably have messed up somehow your project.

As other have pointed out you probably have to select the right compiler for your project. You can do this with
1) Project->Build options->select the project name on the left->From the drop down menu "Selected compiler" select the "gnu gcc compiler".
2) Now click on each target name in the tree control on the left and check it there is the same compiler selected in the "Selected compiler" option.
3) Close the dialog with OK
4) Save everything with File->Save everything
5) Rebuild your project with Build->Rebuild

If this does not help please post your zipped project file

Navigation

[0] Message Index

[*] Previous page

Go to full version