- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile a simple 64 bit fortran exe on my 32 bit windows. However, I got the below error:
fatal error LNK 1561: entry point must be defined.
Trying to compile a 32 bit fortran exe on 32 bit system, OTOH, doesn't have any problem.
I attach the vfproj that is used to produced the 64 bit exe here for your perusal. You can try to compile the vfproj on a 32 bit Windows XP to see what I mean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reasons your system is not defined in the x64 project.
Go to Project Properties\Linker\System and set SubSystem to Console (/SUBSYSTEM:CONSOLE).
The program should compile and link without problems after that.
Victor
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reasons your system is not defined in the x64 project.
Go to Project Properties\Linker\System and set SubSystem to Console (/SUBSYSTEM:CONSOLE).
The program should compile and link without problems after that.
Victor

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page