User forums > Using Code::Blocks

How to get compiler to build current script

(1/1)

lime-n:
Whenever I am trying to build on my current script, the IDE returns to a previous script of mine that hasn't been built effectively which would have me focus on fixing this.

Is there a way to only build the current script I am on? I have tried right-clicking Fortran script and clicking on properties -> build -> (untick) compile the file. While this works, I get the error:

> ||gfortran.exe: error:  obj\Debug\test1.o : No such file or directory|

I have checked this directory and it's true that the file does not exist there, however, It has nothing to do with the current script I am working on. It seems to be an issue with one of the files I unticked compile file for.

Is there a better way around this?

oBFusCATed:
Are you calling fortran source files - "scripts"?
They are not scripts and most of the time they are not self sufficient, most of the times you need a project.

Navigation

[0] Message Index

Go to full version