RXnew: RXnew does not compile in Lazarus 2.0.10 lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- melwinek · 2020-07-10 11:32 RXnew does not compile in Lazarus 2.0.10 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i rxnew.pas(11,3) Fatal: Nie można znaleźć LazarusPackageIntf used by rxnew. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=d:\lazarus210\packager\units\i386- win32\lazaruspackageintf.ppu. Clean up package "FCL".. ---------------------------------------------------------------------- paweld · 2020-07-10 14:14 Add FCL to RXnew package requirements: package window > Add > New requirement > FCL ---------------------------------------------------------------------- wp · 2020-07-10 15:38 Just tried it myself: Installed the new Laz2.0.10/FPC3.2.0 (Win10 / 32 bit) as secondary installation and tried to install rxnew via OPM (checked only the rxnew and rxtools packages in the RX node of OPM - rxtools is required by rxnew). Installation of rxnew aborts with error "cannot be installed", rxtools succeeds. Did manual install of rxnew later - no problems now. I don't know what's wrong here. Does OPM really fail to detect that rxtools is required by rxnew? (*) But anyway: I did not experience the FCL error that you mention. Can you try a clean recompilation of the IDE? (Tools > Configure Build Lazarus > in the "clean-up" box check "Clean all" and "Switch after building to automatically" > Build.) ------------------ (*) [EDIT] Deleted the Laz Config folder and did a clean rebuild of the IDE to reset to the state after installation. Then I repeated the rxnew installtion. But this time I only checked "rxnew" in OPM. Now I was asked whether the packages "rxtools" should be installed too. After confirmation the installation was executed without any issues. ---------------------------------------------------------------------- paweld · 2020-07-10 17:46 I tried install from lazarus ccr svn ---------------------------------------------------------------------- wp · 2020-07-10 21:40 No problem with that either. Did you try a clean build? ---------------------------------------------------------------------- paweld · 2020-07-11 05:27 I check on fresh install lazarus 2.0.10 with fpc 3.2.0 and after rebuid lazarus with "Clean and build all". Edit: rxnew from OPM installed without any problems ---------------------------------------------------------------------- melwinek · 2020-07-13 05:44 I'm trying to compile rxnew from SVN, because the one from OPM is very old. ---------------------------------------------------------------------- wp · 2020-07-13 09:04 You must be doing something very wrong, or your rx installation is defective. rxnew.lpk definitely has a registration procedure. Download the package again. Note that the Lazarus Component and Code Repository (CCR) contains several variants of the rx library. Only the one in https://sourceforge.net/p/lazarus- ccr/svn/HEAD/tree/components/rx/trunk/ is the most current one. ---------------------------------------------------------------------- melwinek · 2020-07-13 09:28 I downloaded from this link. Earlier I had r7534. Unfortunately, it still doesn't work. I've never had such a problem before. ---------------------------------------------------------------------- melwinek · 2020-07-13 09:32 rxnew.lpk from version r7386, which I used in Lazarus 2.0.8, opens correctly. ---------------------------------------------------------------------- wp · 2020-07-13 09:40 I see. The format of lpk fille has been changed some time ago in Laz trunk. There is a "Maximize compatibility" checkbox in the package options of Laz trunk which had not been set for rxnew. Please try r7540 which I have just committed (I hope that Alex does not mind that I am modifying his package). ---------------------------------------------------------------------- melwinek · 2020-07-13 09:43 It works. I numbered as in the previous version and I added values in and ---------------------------------------------------------------------- folkeu08 · 2021-11-02 22:42 Hi, I have installation errors with lazarus 2.0.12 on windows 7 64 bits. Is this normal? Thank you ---------------------------------------------------------------------- wp · 2021-11-02 23:26 Just checked installation of RxNew from Online-Package-Manager with Laz 2.0.10/fpc3.2.0/64 bit, and did observe a compilation error in unit ex_rx_xml_datapacket.pas: at line 137 there is a {$IFDEF FPC_FULLVERSION > 30200}. This is not correct, replace the {$IFDEF by {$IF, and the package will compile. ---------------------------------------------------------------------- folkeu08 · 2022-01-12 17:40 Hi, It's same problem in new lazarus 2.2.0 Thanks ---------------------------------------------------------------------- trev · 2022-01-13 00:04 The problem will continue to exist regardless of Lazarus version unless you contact the maintainer of the package to fix it. ---------------------------------------------------------------------- dsiders · 2022-01-13 02:50 Quote from: trev on January 13, 2022, 01:04:21 amThe problem will continue to exist regardless of Lazarus version unless you contact the maintainer of the package to fix it. Or post a bug report to the CCR issue list at: https://gitlab.com/freepascal.org/lazarus/ccr/-/issues ---------------------------------------------------------------------- wp · 2022-01-13 15:35 Quote from: folkeu08 on January 12, 2022, 06:40:13 pmIt's same problem in new lazarus 2.2.0 No. The issue has been fixed in rx-trunk on Nov 30,2021 by the package maintainer. rxnew compiles with every Lazarus version. But be aware: This is not true for the version which is distributed by online- package-manager (OPM) ---------------------------------------------------------------------- kinu · 2022-03-14 10:40 Quote from: wp on January 13, 2022, 04:35:12 pmQuote from: folkeu08 on January 12, 2022, 06:40:13 pmIt's same problem in new lazarus 2.2.0 No. The issue has been fixed in rx-trunk on Nov 30,2021 by the package maintainer. rxnew compiles with every Lazarus version. But be aware: This is not true for the version which is distributed by online- package-manager (OPM) Hello. Where can I get the package? Could you link it, please? ---------------------------------------------------------------------- alexs75 · 2022-03-14 12:42 actual version - https://svn.code.sf.net/p/lazarus- ccr/svn/components/rx/trunk ---------------------------------------------------------------------- kinu · 2022-03-14 12:49 Quote from: alexs75 on March 14, 2022, 01:42:10 pmactual version - https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx/trunk Thank you very much! Fixed