Problem compiling debug build with BCB6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Flox
Newbie
Newbie
Posts: 2
Joined: Wed Oct 26, 2005 4:00 am

Problem compiling debug build with BCB6

Post by Flox » Fri Dec 09, 2005 9:48 am

I am having a problem building a debug version for BCB6:

ok, I read that the "debug" option in the compile tool does not work for BCB6 -> I manually switched all packages to debug but the recompile tool seems to delete the tds files?!? I only end up with the tds for the last compiled bpk but during compile I can see that there are tds for the other ones but these are gone a moment later...

I tried to compile the whole thing in the IDE but then it seems that a few dependencies (requires) are not correct?!?

-> like this the source code is of limited use!

Can anyone provide "correct" packages which compile in the IDE or a workaround for the compile tool?

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Dec 19, 2005 8:19 am

Hi Florian,

I've just tried to do the same as in the article you said and I have been able to debug the TeeChart Pro v7 sources under BCB6 using the latest source code available on our web site. You could try to download it again, and do the steps. I've only added one step which is to add the path where you've posted all the files (sources, compiled, hpp, bpk, etc...) as a Debug path for all the bpk when I oppened and saved them. Also, when I use the TeeRecompile tool to install the rebuild and install the packages I check the "Debug Packages compilation " option.
---------------------------------------------------------------
First, this must be done via the TeeRecompile utility provided with the
source code (as an aside, David once said that he could add an option to
this to build for debugging - that would be most welcome).

I copied all of the BCB5 project files (including their .cpp files) to a
new directory to preserve them. I then copied the new directory to
another directory (referred to below as the debug directory) in which I
did the modifications for debug build. The files I copied are:

Tee7C5.bpk
TeeUI7C5.bpk
TeeDB7C5.bpk
DclTee7C5.bpk
TeePro7C5.bpk
TeeLanguage7C5.bpk
DclTeePro7C5.bpk
TeeGL7C5.bpk
DclTGL7C5.bpk
TeeQR7C5.bpk
DclTQR7C5.bpk
TeeImage7C5.bpk
DclTeeProStd7C5.bpk
DclTeeStd7C5.bpk

with their associated .cpp files (the .cpp and .res files are necessary
to open these files in BCB5 from within their new directory).

I then opened each of these .bpk files from within the debug directory
one at a time, opened the project options dialog and clicked on 'full
debug' on the compile tab, then saved the file. I then closed BCB5.

I then copied all of the files from the debug directory to the TC7
source directory, overwriting the existing files.
--------------------------------------------------------------------------------

to2
Newbie
Newbie
Posts: 39
Joined: Thu Jan 19, 2006 12:00 am

Post by to2 » Thu Mar 30, 2006 5:59 pm

as an aside, David once said that he could add an option to
this to build for debugging - that would be most welcome)
I would appreciate it too.

I then copied all of the files from the debug directory to the TC7
source directory, overwriting the existing files.
And now is all done? Or have I to compile now by using recompile tool?

to2
Newbie
Newbie
Posts: 39
Joined: Thu Jan 19, 2006 12:00 am

Post by to2 » Fri Mar 31, 2006 6:12 am

Compiling the packages set to full debug by recompile tool gives

Code: Select all

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Type index 2147479547 is bad in module .\TeeToolsGallery.PAS

** error 2 ** deleting .\TeeUI7C5.bpl
EXCEPTION:
Compilation aborted.
The same error was raised, when I compiled manually. What must be changed in source code?
Best Regards

Thomas

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Apr 03, 2006 10:47 am

Hi Thomas,

could you please try to download the sources again from our web site and test it ? it seems some files are missing in your directories.

Post Reply