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?
Problem compiling debug build with BCB6
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Pep Jorge
http://support.steema.com
http://support.steema.com
I would appreciate it too.as an aside, David once said that he could add an option to
this to build for debugging - that would be most welcome)
And now is all done? Or have I to compile now by using recompile tool?I then copied all of the files from the debug directory to the TC7
source directory, overwriting the existing files.
Compiling the packages set to full debug by recompile tool gives
The same error was raised, when I compiled manually. What must be changed in source code?
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.
Best Regards
Thomas
Thomas
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.
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.
Pep Jorge
http://support.steema.com
http://support.steema.com