- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been given a project developed using Compaq Visual FORTRAN 6.6.0. I am now using Compaq Visual FORTRAN 6.6.0 to compile the FORTRANcode within a VS2008 environment (the configuration type is an application .exe)
I get this error from linking:
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: __imp___fpieee_flt already defined in dformd.lib(fix.obj)
1>.\\Debug/pipeline_calc.exe : fatal error LNK1169: one or more multiply defined symbols found1>Build log was saved at file://c:\\PipelineTrunk\\pipeline_calc\\Debug\\BuildLog.htm
I tried telling the VS2208 linker to ignore msvcrt but that just changed the error to
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>.\\Debug/pipeline_calc.exe : fatal error LNK1120: 1 unresolved externals
I've found a few references to the error but not found one that I've been able to use, any help appreciated...
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compaq Visual Fortran was never supported for use with VS2008 (especially as it stopped being developed in 2003.) It would appear that there is a conflict between the CVF-suppliied dformd.lib and the VS2008 msvcrt.lib. I have a faint memory of some issue related to this routine but don't remember any details.
Some suggestions I have:
1. Change the Fortran "Libraries" type to "Multithreaded" and not a DLL type.
2. Do the build from within the VS98 environment supplied with CVF.
3. (Recommended) Purchase and install Intel Visual Fortran which is supported with VS2008 and convert the project.

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