You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compiler = gnu
cflags = $CSTATIC_GNU $DEBUG_GNU
lflags = $DEBUG_GNU
mod_dir = ./mod/
obj_dir = ./obj/
exclude_dirs = ./exclude/
target = main.f90
output = main.exe
colors = True
quiet = True
log = True
`
Although I can successfully build and run the project on my windows PC, it produced undefined reference errors when I tried to build it on my laptop. The file paths in the build error messages referred to the locations in the PC. Since I use a different username for the laptop, the paths are different. I had to clean the build and rebuild again even though previously compiled executable runs fine on my laptop.
The text was updated successfully, but these errors were encountered:
I somehow managed to get it working on both computers. I don't exactly remember what I did (maybe a clean reinstall of fobis). So I think there is no issue for now.
I use FoBiS script "fobis.py build" to compile my Fortran project with gnu fortran compiler. Below are the contents of my fobos file.
`
[default]
$DEBUG_GNU = -O0 -g3
$CSTATIC_GNU = -cpp -c -frealloc-lhs
compiler = gnu
cflags = $CSTATIC_GNU $DEBUG_GNU
lflags = $DEBUG_GNU
mod_dir = ./mod/
obj_dir = ./obj/
exclude_dirs = ./exclude/
target = main.f90
output = main.exe
colors = True
quiet = True
log = True
`
Although I can successfully build and run the project on my windows PC, it produced undefined reference errors when I tried to build it on my laptop. The file paths in the build error messages referred to the locations in the PC. Since I use a different username for the laptop, the paths are different. I had to clean the build and rebuild again even though previously compiled executable runs fine on my laptop.
The text was updated successfully, but these errors were encountered: