views:

347

answers:

2

Here's what I did:

  1. I've opened a C++ Builder 6 - project in C++ Builder 2009.
  2. Auto-converted it to a C++ Builder 2009 project.
  3. Told it (C++ Builder 2009) to build everything.

Here's what it did:

  1. Successfully compiled everything.
  2. Failed to complete ILINK32, exiting with

    "Error: Unresolved external '_CG_DESC' referenced from MyProjectsFirstFile.obj".
    
+3  A: 

It looks like a Code Guard error. Try deleting all the object (.obj) files and rebuilding the entire project.

If this still does not work, then turn off the Code Guard option in C++Builder 6 and try importing the project again.

You may also want to try the CodeGear/Embarcadero Discussion Forums.

Reference: https://forums.codegear.com/thread.jspa?messageID=52470&tstart=0

stukelly
+1  A: 

Never let the IDE auto-upgrade a project from an old version. It never works correctly. Instead, always create a new project fresh and add your existing source files to it as needed.

Remy Lebeau - TeamB