I found several simple fortran code to test my fortran compiler. But every time I started debugging, there was a error window saying Unable to start program 'C:\users\CPU\documents\visual studio 2008\projects\console1\x64\debug\console1.exe' The system cannot find the file specified.
I am using Intel Fortran 11.1 and visual studio 2008. I have tested Fortran with ranning a UMAT in abaqus, and it did work. But when I wanted to debug any fortran code in visual studio, it appears the above error message.
連結已複製
This means that the executable does not exist. Did a build complete without errors? You need to build the application first. From the Visual Studio menu, select Build and then Build Solution. Then you should be able to debug. Make sure you set a breakpoint at a convenient place in the Fortran code before starting the execution.
Hi Steve,
I built solution, and it appears 0 succeeded, 0 failed , 1 up-to-date, 0 skipped. And then, I started debugging, but I had the same problem. I had such problem even when I ran such a simple code.
$ vim helloworld.f
program hello
print *,"Hello World!"
end program hello
Hi Steve,
I built solution, and it appears 0 succeeded, 0 failed , 1 up-to-date, 0 skipped. And then, I started debugging, but I had the same problem. I had such problem even when I ran such a simple code.
$ vim helloworld.f
program hello
print *,"Hello World!"
end program hello
Select Project > Add New Item... (or Add Existing Item...). You can also right click on a project and add new/existing items that way. Another option is to drag and drop a file from a folder onto the "Source Files" pseudo-folder in your project in Visual Studio.