Solved

libcd.lib

Posted on 1999-01-24
6
1,346 Views
Last Modified: 2008-03-17
i have no problem compiling my vc++ with opengl program in win98. however, i got
Linking...
LINK : fatal error LNK1104: cannot open file "LIBCD.lib"
Error executing link.exe.
when i compiled it in win95.
pls help
thanks
0
Comment
Question by:boliao
  • 4
  • 2
6 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 1185017
hi boliao
The file is maybe not installed or in the wrong directory.
do a file find and check if it's the same on both machines.
if you do a partial install of vc++ some of the .lib files are not installed in that case it'l be on the vc++ cd somewhere..
Regards Barry
0
 

Author Comment

by:boliao
ID: 1185018
hi inthe,
   i did a find and found that the file is not on my PC. so where can i obtain the file ?
or can email me the file ? pls help thanks
0
 
LVL 17

Expert Comment

by:inthe
ID: 1185019
hi,
well now you know the problem
is the following in your AUTOEXEC.BAT file.
CALL VCVARS32.BAT
it sets up your variabes for you which i've heard solves this problem.
Regards Barry


0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:boliao
ID: 1185020
hi inthe, thanks for ur speedy reply,
i followed what u said and i got this

C:\>autoexec.bat
C:\>rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCDIDE/V
C:\>set SWING_HOME=D:\swing-1.0.3
C:\>set CLASSPATH=.;D:\swing-1.0.3\swingall.jar
C:\>CALL VCVAR32.BAT
Bad command or file name
C:\>

pls help me again. thanks alot.
0
 
LVL 17

Expert Comment

by:inthe
ID: 1185021
do a file find again and see if this file is present ,if so change autoexec.bat to correct path to this file ,then run again and let me know.
Regards Barry
0
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 1185022
hi hows it going?
did you find the .bat file?
i have been reading up on this and it seems we have 2 options left.
1)try compiling with the cd in the drive as it seems the original installation was'nt a full one .
2) reinstall vc++ again,this time doing a full install so all files are included.
im off to catch some zzz's
Regards Barry

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now