Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   LINK : fatal error LNK1104: cannot open file 'libcid.lib' (https://forum.exetools.com/showthread.php?t=3844)

Nilrem 04-02-2004 17:31

LINK : fatal error LNK1104: cannot open file 'libcid.lib'
 
What does LINK : fatal error LNK1104: cannot open file 'libcid.lib' mean?

I am getting the error when compling in VC++ 7.1

TQN 04-02-2004 18:21

libcid.lib is the lib file for old iostream of VC++ 6. The VC++7 do not have because it uses Standard C++ library. You can search the text and delete the text: #pragma comment(lib, "libcid.lib") and change all #include old IOstream headers to new #include.
Ex:
Old: #include <iostream.h>
New: #include <iostream> // No .h
Regards
TQN

Nilrem 04-02-2004 20:47

I don't think I've fully followed you TQN. I removed .h and just had <iostream> upon compiling it says such commands as endl and cout are undeclared identifiers.

TQN 04-03-2004 10:43

Sorry Nilrem. After #include..., you must add a line:
using namespace std;
I think your project file ported from VC++6 to VC++7. Open your project file with a text editor, search "libcid.lib" and delete it.
Good luck

Nilrem 04-03-2004 19:37

Thanks TQN that worked a treat. No the project isn't ported over, is there any other big differences between these two version of VC++ that could cause me problems?

SheepShagger 04-04-2004 07:59

Several differences in fact. With the introduction of Visual C++ .NET 2003 (VC++ 7.1) MS finally started to get their compiler closer to the C++ Standard. Is not there yet -specially in the template side of things- but is close. As you may expect, by doing that they also introduced a series of "breaking changes" and programs that used to compile with VC++ 6 or VC++ 7.0 won't necessarily compile with the newer version. The changes are in several areas and not just in the compiler itself. As TQN mentioned there are also changes in the standard, ATL and MFC libraries

For a list of issues check hxxp://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcedit/html/vcoriwhatsnewinvisualcnet2003.asp

Nilrem 04-04-2004 23:17

Ahh, that's helpful, thanks a lot SheepShagger.


All times are GMT +8. The time now is 16:17.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX