Solved

libcd.lib

Posted on 1999-01-24
6
1,344 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

744 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

14 Experts available now in Live!

Get 1:1 Help Now