473,659 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VC++ Question - LINK : fatal error LNK1104

The error during build in VC++:
LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib"

the issue:
I've inherited this cource code from another company and the company
had their dir. stucture as /blah/blah/blah.lib but I need to have my
build point to /yeah/yeah/yeah.lib

how can I have it point to the other dir stucture? Where can I change
this? I've checked the project dsw, dsp and mak files. Please help!

Thanks!!

Mike
Jul 22 '05 #1
1 3070
Mike wrote:
The error during build in VC++:
LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib"

the issue:
I've inherited this cource code from another company and the company
had their dir. stucture as /blah/blah/blah.lib but I need to have my
build point to /yeah/yeah/yeah.lib

how can I have it point to the other dir stucture? Where can I change
this? I've checked the project dsw, dsp and mak files. Please help!


Linking is not defined by the C++ standard, and as such questions
concerning it are generally considered off-topic in comp.lang.c++. Your
question is about using a particular linker, which makes it even more
off-topic. Please be more considerate in the future and avoid posting
off-topic messages. These will help:

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
501
by: Mike | last post by:
The error during build in VC++: LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib" the issue: I've inherited this cource code from another company and the company had their dir. stucture as /blah/blah/blah.lib but I need to have my build point to /yeah/yeah/yeah.lib how can I have it point to the other dir stucture? Where can I change this? I've checked the project dsw, dsp and mak files. Please help!
2
2281
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory "tests". Also, VC++ 2005 beta 1 compiles the tests fine, but here the following tests fail in execution: # semaphore1.pass \ # condvar2.pass \ # condvar2_1.pass \ # mutex8.pass \
2
2659
by: danip | last post by:
Hi, I have a C# project that have a C++ .net DLL as a reference. Everything is working okay, except when I try to rebuild only the C++ DLL I receive the error: fatal error LNK1104: cannot open file. Any Solutions ? -- Dani
5
3133
by: kevin0608 | last post by:
when i using the VS 2005 , There is an Link Error like this: ------------------------------------------------------------------------------------ Compiling... test.c Linking... LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib' --------------------------------------------------------------------------------------- who knows why?
4
4951
by: CPettsson | last post by:
Hello all I've been trying for the last two days to install Boost to Visual C++ 2005 Express Edition. I followed the instructions on the site (http://www.boost.org/more/getting_started.html), other helps I found by google:ing and reading around in newsgroups. I think I'm doing it the right way, but it still won't work completely. All the headers seem to install properly, but only some libs. For instance, the date_time works, I can compile...
0
1194
by: hembree | last post by:
I have compiled wsWidgets as static and debug and am trying to link the libs with my application. I get the error "fatal error LNK1104: cannot open file 'wxexpatd.lib'". I can see the lib in the directory C:\wxWidgets-2.6.3\lib\vc_lib. In the project Properties dialog box under Linker>Additional Library Directories I have specified C:\wxWidgets-2.6.3\lib\vc_lib among other lib directories. I have tried settng the linker to VERBOSE, but did...
5
2705
by: mickey22 | last post by:
Hi, I am getting some errors in building my project I tried to build a C++ file say abc.cpp and I have put the all the directories to include necessary library files and header files..But I get an error as : Fatal error LNK1104 : CANNOT OPEN INPUT FILE .\Debug\abc.obj I tried to look in the help of Microsfoft Visual Studio but nothing did not work out. and I have searched for abc.obj in all the directories..It does not exist at all.
2
12088
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded progs in C, but hardly more than that). It just happened that my work requires me to take a program and strip it off all kind of GUI, make it just a simple command prompt thingie. And so I did, more or the less. Now, I didn't remove any includes or...
3
2168
by: eleven1982 | last post by:
I am in the process of converting a Visual C++ 6.0 project to Visual Studio 2005. The conversion is almost complete, but in the linking phase, I get the error: LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'
0
8332
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.