Topic: Build problem in Vista

I am running the demo version of Simply Fortran 2.17 under Windows Vista (32bit)

When I try to build the example 'Hello world', the following error is obtained:

==============================================================================
Generating Makefile... Okay
==============================================================================
Compiling .\hello.f90
gfortran.exe: error: CreateProcess: No such file or directory
Error(E42): Last command making (build\hello.o) returned a bad status
Error(E02): Make execution terminated

I suppose this is not a problem just of the demo version.

How can this problem ve solved?

Regards
Jaime

Re: Build problem in Vista

Jaime,

It sounds like there may have been a problem during installation.  If you go to Compiler Options (by selecting "Compiler" from the Options menu), what paths are listed for the compilers?  If you navigate to those locations in Windows Explorer, do the paths exist?

You might be able to fix everything with a re-installation.  If the problem persists, there is a possibility that a virus scanner may be deleting the files during the installation process.

Jeff Armstrong
Approximatrix, LLC

Re: Build problem in Vista

Thank you for your reply,

I performed a re-installation with the virus scanner desactivated.

The paths are the following (and they exist):
-C:\Program Files\Simply Fortran 2\mingw-w64\bin\gfortran.exe
-C:\Program Files\Simply Fortran 2\mingw-w64\bin\gcc.exe
-C:\Program Files\Simply Fortran 2\mingw-w64\bin\windres.exe
-C:\Program Files\Simply Fortran 2\mingw-w64\bin\ar.exe

The problem persists

Regards

Re: Build problem in Vista

Jaime,

In Windows Explorer, can you check the contents of the following directory:

C:\Program Files\Simply Fortran 2\mingw-w64\libexec\gcc\x86_64-w64-mingw32\4.9.1\

What's happening is that the compiler is invoking another program needed as part of the compilation process.  However, for some reason it is unable to find the program it needs.  Of course, the error report is almost completely useless since it doesn't actually say what's failing. It is almost certainly an executable in this directory it's looking for.

Jeff Armstrong
Approximatrix, LLC

Re: Build problem in Vista

Hello

The contents are:

install-tools (folder)
cc1.exe
cc1plus.exe
collect2.exe
f951.exe
liblto_plugin.a
liblto_plugin.la
lto-wrapper.exe
lto1.exe

Regards,

Re: Build problem in Vista

Jaime,

Could you post the contents of your Makefile from the Hello World example project?  You can access it by selecting "View Makefile..." from the Project menu.

Also, by chance, do you have any other versions of the GNU compilers installed?  I'm not sure at this point why you're seeing the error, but I do want to fix it for you.  I'll also see if I can replicate the problem on Vista on my end.

Jeff Armstrong
Approximatrix, LLC

Re: Build problem in Vista

This problem seems to be a persistent issue on Vista only:

http://forums.approximatrix.com/viewtopic.php?id=288

I can't replicate it at the moment, but I'm still working on it.

Jeff Armstrong
Approximatrix, LLC

Re: Build problem in Vista

Ok
Thank you for trying

Regards,