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

Cant make executable file in release mode

hkkim
Beginner
301 Views

My environment; MS Visual C++ 6.0 with Service Pack 5, Visual Fortran Professional Edition 6.1.A, Mixed programming withthese two languages

Dear experts,

Here are my problems.

1. The executable file was made after several F7 key pressed with ignoring LNK2001 errors in Debug mode. That file works well anyway.

2. Whenever try to build in Release mode, the only one Fortran object file(.obj) created not all of them. I have more than 100 Fortran files in my worksapce. After pressing F7 more than 100 times, the Linking errors was issued like below. The messages, already defined in , are a matter foreign to the problem in the source program I think.

-----------------------------------------------------------------------

Linking...

linkhectos.obj : error LNK2005: _CORE3D@16 already defined in core3d.obj

linkhectos.obj : error LNK2005: _FDENS@4 already defined in core3d.obj

linkhectos.obj : error LNK2005: _REACTOR_TRIP@0 already defined in core3d.obj

link.exe terminated at user request.

Tool execution canceled by user.

-----------------------------------------------------------------------

Does anyone have experiences similar to my problems?

Thanks in advance.

0 Kudos
0 Replies
Reply