- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i wolud like to port an old dll vritten in CVF 6.6 and c++ under visual studio 6 in a new solution VS2008.
The problem is that i have a link error LNK1104: missing LIBC.lib.
I have already added " ignore libc.lib" but, i have the error too.
It is possible that /nodefaultlib doesn't work?
my command line from VS2008 is:
/OUT:"Debug/pcroutdll.dll" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:"libcmtd.lib libc.lib" /DEF:"Otsw32.def" /MANIFEST /MANIFESTFILE:"C:\\Users\\cecio\\Desktop\\sviluppo_vs2008\\pcroutdll+_w7\\Debug\\pcroutdll.dll.intermediate.manifest" /DEBUG /PDB:"Debug/pcroutdll.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/pcroutdll.lib" /DLL kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Otsw32.lib
Thanks
Cecio
i wolud like to port an old dll vritten in CVF 6.6 and c++ under visual studio 6 in a new solution VS2008.
The problem is that i have a link error LNK1104: missing LIBC.lib.
I have already added " ignore libc.lib" but, i have the error too.
It is possible that /nodefaultlib doesn't work?
my command line from VS2008 is:
/OUT:"Debug/pcroutdll.dll" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:"libcmtd.lib libc.lib" /DEF:"Otsw32.def" /MANIFEST /MANIFESTFILE:"C:\\Users\\cecio\\Desktop\\sviluppo_vs2008\\pcroutdll+_w7\\Debug\\pcroutdll.dll.intermediate.manifest" /DEBUG /PDB:"Debug/pcroutdll.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/pcroutdll.lib" /DLL kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Otsw32.lib
Thanks
Cecio
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your specification of the /NODEFAULTLIB option is incorrect. I think you need a semicolon-separated list in the project property. However, this will still give you problems. Any Fortran code compiled with another compiler must be recompiled with Intel Fortran. If you are linking to some C library that was compiled with VC6, you must recompile it with a newer C compiler. Microsoft removed libc.lib in VS2005.

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