- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcas:
- Intel® Fortran Compiler
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I did as the what the link showed. But it still did not work. Why there wasn't executable file created?
It drives me crazy.....
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Please create a ZIP of your project folder and attach it to a reply here.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You have not added the source file to the project.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
What should I do?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I think I figure it out. I added the source files manually. I thought it will be created automatically. How can I make it created automatically under the source files document?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thank you for your patience, Steve. You help me a lot.

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora