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

  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をこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    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, 02:34 PM