Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build not working on multiple PCs #114

Closed
theinlinaung2010 opened this issue Jan 4, 2020 · 3 comments
Closed

Build not working on multiple PCs #114

theinlinaung2010 opened this issue Jan 4, 2020 · 3 comments

Comments

@theinlinaung2010
Copy link

theinlinaung2010 commented Jan 4, 2020

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.

@szaghi
Copy link
Owner

szaghi commented Sep 12, 2020

Hi @theinlinaung2010

sorry for my delay, but last months were very complicated for me. Are you still facing with this issue, can I help in some way?

@theinlinaung2010
Copy link
Author

@szaghi thank you for the reply.

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.

@szaghi
Copy link
Owner

szaghi commented Sep 15, 2020

@theinlinaung2010 great, happy you solved the problem.

Cheers

@szaghi szaghi closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants