Solved

libcd.lib

Posted on 1999-01-24
6
1,351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

696 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