473,395 Members | 2,783 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Reg: VC++ Project Properties

105 100+
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.

Can anyone please help me how to solve it.Are there any other libraries I need to include or any properties of the project I need to change..Thanks.

--------------------------------------------------------------------------------
Feb 23 '07 #1
5 2690
DeMan
1,806 1GB
It's looking for a file that (as you say after searching everywhere) isn't available. Try searching for similar problems on google....

(I'm not sure how relevant this is to your exact project but) Here's one I prepared earlier....

http://vcfaq.mvps.org/lang/10.htm
Feb 23 '07 #2
mickey22
105 100+
Hi,

I have aproblem in setting of a project in vc++.If I choose the option in Project>Properties>C/C++/preprocessor>Generate preprocessed file>choose option as with line numbers, this setting eliminates all the errors but gives me the error LNK1104 as this option supresses compilation and I observed that it elimintes .obj file and instead creates .i file...If I dont set this option I get many errors like C++ does not support default int and lot of errors whcih are already defined header files...

How can I solve this please??What are the options I can try to reduce these errors..Thanks
Feb 23 '07 #3
sicarie
4,677 Expert Mod 4TB
Hi,

I have aproblem in setting of a project in vc++.If I choose the option in Project>Properties>C/C++/preprocessor>Generate preprocessed file>choose option as with line numbers, this setting eliminates all the errors but gives me the error LNK1104 as this option supresses compilation and I observed that it elimintes .obj file and instead creates .i file...If I dont set this option I get many errors like C++ does not support default int and lot of errors whcih are already defined header files...

How can I solve this please??What are the options I can try to reduce these errors..Thanks
Mickey22-

Please do not double-post. After a day or so, if you think your thread has been forgotten, you can reply to it, which will bump it back up to the top.

Also, DeMan has been kind enough to respond to your original problem, and you did not tell him the result, or try to continue that thread.
Feb 23 '07 #4
mickey22
105 100+
Hi Deman,

I am sorry abt that...Actually I was not able to find even in google of solving the LNK 1104..But I have found that if I include in my Project properties in c\c++>preperocessor>generate preprocessed file>with line numbers option, that eliminates .obj files..So I thought that might be the reason..

But if I do not include that property I get lot of errros..I would like to know if you can help me in this regard..

I am posting the same thing just to apologise..Thank you
Feb 23 '07 #5
sicarie
4,677 Expert Mod 4TB
Mickey22-

Sorry if that came off as harsh - we're just trying to keep the forum in order.
Feb 23 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: bin lee | last post by:
I don't know if this is the right place to post this question, and I apologize if it isn't. I came across this error in VC++.NET: "error LNK2019: unresolved external symbol _WinMain@16...
12
by: Will Pittenger | last post by:
I am attempting to reuse code. Some of the code is such that I need a base class for my forms. I know that those base classes must be in a DLL. However, if I create a "Class Library" project, I...
0
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET...
0
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET...
2
by: Paolo | last post by:
I imported a VC++6.0 project into VC++7.1. The conversion operation makes a mess with Preprocessor Definitions, adding a "$(NoInherit)" for each file. For example: I had a DLL project in VC++6.0...
2
by: Susan Baker | last post by:
Hi, I am (trying) to compile some code I downloaded from the internet. The sources contain references to header files - using the form : #include <pathname/file> If I change the form to...
1
by: Jim Bancroft | last post by:
Hi, I've used VC++ 6 for my previous C++ work and am having a little trouble acclimating to VS .Net 2003, mainly in establishing where to look for additional header and library files. I'm...
0
by: rohinichandrap | last post by:
Hi, I have a problem with the pdf files in one of my workspaces I am working with.This is during an upgrade from Visual studio 6.0 to Visual Studio .Net 2003. The workspace has two projects...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.