Solved

libcd.lib

Posted on 1999-01-24
6
1,350 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
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!

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

697 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