Mysterious linking error..Pls suggest solution ..it's urgent

This is a discussion on Mysterious linking error..Pls suggest solution ..it's urgent within the C Programming forums, part of the General Programming Boards category; I am compiling 1 project. Itís compiling but giving linking error like below LINK : fatal error LNK1104: cannot open ...

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    61

    Mysterious linking error..Pls suggest solution ..it's urgent

    I am compiling 1 project. Itís compiling but giving linking error like below



    LINK : fatal error LNK1104: cannot open file '.\Debug\file.obj'

    I tried to find out the reason. I searched file.obj in whole computer but this file was not existingÖ.It means file.c is successfully getting compiled

    But there can be 2 chances

    1. Unable to store in the directory on a computer

    2. Unable to generate obj file ( very rare chances)



    Please let me know the reasonÖ

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,549
    If the file was successfully compiled, file.obj would exist.
    The notion that it does not means it failed to compile or generate obj file.
    Firstly, try a rebuild of the project. Sometimes it solves some problems.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Urgent Solution Required
    By jamil_developer in forum C++ Programming
    Replies: 1
    Last Post: 03-09-2002, 01:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21