Thread: Switching Machines .... creating problems

  1. #1
    Registered User
    Join Date
    Oct 2005
    Location
    Ottawa
    Posts
    18

    Switching Machines .... creating problems

    Hi All,
    I’ve recently switched computers.
    On my old machine, I had visual c++ installed as well as a lib called 'gd' (online on-the-fly graphics creation).

    On my new computer I have the same setup. However, code that compiled and ran on my old machine won’t compile/run properly on my new machine. I get errors such as: LNK2001: unresolved external symbol.. both computers have WinXP for OSs

    As far as I can tell I have installed everything on the new machine exactly the same as on the old. I’m new to c++ and don’t know what to do to fix this. Has anyone experience with the GD library and perhaps have encountered a similar problem? More generally: What can I do to pinpoint differences between my old machine and new one?? (I still have the old one on my desk)

    Any suggestions would help!

    Many Thanks

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    If it is having trouble linking to the the lib, then make sure the Linker settings in the project file are the same. Maybe you need to add the lib to the project settings and/or the directory of the gd library as well.

    Also check the Tools->Options directories if you added the lib directory there.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Rendering problems (DirectX?)
    By OnionKnight in forum Tech Board
    Replies: 0
    Last Post: 08-17-2006, 12:17 PM
  2. having problems with creating a file
    By jackmanplus in forum C++ Programming
    Replies: 6
    Last Post: 07-24-2006, 08:47 PM
  3. problems switching arrays
    By stillwell in forum C++ Programming
    Replies: 3
    Last Post: 02-27-2006, 11:46 AM
  4. Problems with strings as key in STL maps
    By all_names_taken in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:34 AM
  5. Creating a new object of a subclass problems.
    By Goombaz in forum C++ Programming
    Replies: 6
    Last Post: 01-08-2006, 08:33 AM