On Wednesday 31 July 2013 18:14:02 minoshi wrote:
> Martin, I'm sorry to interrupt, but I do not understand one error.
>
> I try to build mseide with installed alsmplayer on component palette.
>
> cmd line :
> =========================
> fpc
> -o/mnt/projects/mseide/msegui_2_8_6_gitcopy/apps/myextendedmseide/myextende
>dmseide
>
> -Fu/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/addon/*/
> -Fi/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/addon/*/
> -Fu/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/common/kernel/linux/
> -Fu/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/common/kernel/
> -Fi/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/common/kernel/
> -Fu/mnt/projects/mseide/msegui_2_8_6_gitcopy/lib/common/*/
> -Fu../ide/
> -Fi../ide/
> -l -Mobjfpc -Sh -Fcutf8
> -FE../myextendedmseide
> -FU. -dmorecomponents -gl -O- -B
> ../ide/mseide.pas
> ========================
>
> regmycomps.pas:
> ========================
> unit regmycomps;
> {$ifdef FPC}{$mode objfpc}{$h+}{$endif}
>
> interface
>
> implementation
> uses
>    msedesignintf,alsmplayer;
>
> procedure register;
> begin
>   registercomponents('Mplayer',[tmplayer]);
> end;
>
> initialization
>   register;
> end.
> ============================
>
> Alsmplayer.pas is latest with your changes
>
>
> When build I got next error:
> ========================
> regmycomps.pas(12,41) Error: Incompatible type for arg no. 2: Got "Array
> Of Const/Constant Open Array of Class Of tmplayer", expected "Open Array
> Of TComponentClass"
> regmycomps.pas(19) Fatal: There were 1 errors compiling module, stopping
> ========================
>
>
> What it mean?
>
I adopted your sources for MSEide+MSEgui 3.0 and current git master branch 
which have a split implementation of tcomponent in mclasses.pas. So it must 
be compiled with MSEgui git master version. Possibly it is necessary 
to 'Build' instead to 'Make'.

Martin

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to