[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [photran] Problem with managed build projects
|
Michel,
I am having a very similar problem involving a module located in a
subdirectory. However, the build process only breaks as soon as I choose
a new build configuration (e.g. switching from Debug to Release
configuration). I filed a bug report, where you can find the details
(Bugzilla – Bug 326333 ):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326333
Please have a look whether it is the same issue and if so, you might
want to post a comment and / or add yourself to the list, so that the
developers see that this is an important bug.
Regarding the modules of other projects, have you checked the following
two in the project properties:
a) -> Fortran General -> Analyisis and refactoring: 'Folders to be
searched for modules' contains the correct folders? If you just copy a
whole project, and Refactoring is enabled, then this box will still have
the old paths. I thought about filing a bug report, but was told that
this behavior was intended, which I do understand.
b) -> Project References does not have incorrectly checked boxes.
Best
Daniel
PS: Regarding your second email, I have the same problem when switching
Linux distros. At the moment, I am creating a new project every time, so
please let me know if you find another way.
On 10/16/2010 04:44 PM, Michel DEVEL wrote:
Dear Photran developers,
I have had quite a few problems with managed build projects since
version 6.0, because of module files, up to the point that I reverted
to traditional "Makefile projects" as a quick and dirty way to get my
result.
Unfortunately I do not have time to investigate that at the moment and
this is why I did not write about this before and will not be able to
provide many details here. Sorry.
The Pb is that eclipse/photran refuses to build the project more than
once, because of an internal error such as:
"An internal error occurred during: "Build Project".
Could not find a file to match the module name: const_fond"
whereas I do have a file const_fond.f in my src sub-directory and I
also do have a const_fond.mod in that directory (created the first
time the project built OK).
(I tried also to rename const_fond.f as const_fond.f90 but that did
not work better)
(I have only one module per file and the name of the file is the name
of the module)
Sometimes eclipse/photran also wants to compile a module that belongs
to another project in the workspace which has no relation to the
current project...
These problems occur under Linux/gfortran as well as under
Win64/gfortran and also (but I am less sure it is systematic) for
Linux/ifort.
--
Sincerely yours,
Michel DEVEL
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran