Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29007 Discussions

fatal error LNK1561: entry point muct be defined

dhku
Beginner
566 Views

Hi,

I am using Intel Visual Fortran and C compilers together on Microsoft Visual Studio 2008,calling C from Fortran. I have a fortran project (fproject) and I added a C project (cproject) in the Fortran project. I have linked the two.

When Ibuild them in "Debug" mode I do not get any error, but when I build them in "Release" mode, I get error: "fatal error LNK 1561: entry point must be specified". This error is inC project.

Anyone knows what should I do to? Please help me.

Regards,

DJ

0 Kudos
2 Replies
ZlamalJakub
New Contributor III
566 Views

You have probably different setup of projects in release and debug version. Try to go through project settings and change Release-Debug configuration to see difference.

Jakub

0 Kudos
dhku
Beginner
566 Views

Thanks Jakub.

There were some differences in Debug and Release mode. It's working now.

Thanks,

DJ

0 Kudos
Reply