-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error was shown when build command was employed #30
Comments
Hi, |
I install also one Python compiler alone, but the code still shows errors. |
I checked the Codeblocks example again and the command used for linking with the Python runtime library was: x86_64-w64-mingw32-gfortran.exe -LC:\Users\username\Anaconda3 -o main.exe forpy_mod.o main.o -lpython37 (adjust paths and filenames according to your project) I also had to set the
|
If I understand the building program logic of your project:
|
Yes, that's basically correct. main.f90 is just the filename of my code example. forpy_mod should have the extension .F90, since it needs to be preprocessed: use the filename forpy_mod.F90 instead of forpy_mod.f90 - maybe this was the cause of the error messages. Alternatively you could use the option
or
|
Thanks, for your attention. Your code works properly. However, I want to keep this issue open until I provide a complete solution for Windows and any IDE. I hope you keep it open too. |
I use the last version of Geany IDE with sync to the last version of Anaconda.
I build my code in Windows 7 64-bit.
When I typed the build command:
, it showed errors:
I want to know how this error appeared and how can I solve it?
The text was updated successfully, but these errors were encountered: