DelphiXE compile problem

[expired user #5664]'s profile image [expired user #5664] posted 13 years ago in General Permalink
Hi, i can't compile any of packages in source code with delphi xe. Is there fix for this?

Thanks in advance.
ansgar's profile image ansgar posted 13 years ago Permalink
What error messages to you get? Did you follow the few advices in the readme.html?
[expired user #5664]'s profile image [expired user #5664] posted 13 years ago Permalink
"E2011 Low bound exceeds high bound" i SynHighlighterJava.pas lines 876 and 981... when i try to compile SynEditR.bpl in delphi 2010, in delphi XE i first have incompatibile compiler error and after that, lots of "E2010 Incompatible types AnsiChar and Char" errors in SynUnicode.pas unit... I tried with source from download section because i don't have svn installed atm..

Thanks in advance for response
ansgar's profile image ansgar posted 13 years ago Permalink
You will need to get the latest source files via SVN.
[expired user #5664]'s profile image [expired user #5664] posted 13 years ago Permalink
i have installed last version over svn but still have "E2011 Low bound exceeds high bound" error in SyHighliterJava.pas...
problematic code is this two... when i reverse them i can compile code...

'Ŕ'..'Ö', 'Ř'..'ö'
ansgar's profile image ansgar posted 13 years ago Permalink
Looks like some encoding problem on your side. Did you touch that SynHighlighterJava.pas with some external editor and left it with a wrong file encoding?
[expired user #5664]'s profile image [expired user #5664] posted 13 years ago Permalink
No, it is original as downloaded... I tried on 2 computers, both on win7 pro. Delphi 2010 on one and delphi xe on other, and got same error on both...
[expired user #5954]'s profile image [expired user #5954] posted 13 years ago Permalink
the same problem here
[expired user #5954]'s profile image [expired user #5954] posted 13 years ago Permalink
Ah never mind. Took a look at repository and understood that characters I see are different from those visible there.

In repository I see: 'À'..'Ö', 'Ø'..'ö', 'ø'..'ÿ'
In my file I saw: 'Ą'..'Ö', 'Ų'..'ö', 'ų'..'˙'
igibum talks about: 'Ŕ'..'Ö', 'Ř'..'ö'

Apparently Delphi acts as it say in manuals, opens files in the same encoding as OS, so international characters can be converted. Fixing characters solves an issue.

By the way source in repository is different from version which we get by downloading source archive. Archive is for Delphi 2010. Repository version is already converted to XE. XE2 users still need to do some additional work to compile.
Ti9eR's profile image Ti9eR posted 12 years ago Permalink
How to compile in XE2?

Please login to leave a reply, or register at first.