Community
Participate
Working Groups
Build Identifier: 20100218-1602 When I try to build a fortran-static-library the project does not recognise the source files. Here is an example for a simple "hello world" project: **** Build of configuration Debug for project Hello **** Nothing to build for project Hello An executable project works fine. Reproducible: Always Steps to Reproduce: 1. File -> New -> Fortran project choose: static library, define a name, 2. Next 3. Finish 4. Add file to the project (e.g using import) 5. Build project (ctrl+B)
You said: 1. File -> New -> Fortran project choose: static library, define a name, Do you mean "Static Library > Empty Project" or "Static Library (Intel Fortran)"?
(In reply to comment #1) > You said: > 1. File -> New -> Fortran project > choose: static library, define a name, > Do you mean "Static Library > Empty Project" or "Static Library (Intel > Fortran)"? I meant Static Library -> Empty Project
That is actually a project type for C/C++ static libraries, not Fortran, so it only recognizes C/C++ source files. The New Fortran Project dialog in Photran 5 contains both C and Fortran project types, and unfortunately the name CDT chose for this project type obviously makes it impossible to tell that it only works with C/C++ source files. This will be fixed in Photran 6, which contains only Fortran-specific project types in the New Project wizard. Sorry about the confusion.