Problem with compiling source units
Hi!
I need to compile source units due to debuging. But I can't.
I'm getting error message:
[Pascal Fatal Error] F2051 Unit raParser was compiled with a different
version of ppRTTI.TraRTTIClassRegistry
Delphi 2006 SP2 with HotFixRollup2, RB 10.06
Can anybody get me some hint what to do?
Thanx
Roman Krupicka
I need to compile source units due to debuging. But I can't.
I'm getting error message:
[Pascal Fatal Error] F2051 Unit raParser was compiled with a different
version of ppRTTI.TraRTTIClassRegistry
Delphi 2006 SP2 with HotFixRollup2, RB 10.06
Can anybody get me some hint what to do?
Thanx
Roman Krupicka
This discussion has been closed.
Comments
This error indicates that you are trying to compile a ReportBuilder source
file that has had its interface section altered with RAP. Since we do not
provide the source code to RAP all ReportBuilder source files will need to
remain interface specific in order to successfully use RAP at runtime.
Reinstalling ReportBuilder should fix the problem.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
reinstalling ReportBuilder doesn't help.
When I used RB 7.04 with Delphi 5, all have been OK.
In which version of Delphi 2006 compiler do you compile RAP?
Maybe problem is in some Delphi hotfix...
Thanx
Roman Krupicka
Nico Cizik (Digital Metaphors) napsal(a):
I finally found solution. Problem was in compiler directive $A.
I had project from Delphi 5 and Delphi 2006 set $A to 1 => {$A-}.
But I need $A set to 8 => {$A+}...
Thanx
Roman
Nico Cizik (Digital Metaphors) napsal(a):
Great news. I'm glad you found the issue .
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
can you write here how have you set compiler directives
(for Delphi2006), please - to avoiding some future mistakes.
If I compiled my project with RB DCUs and {$A-}, I got Access Violation
Error in some cases in RB designer. After compliling with {$A+} all work
OK...
Thanx
Roman
Nico Cizik (Digital Metaphors) napsal(a):
All of our packages are compiled with the {$A+} or {$ALIGN 8} switch set. I
believe this implies that fields in record types that are declared without
the packed modifier and fields in class structures are aligned on quad word
boundaries and allows for quicker data access.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com