Lazarus

Programming => LCL => Topic started by: anna on October 07, 2011, 06:22:54 am

Title: Wile64 is not installed
Post by: anna on October 07, 2011, 06:22:54 am
Trying to install Wile64 ( http://wiki.lazarus.freepascal.org/Wile64 ) on Lazarus-0.9.31-32070-fpc-2.4.4-20110828-win32.exe , I get error in line:
    class function GetControlClassDefaultSize: TPoint; override;
There is no method in an ancestor class to be overridden


I rewrite line as
    class function GetControlClassDefaultSize: TPoint; {override;}

But component icon does not appear in all inlays.
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 06:27:10 am
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long  error correction.
Eh?
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 06:30:25 am
Almost always packages (not only Wile64, but all ones) have some errors , which makes installation impossible.

Developers, please fix this bizzarre situation with packages.
Title: Re: Wile64 is not installed
Post by: Leledumbo on October 07, 2011, 08:52:41 am
Quote
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long  error correction.
Eh?
Other than Wile64 one, I ever saw one post (and a link) to a unit implementing it, but I don't quite remember which one. Please use the forum's search function.
Quote
Almost always packages (not only Wile64, but all ones) have some errors , which makes installation impossible.

Developers, please fix this bizzarre situation with packages.
For 3rd party packages, please contact the respective authors. For Lazarus shipped ones, file a bugreport in the bugtracker with required information (what the bug is about, how to reproduce, compiler & ide version, platforms, etc.).
Title: Re: Wile64 is not installed
Post by: BigChimp on October 07, 2011, 10:26:57 am
I'd request the money back that you paid for it. You can always pay for e.g. Delphi and commercial components, and raise support issues with your suppliers if the components don't work...

It also might help if you bring up issues in a more positive way...
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 10:48:28 am
I'd request the money back that you paid for it. You can always pay for e.g. Delphi and commercial components, and raise support issues with your suppliers if the components don't work...

It also might help if you bring up issues in a more positive way...
Yes but, package was published on lazarus wiki. So I thought it works...  (http://www.lazarus.freepascal.org/Smileys/ExcellentSmileys1/sad.gif)
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 10:54:04 am
To amimate image I now use 1000 images , and make in each moment one image visible, and imvisible another ones. I'm using processmessages, timers. But I think , it is not very elegant way. My attempts to make some animations it's like clumsy work.
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 11:58:12 am
Quote
Is there in Lazarus TAnimate? Or how to show animated gifs other way? Without hours-long  error correction.
Eh?
Other than Wile64 one, I ever saw one post (and a link) to a unit implementing it, but I don't quite remember which one. Please use the forum's search function.
Tryed this : http://netcologne.dl.sourceforge.net/project/bgracontrols/bgracontrols-1.1.0.7.zip
And also does not work:
http://img163.imageshack.us/img163/2500/75481545.png

Ah...
Title: Re: Wile64 is not installed
Post by: clauslack on October 07, 2011, 01:30:51 pm
Wile64 work on Lazarus 0.9.28, but the autor no update for Lazarus 0.9.30. I do some changes for work in 0.9.30.

You can download y test from here.

http://www.megaupload.com/?d=W8T9ZN92

**
These were the problems in Lazarus 0.9.30.

1) Class TGIFImage repeated in lcl/graphics.pp

2) The package Gifanim show error "no valid output directory", there are missing this line in pkg_gifanim.lpk

Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory


3) The other problem is controls.pp
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/controls.pp?root=lazarus&r1=25190&r2=25204
  TSize use instead of  TPoint
Gifanim uses TPoint, so I change everything to TSize.

Regards
Title: Re: Wile64 is not installed
Post by: anna on October 07, 2011, 09:19:51 pm
Wile64 work on Lazarus 0.9.28, but the autor no update for Lazarus 0.9.30. I do some changes for work in 0.9.30.

You can download y test from here.

http://www.megaupload.com/?d=W8T9ZN92

**
These were the problems in Lazarus 0.9.30.

1) Class TGIFImage repeated in lcl/graphics.pp

2) The package Gifanim show error "no valid output directory", there are missing this line in pkg_gifanim.lpk

Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory


3) The other problem is controls.pp
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/controls.pp?root=lazarus&r1=25190&r2=25204
  TSize use instead of  TPoint
Gifanim uses TPoint, so I change everything to TSize.

Regards
Thanks, your package installed fine. I was surprised thet gif-file must  exist somewhere on local drive. Is there way to mount gif inside executable file's resources?
How to protect gifs from user deletion while application is running?
Title: Re: Wile64 is not installed
Post by: clauslack on October 08, 2011, 12:51:17 am
Quote
Thanks, your package installed fine.
You can see the gif images with lazarus 0.9.31 ? (In some version of 0.9.31 not work)

Quote
Is there way to mount gif inside executable file's resources?
Check this
http://wiki.lazarus.freepascal.org/Lazarus_Resources

Regards
Title: Re: Wile64 is not installed
Post by: anna on October 08, 2011, 06:11:13 am
Quote
Thanks, your package installed fine.
You can see the gif images with lazarus 0.9.31 ? (In some version of 0.9.31 not work)
yup.
http://www.youtube.com/watch?v=KPEaSXhcMqM
Title: Re: Wile64 is not installed
Post by: clauslack on October 08, 2011, 04:23:13 pm
Good  :)
Title: Re: Wile64 is not installed
Post by: anna on October 16, 2011, 09:02:45 am
Good  :)
To use gif-image from resources, I must extract file first. So user can delete file easily. So how to hide gif-image? Why doesn't developer put gif-image into component properties?
Title: Re: Wile64 is not installed
Post by: anna on October 23, 2011, 02:44:47 pm
I've found much better project : http://consume.o2switch.net/lazarus/testgif.zip

It doesn't need third party components and runs smoothly.
Title: Re: Wile64 is not installed
Post by: Bart on October 23, 2011, 03:37:50 pm
To use gif-image from resources, I must extract file first. So user can delete file easily. So how to hide gif-image? Why doesn't developer put gif-image into component properties?

Instead of keeping nagging about it, why don't you just make it work like you want, so you actually contribute to the project?
We can help if you run into troubles then.

Bart
TinyPortal © 2005-2018