linker errors

This is a discussion on linker errors within the C Programming forums, part of the General Programming Boards category; 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 ...

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

    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 drivers.help me

    Thanks in advance

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    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
    Location
    The edge of the known universe
    Posts
    32,823
    > 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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    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, 01:56 PM
  2. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 08:42 AM
  3. Sneaky little linker errors...
    By Tozar in forum C++ Programming
    Replies: 8
    Last Post: 10-25-2006, 06:40 AM
  4. Linker errors when compiling
    By The Wazaa in forum C++ Programming
    Replies: 4
    Last Post: 10-07-2006, 01:55 PM
  5. Linker errors with Visual C++
    By codegirl in forum C++ Programming
    Replies: 4
    Last Post: 09-11-2003, 10:20 AM

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