Lazarus

Programming => Packages and Libraries => Lazarus Extra Components => Topic started by: melwinek on July 10, 2020, 01:32:52 pm

Title: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: melwinek on July 10, 2020, 01:32:52 pm
RXnew does not compile in Lazarus 2.0.10
Code: Pascal  [Select][+][-]
  1. 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"..
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: paweld on July 10, 2020, 04:14:23 pm
Add FCL to RXnew package requirements:
package window > Add > New requirement > FCL
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: wp on July 10, 2020, 05:38:29 pm
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.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: paweld on July 10, 2020, 07:46:12 pm
I tried install from lazarus ccr svn
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: wp on July 10, 2020, 11:40:14 pm
No problem with that either. Did you try a clean build?
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: paweld on July 11, 2020, 07:27:37 am
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
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: melwinek on July 13, 2020, 07:44:41 am
I'm trying to compile rxnew from SVN, because the one from OPM is very old.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: wp on July 13, 2020, 11:04:51 am
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.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: melwinek on July 13, 2020, 11:28:50 am
I downloaded from this link. Earlier I had r7534.
Unfortunately, it still doesn't work. I've never had such a problem before.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: melwinek on July 13, 2020, 11:32:45 am
rxnew.lpk from version r7386, which I used in Lazarus 2.0.8, opens correctly.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: wp on July 13, 2020, 11:40:55 am
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).
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: melwinek on July 13, 2020, 11:43:56 am
It works. I numbered <Items> as in the previous version and I added values in <RequiredPkgs Count = "4"> and <Files Count = "70">
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.12
Post by: folkeu08 on November 02, 2021, 11:42:26 pm
Hi,
I have installation errors with lazarus 2.0.12 on windows 7 64 bits.
Is this normal?
Thank you
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: wp on November 03, 2021, 12:26:47 am
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.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.2
Post by: folkeu08 on January 12, 2022, 06:40:13 pm
Hi,
It's same problem in new lazarus 2.2.0
Thanks
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: trev on January 13, 2022, 01:04:21 am
The problem will continue to exist regardless of Lazarus version unless you contact the maintainer of the package to fix it.
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: dsiders on January 13, 2022, 03:50:26 am
The 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
Title: Re: RXnew: RXnew does not compile in Lazarus 2.2
Post by: wp on January 13, 2022, 04:35:12 pm
It'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)
Title: Re: RXnew: RXnew does not compile in Lazarus 2.2
Post by: kinu on March 14, 2022, 11:40:59 am
It'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?
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: alexs75 on March 14, 2022, 01:42:10 pm
actual version - https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx/trunk
Title: Re: RXnew: RXnew does not compile in Lazarus 2.0.10
Post by: kinu on March 14, 2022, 01:49:27 pm
actual version - https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx/trunk

Thank you very much! Fixed
TinyPortal © 2005-2018