473,326 Members | 2,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

LNK1104: Libcimt - Finding references to Old STL vs. New STL in libs

I'm trying to migrate a VC++ 6 project to VS .NET 2003, and have hit the
LNK1104 - libcimt.lib problem where there's some code still referencing the
old STL library.

I've verified all our code uses the new STL headers.

Can I use "dumpbin /symbols" to check each 3rd party library we use to see
if it uses the old vs. new STL library ? How do I tell if the references
are for the old vs new STL?

Thanks for any pointers....
-Lance
Nov 16 '05 #1
3 3041
Lance wrote:
I'm trying to migrate a VC++ 6 project to VS .NET 2003, and have hit
the LNK1104 - libcimt.lib problem where there's some code still
referencing the old STL library.

I've verified all our code uses the new STL headers.

Can I use "dumpbin /symbols" to check each 3rd party library we use to
see if it uses the old vs. new STL library ? How do I tell if the
references are for the old vs new STL?


LNK1104: cannot open file 'filename' !?

Why not use the /VERBOSE parameter in the linker !?
This will also let you find the depending LIB/OBJ.

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/useritems/leakfinder.asp
Nov 16 '05 #2
Lance wrote:
I'm trying to migrate a VC++ 6 project to VS .NET 2003, and have hit
the LNK1104 - libcimt.lib problem where there's some code still
referencing the old STL library.

I've verified all our code uses the new STL headers.

Can I use "dumpbin /symbols" to check each 3rd party library we use
to see if it uses the old vs. new STL library ? How do I tell if
the references are for the old vs new STL?


Everything in the C++ standard library is in the std namespace, while
"classic iostreams" (aka libcimt.lib) is in the global namespace. Further,
standard iostreams are templates, while classic iostreams are not.

Suggestion: do a dumpbin/symbols on libcimt.lib to see what they look like:
you should be able to easily pick them out from standard iostreams because,
for example, there's no class iostream in the standard library - instead,
there's a typedef basic_iostream<...> iostream.

-cd
Nov 16 '05 #3
Carl -

Thanks. I'll give that a try.

-Lance

"Carl Daniel [VC++ MVP]" <cp******@nospam.mvps.org> wrote in message
news:ug**************@TK2MSFTNGP10.phx.gbl...
Lance wrote:
I'm trying to migrate a VC++ 6 project to VS .NET 2003, and have hit
the LNK1104 - libcimt.lib problem where there's some code still
referencing the old STL library.

I've verified all our code uses the new STL headers.

Can I use "dumpbin /symbols" to check each 3rd party library we use
to see if it uses the old vs. new STL library ? How do I tell if
the references are for the old vs new STL?
Everything in the C++ standard library is in the std namespace, while
"classic iostreams" (aka libcimt.lib) is in the global namespace.

Further, standard iostreams are templates, while classic iostreams are not.

Suggestion: do a dumpbin/symbols on libcimt.lib to see what they look like: you should be able to easily pick them out from standard iostreams because, for example, there's no class iostream in the standard library - instead,
there's a typedef basic_iostream<...> iostream.

-cd

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike | last post by:
The error during build in VC++: LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib" the issue: I've inherited this cource code from another company and the company had their dir....
1
by: Weiming | last post by:
Hi, I converted VC 6.0 project to VC 7.0. However, I can not build it due to error - LNK1104: cannot open file 'mfc42.lib'. I guess there is a .lib used by this project was compiled by VC 6.0...
1
by: Amrit Kohli | last post by:
Hello. I am trying to run the VS C++ compiler from the command line. I enter the following: cl -GX prog1.cpp It compiles the file fine, but then when it goes to link the object file, I...
2
by: danip | last post by:
Hi, I have a C# project that have a C++ .net DLL as a reference. Everything is working okay, except when I try to rebuild only the C++ DLL I receive the error: fatal error LNK1104: cannot open...
1
by: Danno040 | last post by:
I'm trying to compile the source code for the demos that comes with NVIDIA's SDK using Visual Studio 2005, however whenever I try to build them I get a large number of unresolved external errors or...
1
by: Durga | last post by:
HI, I am converting VC++ 6.0 to .NET 2003. But I am getting linker error. Error: MyApplication fatal error LNK1104: cannot open file 'libci.lib'. MyApplication has OpenSSL, MFC and win 32...
5
by: mickey22 | last post by:
Hi, I am getting some errors in building my project I tried to build a C++ file say abc.cpp and I have put the all the directories to include necessary library files and header files..But I...
1
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i...
1
by: jweizman | last post by:
Hi I wrote a DLL with a dependency of a lib library which is NOT mine. So i can't do any change inside. How can i still compile my library ? I have the LNK1104 error : can't open file...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.