Page 1 of 1

Unable to Recompile TeeChart Pro v7.06

Posted: Fri Jan 20, 2006 5:29 pm
by 9342129
Borland C++ Builder 6 Pro
QuickReport 4.06
TeeChart Pro v7.06

I'm attempting to Recompile TeeChart for use with Quick Report 4.06...

Start->Programs->Steema TeeChart Pro 7.06 Full Source Code->Recompile does not successfully complete. The final few lines from the log follows.

QrTee.pas(13)
QrTee.pas(13)
QrTee.pas(13) Fatal: File not found: 'QRPDFFilt.dcu'
EXCEPTION:
Compilation aborted.
--------------------------------------------

Please advise.

More info

Posted: Fri Jan 20, 2006 5:47 pm
by 9342129
I took a closer look at the log file and hope this info helps in your diagnosis.

--------------------------------------------------------------------------------
TeeQR7C6
Loading project file
Loading template
Generating Makefile
.........................................

Cannot recompile C++ Builder package: TeeQR7C6.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
C:\PROGRA~1\Borland\CBUILD~1\bin\..\BIN\bcc32 -O2 -H=C:\PROGRA~1\Borland\CBUILD~1\bin\..\lib\vcl60.csm -Hc -Vx -Ve -X- -a8 -6 -b- -k- -vi -c -tWM -w-par -IC:\PROGRA~1\Borland\CBUILD~1\bin\..\include;C:\PROGRA~1\Borland\CBUILD~1\bin\..\include\vcl -D;NO_STRICT;_RTLDLL;USEPACKAGES -n.\ .\TeeQR7C6.CPP
Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland
.\teeqr7c6.cpp:
Loaded pre-compiled headers.
C:\PROGRA~1\Borland\CBUILD~1\bin\..\BIN\dcc32 -$Y- -$L- -$D- -$A8 -v -JPHNE -M -UC:\PROGRA~1\Borland\CBUILD~1\bin\..\include;C:\PROGRA~1\Borland\CBUILD~1\bin\..\include\vcl -D;NO_STRICT;_RTLDLL;USEPACKAGES -OC:\PROGRA~1\Borland\CBUILD~1\bin\..\include;C:\PROGRA~1\Borland\CBUILD~1\bin\..\include\vcl --BCB .\QrTee.PAS
Borland Delphi Version 14.0
Copyright (c) 1983,2002 Borland Software Corporation

QrTee.pas(1)
QrTee.pas(6)
QrTee.pas(6)
TeeDefs.inc(232)

QrTee.pas(12)
QrTee.pas(12)
QrTee.pas(12)
QrTee.pas(12)
QrTee.pas(12)
QrTee.pas(12)

Posted: Mon Jan 23, 2006 8:42 am
by narcis
Hi wapa,
QrTee.pas(13)
QrTee.pas(13)
QrTee.pas(13) Fatal: File not found: 'QRPDFFilt.dcu'
EXCEPTION:
Compilation aborted.
You should find that file at C:\Program Files\Borland\CBuilder6\quickrpt (default english installation path). When you find the file then you should include its path on the package search path list at Project>Options>Directories/Conditionals>Search Path.

Posted: Tue Jan 24, 2006 4:20 pm
by 9342129
Thanks Narcis for your reply. I've gotten past the initial problem but now I've got a problem with the make file.

TeeQR7C6
Loading project file
Loading template
Generating Makefile
.........................................

Cannot recompile C++ Builder package: TeeQR7C6.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error C:\Program Files\Steema Software\TeeChart Pro 7.06 Full Source Code\Sources\TeeQR7C6.mak 118: Expression syntax error in !if statement
*** 1 errors during make ***
EXCEPTION:
Compilation aborted.


---------------------------------
Since I didn't know how to attach files on your forum, I've cut and pasted the mak file below:
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif

# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------

VERSION = BCB.06.00
# ---------------------------------------------------------------------------
PROJECT = TeeQR7C6.bpl
OBJFILES = TeeQR7C6.obj QrTee.obj
RESFILES = TeeQR7C6.res
MAINSOURCE = TeeQR7C6.cpp
RESDEPEN = $(RESFILES)
LIBFILES =
IDLFILES =
IDLGENFILES =
LIBRARIES = crystalv10.lib dclusr.lib ProfDTP_C6.lib dxmdsC6.lib cxExportVCLC6.lib \
cxGridVCLC6.lib cxPageControlVCLC6.lib cxExtEditorsVCLC6.lib cxDataC6.lib \
cxEditorsVCLC6.lib dxThemeC6.lib cxLibraryVCLC6.lib inetdb.lib inet.lib \
xmlrtl.lib tee.lib teedb.lib teeui.lib dsnap.lib TeeImage7C6.lib \
TeeGL7C6.lib TeePro7C6.lib TeeLanguage7C6.lib TeeUI7C6.lib DM15_60.lib \
bcb2kaxserver.lib indy.lib dbxcds.lib dclocx.lib soaprtl.lib bcbie.lib \
nmfast.lib dbexpress.lib inetdbxpress.lib inetdbbde.lib dsnapcon.lib \
dsnapcrba.lib visualdbclx.lib bdecds.lib cds.lib ibxpress.lib vcldbx.lib \
adortl.lib vcldb.lib
PACKAGES = rtl.bpi vcl.bpi vclx.bpi bdertl.bpi dbrtl.bpi teedb7C6.bpi tee7C6.bpi \
QR4RunC6.bpi bcbsmp.bpi
SPARELIBS = rtl.lib vcldb.lib adortl.lib bdertl.lib vcldbx.lib ibxpress.lib cds.lib \
bdecds.lib visualdbclx.lib dsnapcrba.lib dsnapcon.lib bcbsmp.lib \
inetdbbde.lib inetdbxpress.lib dbexpress.lib nmfast.lib bcbie.lib \
soaprtl.lib dclocx.lib dbxcds.lib indy.lib bcb2kaxserver.lib DM15_60.lib \
QR4RunC6.lib TeeDB7C6.lib Tee7C6.lib TeeUI7C6.lib TeeLanguage7C6.lib \
TeePro7C6.lib TeeGL7C6.lib TeeImage7C6.lib dbrtl.lib dsnap.lib teeui.lib \
teedb.lib tee.lib xmlrtl.lib inet.lib inetdb.lib cxLibraryVCLC6.lib \
dxThemeC6.lib cxEditorsVCLC6.lib cxDataC6.lib cxExtEditorsVCLC6.lib \
cxPageControlVCLC6.lib cxGridVCLC6.lib cxExportVCLC6.lib dxmdsC6.lib \
ProfDTP_C6.lib dclusr.lib crystalv10.lib
DEFFILE =
OTHERFILES =
# ---------------------------------------------------------------------------
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = C:\"Program Files"\Borland\CBuilder6\quickrpt
SYSDEFINES = NO_STRICT;_RTLDLL;USEPACKAGES
INCLUDEPATH = $(BCB)\include;$(BCB)\include\vcl
LIBPATH = $(BCB)\Projects\Lib;$(BCB)\Bin;"..\..\..\Borland\CBuilder6\Developer Express.VCL\Library\CBuilder6";$(BCB)\quickrpt;..\..\..\..\Raize\DM15\LibBCB6;..\Lib;$(BCB)\lib\obj;$(BCB)\lib
WARNINGS= -w-par
PATHCPP = .;
PATHASM = .;
PATHPAS = .;
PATHRC = .;
PATHOBJ = .;$(LIBPATH)
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -H=$(BCB)\lib\vcl60.csm -Hc -Vx -Ve -X- -a8 -6 -b- -k- -vi -c -tWM
IDLCFLAGS = -I$(BCB)\include -I$(BCB)\include\vcl -src_suffix cpp -boa
PFLAGS = -$Y- -$L- -$D- -$A8 -v -JPHNE -M
RFLAGS =
AFLAGS = /mx /w2 /zn
LFLAGS = -D"TeeChart 7 for QuickReport" -aa -Tpp -Gpr -x -Gn -Gl -Gi
# ---------------------------------------------------------------------------
ALLOBJ = c0pkg32.obj $(PACKAGES) Memmgr.Lib sysinit.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS

[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0

[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=

[Debugging]
DebugSourceDirs=$(BCB)\source\vcl

!endif





# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------

.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif

!if !$d(BCC32)
BCC32 = bcc32
!endif

!if !$d(CPP32)
CPP32 = cpp32
!endif

!if !$d(DCC32)
DCC32 = dcc32
!endif

!if !$d(TASM32)
TASM32 = tasm32
!endif

!if !$d(LINKER)
LINKER = ilink32
!endif

!if !$d(BRCC32)
BRCC32 = brcc32
!endif


# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif

!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif

!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif

!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif

!if $d(PATHOBJ)
.PATH.OBJ = $(PATHOBJ)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(OTHERFILES) $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }

.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }

.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }

.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }

.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }

.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }

.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@

.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<



# ---------------------------------------------------------------------------

Posted: Mon Jan 30, 2006 11:11 am
by narcis
Hi wapa,

I've sent you the TQRChart packages and instructions for TeeChart v7, QR v4 and BCB6 to your forums contact e-mail address.