Thread: linker errors

  1. #1
    Registered User
    Join Date
    Nov 2006

    linker errors

    my error:
    Bad object file record in module c:\tc\lib\graphics.lib

    what i did?:
    tlib graphics+c:\tc\bgi\egavga.bgi

    tlink chart.obj,c:\tc\bgi\egavga.bgi,c;\tc\lib\graphics. lib

    now that error is coming.what should i do?

    What i want to do :
    I have done a program which takes bmp image(chart) as background and plot lines on it.for this i have to give two files to my clint chart.exe and egavga.bgi.I want to minimise this by adding egavga.bgi to my exe and give him just exe file.what should i do to achieved this?Help me, iam strucked

    my environment:
    windows xp,tc 3.0

    do you think that svga is better than egavga?one more doubt is that when i just detect the graph i looks only for egavga why not svga or somether me

    Thanks in advance

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Bad object file record in module c:\tc\lib\graphics.lib
    Your library file is buggy
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    > windows xp,tc 3.0
    Well there's your problem!
    Using fossil-ware compiler on your nice new machine.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Boston, Massachusetts
    Upgrade to Dev-C++, Code::Blocks, etc. If you like Borland, they have just came out with a new compiler. BTW, this is such a common problem (having fossilware TC) that mayhaps it should be added to the FAQ?
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker errors
    By jw232 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2009, 12:56 PM
  2. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  3. Sneaky little linker errors...
    By Tozar in forum C++ Programming
    Replies: 8
    Last Post: 10-25-2006, 05:40 AM
  4. Linker errors when compiling
    By The Wazaa in forum C++ Programming
    Replies: 4
    Last Post: 10-07-2006, 12:55 PM
  5. Linker errors with Visual C++
    By codegirl in forum C++ Programming
    Replies: 4
    Last Post: 09-11-2003, 09:20 AM