User forums > Using Code::Blocks
projects
rogerh:
This isn't a fortran problem. It's a CB problem. It's doing things I don't understand.
My program works perfectly as a single file but when I try to make it into a project, CB inserts fake programs in it's place.
Roger
raynebc:
When you deleted the default file from the project, did you remember to save the project?
rogerh:
No, didn't know it was necessary.
I'll try that.
Roger
oBFusCATed:
Can you post the exact steps you're doing? Describe as many details as possible (1. clicked this menu, 2. clicked this button, etc).
Recording a video might also be helpful for us to understand what you're doing wrong.
rogerh:
Ok, problem solved.
I got out of CB, physically moved the needed files into the project directory, renamed the roger21.f95 file to main.f95, did a rebuild and it ran perfectly.
Seems odd that it was necessary since CB has an "add file" button but whatever.
Now the .exe file was found in the roger21/bin/debug directory and it doesn't work because libgfortran-3.dll is missing.
How come?
Roger
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version