473,769 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fatal error LNK1104: cannot open file "nafxcwd.li b"

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 anything of a kind, but my stripped proggie
consistently refuses to link (compiling is OK) and the error I get ts
the one in the subject. I searched all of my hard drive, this file
doesn't exist on it.
But the original program never "jumped" on it, as if it never required
it in a first place.

As I said I never added anything to the program, only removed some of
the GUI related code... And the new program seems to require something
that the old one never did...

I'm open to any suggestions, as due to my limited programming skills I
just don;t know where to look for the problem's root.

Thanks!

May 20 '07 #1
1 7357
On 20 May 2007 08:36:21 -0700, in comp.lang.c , Hunter
<Ig*********@gm ail.comwrote:
>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 anything of a kind, but my stripped proggie
consistently refuses to link
Your linker can't find some windows library., possibly because it
doesn't really need it, possibly because you've changed something
subtle without realising it

I suggest you ask again in a microsoft programming group as this is a
platform (and indeed compiler) specific question, and not really C.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
May 20 '07 #2

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

Similar topics

2
1502
by: suraj | last post by:
Hi, How to set the "/lib" compiler option if the assembly is only there in the GAC. Any help is highly appreciated!! Regards
1
4224
by: nassar | last post by:
i'm trying to build the project of the MFC's sample "VCTERM", and this error message appears: LINK : fatal error LNK1104: cannot open file "mfc42u.lib" can you please tell me where i can find this library. thanx..
1
2429
by: jingkun Hu via .NET 247 | last post by:
(Type your message here) I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling isOK but not linking. The error message is "mfc42.lib cannot beopened". I looked through every setting of compiling and linkingand didn't find mfc42.lib in there. I understand that VC.NET2003 uses mfc71.lib. But how does the environment requiresmfc42.lib? Please help! -------------------------------- From: jingkun Hu ----------------------- Posted...
0
3023
by: Qwert | last post by:
Hello, kind of a specific question, but here it goes: The following code works: Dim objGraphicsSource As Graphics = PictureBox1.CreateGraphics Dim bmpSource As New Bitmap(PictureBox1.Width, PictureBox1.Height, objGraphicsSource) Dim objGraphicsBmp As Graphics = Graphics.FromImage(bmpSource)
0
1552
by: gbaitsur | last post by:
Hi! I really hope that someone could help me. I have a vb.net application that uses the unmanaged dll, which is part of an independent software. The code is: Declare Sub SUB_NAME Lib "c:\path\file.dll" (ByRef lngStatus As Integer) Previously I could succefully call the sub and everything worked ok.
2
12098
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...
1
3009
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i nave some problem. Linking... LINK : fatal error LNK1104: cannot open file "ProfUIS223md.lib" Error executing link.exe.
1
3165
by: vikky | last post by:
Hi, I have natively compiled ".lib" file which I need to use in managed code. After some searching, I got to know that C++.NET 2005 through its C++/CLI can directly make use of native binaries(including .lib files). However I didn't find even a single example of elaborating how to do it. Can anyone provide a small example snippet? Regards, VB
1
3834
by: akansha1234 | last post by:
Hi all, I am facing this problem. When i am building my workspace in eclipse i am getting following exception its very urgent.. 0000004c SystemErr R *** ERROR ***: Fri Sep 12 03:53:38 CDT 2008 com.ibm.etools.j2ee.commonarchivecore.exception.OpenFailureException: IWAE0034E Could not open the nested archive "\WEB-INF\lib" in "cmpdepm.war" at...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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
10050
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...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6675
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
5310
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...
1
3967
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
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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.