Author Topic: How to get compiler to build current script  (Read 3570 times)

lime-n

  • Guest
How to get compiler to build current script
« on: May 16, 2021, 09:34:33 pm »
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: How to get compiler to build current script
« Reply #1 on: May 17, 2021, 01:01:21 am »
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]