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

fatal error LNK1561: entry point muct be defined

dhku
初學者
670 檢視

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 積分
2 回應
ZlamalJakub
新貢獻者 III
670 檢視

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

dhku
初學者
670 檢視

Thanks Jakub.

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

Thanks,

DJ

回覆