Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Juha Manninen
On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen
 wrote:
> I wonder why this bug did not appear for you. I am doing a basic
> Lazarus build with "Debug IDE" profile on Linux using either of the 2
> widgetsets, after changing any unit a little.

I am still using FPC 2.6.2 in that Linux machine. It has worked well
so far. Could it make a difference? I will do more tests.
Anyway, the
 'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!'
assertion failed every time for me.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] I've got a " nintendo 3ds pascal " that can ... all day

2015-03-17 Thread Marcos Almeida Azevedo
On Wed, Mar 18, 2015 at 9:22 AM, year0097ic  wrote:

> dirigible listing is avail... 
>
>  & now back to our regular scheduled program
> libctru header translations to FreePascal for pro-liter-riot's who like
> libctru header translation to FreePascal
>

This is for writing games on 3DS?


> <
> https://drive.google.com/open?id=0B-6PL59ryjzgTDRxOW9wend5MEE&authuser=0&_ga=1.129709580.1817056000.1423870235
> >
>
>
>
> --
> View this message in context:
> http://free-pascal-lazarus.989080.n3.nabble.com/I-ve-got-a-nintendo-3ds-pascal-that-can-all-day-tp4041255.html
> Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Marcos | I love PHP, Linux, and Java

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] I've got a " nintendo 3ds pascal " that can ... all day

2015-03-17 Thread year0097ic
dirigible listing is avail...   

 & now back to our regular scheduled program
libctru header translations to FreePascal for pro-liter-riot's who like 
libctru header translation to FreePascal

  



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/I-ve-got-a-nintendo-3ds-pascal-that-can-all-day-tp4041255.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Juha Manninen
On Tue, Mar 17, 2015 at 11:14 PM, Mattias Gaertner
 wrote:
> Fixed.

No, there is still a Nil reference. I added some assertions, see r48408.
I also removed the Pointer casts in ComparePGInterPkgUnitnames()
although it was not the problem really.

I wonder why this bug did not appear for you. I am doing a basic
Lazarus build with "Debug IDE" profile on Linux using either of the 2
widgetsets, after changing any unit a little.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Mehmet Erol Sanliturk
On Tue, Mar 17, 2015 at 2:12 PM, Mattias Gaertner  wrote:

> On Tue, 17 Mar 2015 10:29:11 -0700
> Mehmet Erol Sanliturk  wrote:
>
> >[...]
> > There is an important problem in Lazarus compilations :
> >
> > Assume some units only include source files in their interface parts
> having
> > record types ( i.e. , there is no any declaration statement within unit
> > source and no any entries in their implementation parts ) .
> >
> > Other units include source files containing procedures and use type
> > declaration units .
> >
> >
> > If a modification is performed in one of the procedure sources , Lazarus
> is
> > detecting it and compiling that unit .
> >
> > BUT
> >
> > If a new record element is added to one of the records , it is NOT
> > detecting that change and it is using the old compiled .ppu  and .o for
> > this type definition source file included unit with
> > a subsequent error message that the newly added element is NOT defined in
> > the respective record .
>
> That sounds more like a FPC bug than Lazarus. Lazarus only checks file
> dates. If a change is in interface or implementation doesn't matter.
> Or maybe I misunderstand?
>
>
> > I am using a batch or shell script file to erase all of the .ppu and .o
> > files before starting the compilation .
> >
> > Selecting "Build" from Lazarus "Run" menu is starting to build Lazarus
> > itself which is NOT possible because Lazarus is owned by the "root" .
>
> I'm not sure what you mean 'build Lazarus itself' and 'Lazarus is owned
> by the "root"'.
> Can you give more details?
>
>
>
Units supplied by the Lazarus , i.e. , when Lazarus is installed by the
"root" , such as

/usr/lib64/lazarus/

which its owner is "root" .

When "Build" is selected from the "Run" menu of Lazarus , it should NOT
include building of units installed by the Lazarus , but units of the user
program .


There is a menu item in "Tools" about building the Lazarus itself .





> > Using -B option seems that it is NOT effective when there are existing
> .ppu
> > and .o files .
>
> Do you mean lazbuild -B or fpc -B?
>
>
>
In one of the fields of the Lazarus menus , ( I could not find it now ) I
have set -B option to force the compilation in "Build" mode instead of
"Make" mode to make it to recognize record element changes :
When Lazarus is starting to compile in GUI mode , it is displaying "options
changed , ... -B  ..."
but it is not taken into consideration the record type changes mentioned
above .

I am not using -B option in lazbuild command line statement because I am
assuming that .lpi file contains such an option .

I am not using fpc directly to compile the programs : Either by Lazarus GUI
or lazbuild through scripts without -B option in the command line with the
assumption that it is specified in .lpi file .

Actually , in "Make" mode such changes should be detected .


Deleting .ppu and .o files is causing a compile time more than 17 minutes
for me instead of a shorter compilation time .



> > Then the only way is to "clean" existing .ppu or .o files in a selected
> way
> > .
> >
> > I do not know why
> >
> > make -s clean
>
> -s Silent operation; do not print the commands as they are executed.
>
>
> > is used , but implication is that deletion of existing  .ppu and .o files
> > are required before starting to compilation .
>
> 'make clean' in Lazarus source directory deletes .ppu and .o files of
> IDE, lazbuild and bigide components. This is useful, when a source file
> was removed from a package.
>
> Mattias
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 22:03:28 +0200
Juha Manninen  wrote:

> I also get a SIGSEGV every time I build Lazarus from inside IDE. I can
> prevent the crash only by selecting "Clean all" in the Configure build
> lazarus.
> 
> #0  0x01364185 in CHECKDUPLICATEUNITS
> (parentfp=0x7fffbf60) at ../packager/interpkgconflictfiles.pas:876
> #1  0x013638ac in CHECKINTERPKGFILES

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 10:29:11 -0700
Mehmet Erol Sanliturk  wrote:

>[...]
> There is an important problem in Lazarus compilations :
> 
> Assume some units only include source files in their interface parts having
> record types ( i.e. , there is no any declaration statement within unit
> source and no any entries in their implementation parts ) .
> 
> Other units include source files containing procedures and use type
> declaration units .
> 
> 
> If a modification is performed in one of the procedure sources , Lazarus is
> detecting it and compiling that unit .
> 
> BUT
> 
> If a new record element is added to one of the records , it is NOT
> detecting that change and it is using the old compiled .ppu  and .o for
> this type definition source file included unit with
> a subsequent error message that the newly added element is NOT defined in
> the respective record .

That sounds more like a FPC bug than Lazarus. Lazarus only checks file
dates. If a change is in interface or implementation doesn't matter.
Or maybe I misunderstand?

 
> I am using a batch or shell script file to erase all of the .ppu and .o
> files before starting the compilation .
> 
> Selecting "Build" from Lazarus "Run" menu is starting to build Lazarus
> itself which is NOT possible because Lazarus is owned by the "root" .

I'm not sure what you mean 'build Lazarus itself' and 'Lazarus is owned
by the "root"'.
Can you give more details?

 
> Using -B option seems that it is NOT effective when there are existing .ppu
> and .o files .

Do you mean lazbuild -B or fpc -B?

 
> Then the only way is to "clean" existing .ppu or .o files in a selected way
> .
> 
> I do not know why
> 
> make -s clean

-s Silent operation; do not print the commands as they are executed.

 
> is used , but implication is that deletion of existing  .ppu and .o files
> are required before starting to compilation .

'make clean' in Lazarus source directory deletes .ppu and .o files of
IDE, lazbuild and bigide components. This is useful, when a source file
was removed from a package.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Play video from memory

2015-03-17 Thread aradeonas
I forgot to say I made it work with Delphi not Lazarus and for making it  
with Lazarus you will need full source version that it will compile only for  
windows. 


Regards, 

Ara 




-- 
http://www.fastmail.com - Same, same, but different...

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Juha Manninen
I also get a SIGSEGV every time I build Lazarus from inside IDE. I can
prevent the crash only by selecting "Clean all" in the Configure build
lazarus.

#0  0x01364185 in CHECKDUPLICATEUNITS
(parentfp=0x7fffbf60) at ../packager/interpkgconflictfiles.pas:876
#1  0x013638ac in CHECKINTERPKGFILES
(IDEOBJECT=0x77f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false)
at ../packager/interpkgconflictfiles.pas:1041
#2  0x00b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES
(this=0x7fffe02307c0, IDEOBJECT=0x77f590c0,
PKGLIST=0x7fffe071f180, FILESCHANGED=false) at
../packager/pkgmanager.pas:929
#3  0x00b51c1d in COMPILEREQUIREDPACKAGES
(this=0x77f590c0, APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0,
SKIPDESIGNTIMEPACKAGES=false, POLICY=PUPASNEEDED)
at ../packager/packagesystem.pas:3666
#4  0x00b82a99 in DOCOMPILEAUTOINSTALLPACKAGES
(this=0x7fffe02307c0, FLAGS=..., ONLYBASE=false) at
../packager/pkgmanager.pas:5877
#5  0x004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0,
FLAGS=...) at main.pp:7360
#6  0x004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0,
FLAGS=...) at main.pp:7418
...

The whole backtrace is attached.

Juha
Program received signal SIGSEGV, Segmentation fault.
0x01364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffbf60) at 
../packager/interpkgconflictfiles.pas:876
876 debugln(['CheckPPUFilesInWrongDirs duplicate units found: 
file1="',CurUnit.FullFilename,'"(',CurUnit.OwnerInfo.Name,') 
ppu=',PPUFile<>nil,' 
file2="',OtherFile.FullFilename,'"(',OtherFile.OwnerInfo.Name,') 
ppu=',OtherPPUFile<>nil]);
(gdb) bt
#0  0x01364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffbf60) at 
../packager/interpkgconflictfiles.pas:876
#1  0x013638ac in CHECKINTERPKGFILES (IDEOBJECT=0x77f590c0, 
PKGLIST=0x7fffe071f180, FILESCHANGED=false) at 
../packager/interpkgconflictfiles.pas:1041
#2  0x00b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES (this=0x7fffe02307c0, 
IDEOBJECT=0x77f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false) at 
../packager/pkgmanager.pas:929
#3  0x00b51c1d in COMPILEREQUIREDPACKAGES (this=0x77f590c0, 
APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0, SKIPDESIGNTIMEPACKAGES=false, 
POLICY=PUPASNEEDED)
at ../packager/packagesystem.pas:3666
#4  0x00b82a99 in DOCOMPILEAUTOINSTALLPACKAGES (this=0x7fffe02307c0, 
FLAGS=..., ONLYBASE=false) at ../packager/pkgmanager.pas:5877
#5  0x004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0, FLAGS=...) at 
main.pp:7360
#6  0x004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0, FLAGS=...) at 
main.pp:7418
#7  0x004c16eb in MNUTOOLBUILDLAZARUSCLICKED (this=0x7fffe51f22e0, 
SENDER=0x7fffe034b5e0) at main.pp:4719
#8  0x009c8772 in MENUITEMCLICK (this=0x7fffe034b5e0, 
SENDER=0x7fffe034b5e0) at menuintf.pas:575
#9  0x009ce2fd in MENUITEMCLICK (this=0x7fffe034b5e0, 
SENDER=0x7fffe034b5e0) at menuintf.pas:1650
#10 0x009caa5f in TRIGGERCLICK (this=0x7fffe034b5e0) at menuintf.pas:932
#11 0x015c640b in CLICK (this=0x7fffdbbc19f0) at 
editortoolbar_impl.pas:162
#12 0x007cd33e in MOUSEUP (this=0x7fffdbbc19f0, BUTTON=MBLEFT, 
SHIFT=..., X=12, Y=10) at include/toolbutton.inc:133
#13 0x006bde6a in DOMOUSEUP (this=0x7fffdbbc19f0, MESSAGE=..., 
BUTTON=MBLEFT) at include/control.inc:2169
#14 0x006bec81 in WMLBUTTONUP (this=0x7fffdbbc19f0, MESSAGE=...) at 
include/control.inc:2613
#15 0x00433851 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#16 0x006beb48 in WMXBUTTONQUADCLK (this=0x7fffdbbc19f0, MESSAGE=...) 
at include/control.inc:2582
#17 0x006bb4aa in PERFORM (this=0x7fffdbbc19f0, MSG=514, WPARAM=0, 
LPARAM=655372) at include/control.inc:1451
#18 0x006a6456 in ISCONTROLMOUSEMSG (this=0x7fffdbbbd5f0, THEMESSAGE=0) 
at include/wincontrol.inc:4663
#19 0x006a8cec in WNDPROC (this=0x7fffdbbbd5f0, MESSAGE=...) at 
include/wincontrol.inc:5288
#20 0x0076dcc0 in DELIVERMESSAGE (this=0x7fffdb7424b0, MSG=0, 
AISINPUTEVENT=true) at qt/qtwidgets.pas:5517
#21 0x0076848b in SLOTMOUSE (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:3623
#22 0x007658da in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:2568
#23 0x0078fbbc in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:16000
#24 0x00791477 in VIEWPORTEVENTFILTER (this=0x7fffdb7421f0, 
EVENT=0x7fffd310, RETVAL=0x7fffcf7f) at qt/qtwidgets.pas:16486
#25 0x77726b7d in QLCLAbstractScrollArea::viewportEvent(QEvent*) () 
from /usr/local/lib/libQt4Pas.so.5
#26 0x7359c646 in 
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () 
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x73e15e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x7fff

Re: [Lazarus] Play video from memory

2015-03-17 Thread aradeonas
Hi, 


You need to take a look at MemoryPlayer demo of FFVCL,There is not  much I  
done and demo is documented fairly,my version is just simpler but if you  
wants any help tell me although Im newbie in this subject ;) 

http://www.delphiffmpeg.com/ 


Regards, 

Ara 




-- 
http://www.fastmail.com - Access your email from home and the web

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Mehmet Erol Sanliturk
On Tue, Mar 17, 2015 at 9:36 AM, Henry Vermaak 
wrote:

> On Tue, Mar 17, 2015 at 06:03:15PM +0200, FreeMan wrote:
> > make -s clean ...
> > this my compiler make command line.
>
> Eh?  You're using lazbuild, why are you talking about make?
>
> If you are building lazarus with lazbuild, you can add compiler options,
> under Tools->Configure "Build Lazarus", see "Options".  Add the options
> for the build mode that you're using.
>
> Henry
>
> --
> ___
>


There is an important problem in Lazarus compilations :

Assume some units only include source files in their interface parts having
record types ( i.e. , there is no any declaration statement within unit
source and no any entries in their implementation parts ) .

Other units include source files containing procedures and use type
declaration units .


If a modification is performed in one of the procedure sources , Lazarus is
detecting it and compiling that unit .

BUT

If a new record element is added to one of the records , it is NOT
detecting that change and it is using the old compiled .ppu  and .o for
this type definition source file included unit with
a subsequent error message that the newly added element is NOT defined in
the respective record .


I am using a batch or shell script file to erase all of the .ppu and .o
files before starting the compilation .

Selecting "Build" from Lazarus "Run" menu is starting to build Lazarus
itself which is NOT possible because Lazarus is owned by the "root" .

Using -B option seems that it is NOT effective when there are existing .ppu
and .o files .


Then the only way is to "clean" existing .ppu or .o files in a selected way
.

I do not know why

make -s clean


is used , but implication is that deletion of existing  .ppu and .o files
are required before starting to compilation .



Thank you very much .


Mehmet Erol Sanliturk
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 17:05:30 +
Henry Vermaak  wrote:

>[...]
> > The LCL gtk2 interface computed the preferred size of a groupbox
> > including the child controls, which lead to a loop.
> > We need another way to compute the size of a groupbox without the child
> > controls.
> 
> I don't understand, how can you know the size of the groupbox if you
> don't know the size of the children?  How does, e.g., a panel do this?
> Sorry if this is a stupid question, the auto size mechanics confuse me a
> bit.

The gtk2 interface only knows the current size of the child
control(s). It does not know the preferred size of the child control(s).


Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 05:46:01PM +0100, Mattias Gaertner wrote:
> On Tue, 17 Mar 2015 16:12:30 +
> Henry Vermaak  wrote:
> 
> > Hi
> > 
> > A while ago we managed to fix the GroupBox auto sizing not taking the
> > length of the caption into account.  I've been using the fixes_1_2
> > branch and that's working OK.
> > 
> > I switched to fixes_1_4 and started seeing some strange behaviour.
> > Initially it appears that the auto sizing works correctly (see
> > groupbox1.png) but when you resize the window it changes and cuts the
> > caption off (see groupbox2.png).  It doesn't resize again after that.
> > This only happens when you've got some anchors set.
> > 
> > Does anyone know what could have caused this?  If not I'll have to
> > bisect, which I'd rather avoid!
> 
> The LCL gtk2 interface computed the preferred size of a groupbox
> including the child controls, which lead to a loop.
> We need another way to compute the size of a groupbox without the child
> controls.

I don't understand, how can you know the size of the groupbox if you
don't know the size of the children?  How does, e.g., a panel do this?
Sorry if this is a stupid question, the auto size mechanics confuse me a
bit.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 06:03:15PM +0200, FreeMan wrote:
> make -s clean ...
> this my compiler make command line.

Eh?  You're using lazbuild, why are you talking about make?

If you are building lazarus with lazbuild, you can add compiler options,
under Tools->Configure "Build Lazarus", see "Options".  Add the options
for the build mode that you're using.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Mark Morgan Lloyd

Henry Vermaak wrote:

On Tue, Mar 17, 2015 at 04:28:06PM +0200, FreeMan wrote:

Is it possible add parameter for hide verbose " not used" hint I
don't need see every build, a lot off sender not used info on
terminal.
 --quiet  parameter not hide this hints.



What annoys me is the "TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile"
messages, despite the --quiet option passed.


What annoys me is that if there's a problem in the IDE it can be 
difficult (verging on impossible) to construct a consistent set of 
configuration files that Lazbuild can subsequently use.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 16:12:30 +
Henry Vermaak  wrote:

> Hi
> 
> A while ago we managed to fix the GroupBox auto sizing not taking the
> length of the caption into account.  I've been using the fixes_1_2
> branch and that's working OK.
> 
> I switched to fixes_1_4 and started seeing some strange behaviour.
> Initially it appears that the auto sizing works correctly (see
> groupbox1.png) but when you resize the window it changes and cuts the
> caption off (see groupbox2.png).  It doesn't resize again after that.
> This only happens when you've got some anchors set.
> 
> Does anyone know what could have caused this?  If not I'll have to
> bisect, which I'd rather avoid!

The LCL gtk2 interface computed the preferred size of a groupbox
including the child controls, which lead to a loop.
We need another way to compute the size of a groupbox without the child
controls.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Play video from memory

2015-03-17 Thread vfclists .
On 17 March 2015 at 08:23, aradeonas  wrote:

> Thank you all,
> Now with help of author of FFVCL I can do what I want.
> That is great library with a great support.After testing many libraries I
> think its best choice for any one wants expert and easy to use tools in
> video field (also audio and .. but I didn't work with them).
>
> Regards,
> Ara
>
>
>
>
Consider uploading it to some place where we can all learn from it,
something like a gist at Github.



-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] GroupBox AutoSize issues

2015-03-17 Thread Henry Vermaak
Hi

A while ago we managed to fix the GroupBox auto sizing not taking the
length of the caption into account.  I've been using the fixes_1_2
branch and that's working OK.

I switched to fixes_1_4 and started seeing some strange behaviour.
Initially it appears that the auto sizing works correctly (see
groupbox1.png) but when you resize the window it changes and cuts the
caption off (see groupbox2.png).  It doesn't resize again after that.
This only happens when you've got some anchors set.

Does anyone know what could have caused this?  If not I'll have to
bisect, which I'd rather avoid!

Henry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] It seems that "lazbuild" is NOT checking existence of executable

2015-03-17 Thread Mehmet Erol Sanliturk
On Tue, Mar 17, 2015 at 6:29 AM, Mattias Gaertner  wrote:

> On Tue, 17 Mar 2015 02:09:46 -0700
> Mehmet Erol Sanliturk  wrote:
>
> >[...]
> > rm Program_Name
> >
> > lazbuild Program_Name.LPI
> >
> > ls -l Program_Name
> >[...]
> > MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
>
> Fixed.
>
> Mattias
>
> --
> ___
>




Mattias , thank you very much .

Mehmet Erol Sanliturk
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread FreeMan

On 17.03.2015 16:39, Henry Vermaak wrote:

Hide these hints by setting the options in the Verbosity section of the
compiler options.  You can make a quiet build mode and use --build-mode
to select it from the command line.  I have a noisy debug mode and a
quiet release mode, for example.
Sorry Henry, But I didn't understand clearly. I'm talk about in command 
line, parameter of lazbuild. This is my commandline,


./lazbuild --pcp=/Users/freeman/.lazarus _*--quiet*_ --build-all 
--skip-dependencies --build-ide= --ws=qt--cpu=x86_64



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread FreeMan

make -s clean ...
this my compiler make command line.

On 17.03.2015 17:41, Henry Vermaak wrote:

On Tue, Mar 17, 2015 at 05:38:03PM +0200, FreeMan wrote:

On 17.03.2015 16:39, Henry Vermaak wrote:

Hide these hints by setting the options in the Verbosity section of the
compiler options.  You can make a quiet build mode and use --build-mode
to select it from the command line.  I have a noisy debug mode and a
quiet release mode, for example.

Sorry Henry, But I didn't understand clearly. I'm talk about in
command line, parameter of lazbuild. This is my commandline,

./lazbuild --pcp=/Users/freeman/.lazarus _*--quiet*_ --build-all
--skip-dependencies --build-ide= --ws=qt--cpu=x86_64

Yes, this is to tell _lazbuild_ to be quiet (which it doesn't obey
properly, either).  The hints you are talking about is coming from the
_compiler_, so you have to change the compiler options to silence the
warnings.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 02:39:59PM +, Henry Vermaak wrote:
> What annoys me is the "TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile"
> messages, despite the --quiet option passed.

And "TFPCTargetConfigCache..." and "RunTool..." and
"TProject.DoLoadStateFile...".  You can't see the wood from the trees
when you build from the command line.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 05:38:03PM +0200, FreeMan wrote:
> On 17.03.2015 16:39, Henry Vermaak wrote:
> >Hide these hints by setting the options in the Verbosity section of the
> >compiler options.  You can make a quiet build mode and use --build-mode
> >to select it from the command line.  I have a noisy debug mode and a
> >quiet release mode, for example.
> Sorry Henry, But I didn't understand clearly. I'm talk about in
> command line, parameter of lazbuild. This is my commandline,
> 
> ./lazbuild --pcp=/Users/freeman/.lazarus _*--quiet*_ --build-all
> --skip-dependencies --build-ide= --ws=qt--cpu=x86_64

Yes, this is to tell _lazbuild_ to be quiet (which it doesn't obey
properly, either).  The hints you are talking about is coming from the
_compiler_, so you have to change the compiler options to silence the
warnings.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] suggestion for lazbuild

2015-03-17 Thread Henry Vermaak
On Tue, Mar 17, 2015 at 04:28:06PM +0200, FreeMan wrote:
> Is it possible add parameter for hide verbose " not used" hint I
> don't need see every build, a lot off sender not used info on
> terminal.
>  --quiet  parameter not hide this hints.

Hide these hints by setting the options in the Verbosity section of the
compiler options.  You can make a quiet build mode and use --build-mode
to select it from the command line.  I have a noisy debug mode and a
quiet release mode, for example.

What annoys me is the "TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile"
messages, despite the --quiet option passed.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] suggestion for lazbuild

2015-03-17 Thread FreeMan
Is it possible add parameter for hide verbose " not used" hint I 
don't need see every build, a lot off sender not used info on terminal.

 --quiet  parameter not hide this hints.
Thank you.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] It seems that "lazbuild" is NOT checking existence of executable

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 02:09:46 -0700
Mehmet Erol Sanliturk  wrote:

>[...]
> rm Program_Name
> 
> lazbuild Program_Name.LPI
> 
> ls -l Program_Name
>[...]
> MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 14:03:02 +0200
FreeMan  wrote:

> On 17.03.2015 13:45, Mattias Gaertner wrote:
> > On Tue, 17 Mar 2015 11:36:41 +0200
> > FreeMan  wrote:
> > lazarus r48404 fpc r30250 osx qt x64
> >
> > When compile my project, I get this error:
> >
> > Division by zero.
> > Please test with revision 48405.
> >
> > Mattias
> 
> I tested, but NOT fixed. Just on message windows not show warnings. in 
> terminal when compile
> still I get this errors:
> 
> TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
> ZVDateTimeCtrls 1.5.1: 
> /opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled
> TApplication.HandleException Access violation
>Stack trace:
>$000100B36EFF
>$000100B36858
>$000100529515
>$00010051BA3B
>$00010053636F
>$000100087858
>$00010007E29E
>$000100414577
>$000100418161
>$000100415EAD
>$000100F58EBF
>$0001002A8B3C
>$0001001F43C2
>$0001001F4EF8
>$0001000125E3
>$0001001F2A6E
>$0001001E6114

Why are there no line infos? Have you stripped the IDE?

Please run the IDE in gdb to get a stacktrace.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Warning on duplicate units

2015-03-17 Thread Werner Pamler

Fixed.


Perfect. Thanks.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

On 17.03.2015 13:45, Mattias Gaertner wrote:

On Tue, 17 Mar 2015 11:36:41 +0200
FreeMan  wrote:
lazarus r48404 fpc r30250 osx qt x64

When compile my project, I get this error:

Division by zero.
Please test with revision 48405.

Mattias


I tested, but NOT fixed. Just on message windows not show warnings. in 
terminal when compile

still I get this errors:

TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
ZVDateTimeCtrls 1.5.1: 
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled

TApplication.HandleException Access violation
  Stack trace:
  $000100B36EFF
  $000100B36858
  $000100529515
  $00010051BA3B
  $00010053636F
  $000100087858
  $00010007E29E
  $000100414577
  $000100418161
  $000100415EAD
  $000100F58EBF
  $0001002A8B3C
  $0001001F43C2
  $0001001F4EF8
  $0001000125E3
  $0001001F2A6E
  $0001001E6114
2015-03-17 14:00:36.777 lazarus[32947:368541] modalSession has been 
exited prematurely - check for a reentrant call to endModalSession:


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Warning on duplicate units

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 12:06:50 +0100
Werner Pamler  wrote:

> Recently I am receiving warnings of "duplicate units" when recompiling 
> projects using installed fpspreadsheet (trunk). The warnings do not 
> appear with Laz1.4RC2. See also the discussion in the forum 
> (http://forum.lazarus.freepascal.org/index.php/topic,27715.0.html) which 
> contains a typical screen shot of the message window.

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 11:36:41 +0200
FreeMan  wrote:

> lazarus r48404 fpc r30250 osx qt x64
> 
> When compile my project, I get this error:
> 
> Division by zero.

Please test with revision 48405.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Warning on duplicate units

2015-03-17 Thread Werner Pamler
Recently I am receiving warnings of "duplicate units" when recompiling 
projects using installed fpspreadsheet (trunk). The warnings do not 
appear with Laz1.4RC2. See also the discussion in the forum 
(http://forum.lazarus.freepascal.org/index.php/topic,27715.0.html) which 
contains a typical screen shot of the message window.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

Maybe this result helpful, I get from message window:

Warning: other unit files search path (aka unit path) of "dcpcrypt_laz 
2.0.4.1" contains "/opt/proje_laz/components/dcpcrypt/Ciphers", which 
belongs to package "dcpcrypt"
Warning: other sources path of package "lnetbase 0.6.6" contains 
directory "../lib", which is already in the unit search path.
Warning: Duplicate unit "zlibar_package" in "zlibar_package 0.2.1", 
ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu", 
source="/opt/proje_laz/components/zlibar/zlibar_package.pas"
Warning: Duplicate unit "zlibar_package" in "UGS_secury 2.0", 
ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu", 
source="/opt/proje_laz/components/zlibar/zlibar_package.pas"
Warning: Duplicate unit "zlibar" in "zlibar_package 0.2.1", 
ppu="/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar.ppu", 
source="/opt/proje_laz/components/zlibar/zlibar.pas"
Warning: Duplicate unit "zlibar" in "UGS_secury 2.0", 
ppu="/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/zlibar.ppu", 
source="/opt/proje_laz/components/zlibar/zlibar.pas"
Warning: Duplicate unit "xlsxooxml" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas"
Warning: Duplicate unit "xlsxooxml" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas"
Warning: Duplicate unit "xlsconst" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsconst.pas"
Warning: Duplicate unit "xlsconst" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsconst.pas"
Warning: Duplicate unit "xlscommon" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlscommon.pas"
Warning: Duplicate unit "xlscommon" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlscommon.pas"
Warning: Duplicate unit "xlsbiff8" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas"
Warning: Duplicate unit "xlsbiff8" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas"
Warning: Duplicate unit "xlsbiff5" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas"
Warning: Duplicate unit "xlsbiff5" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas"
Warning: Duplicate unit "xlsbiff2" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas"
Warning: Duplicate unit "xlsbiff2" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas"
Warning: Duplicate unit "wikitable" in "laz_fpspreadsheet 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/wikitable.pas"
Warning: Duplicate unit "wikitable" in "laz_fpspreadsheet_visual 1.4.2", 
ppu="/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu", 
source="/opt/proje_laz/components/fpspreadsheet/wikitable.pas"



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

lazarus r48404 fpc r30250 osx qt x64

When compile my project, I get this error:

Division by zero.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.


this lines from terminal, when error created:

TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
rxnew 2.6.5.152: 
/opt/proje_laz/components/all_libs/rx/x86_64-darwin-qt/rxnew.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
TurboPowerIPro 1.0: 
/opt/lazarus/components/turbopower_ipro/units/x86_64-darwin/qt/TurboPowerIPro.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
ZVDateTimeCtrls 1.5.1: 
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
cffilter_laz 4.0: 
/opt/proje_laz/components/all_libs/clever_filter/x86_64-darwin-qt/cffilter_laz.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
dbplan_laz 7.5.3.1: 
/opt/proje_laz/components/all_libs/plan_laz/x86_64-darwin-qt/dbplan_laz.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
UGS_secury 2.0: 
/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/UGS_secury.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
UGS_TurtleCat 2.0.1: 
/opt/proje_laz/components/all_libs/UGS/x86_64-darwin-qt/UGS_TurtleCat.compiled

ERROR in IDE:
Creating gdb catchable error:
TApplication.HandleException Division by zero
  Stack trace:
  $00010065D7FE
  $000100B34FFD
  $000100B37170
  $000100B36AB0
  $000100529725
  $00010051BC4B
  $00010053657F
  $000100087A68
  $00010007E4AE
  $000100414787
  $000100418371
  $0001004160BD
  $000100F58F7F
  $0001002A8D4C
  $0001001F45D2
  $0001001F5108
  $0001000127F3
2015-03-17 11:29:12.841 lazarus[92511:296713] modalSession has been 
exited prematurely - check for a reentrant call to endModalSession:

^[[1;2D
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] It seems that "lazbuild" is NOT checking existence of executable

2015-03-17 Thread Mehmet Erol Sanliturk
Dears All ,



Today I have encountered a very interesting situation :



There is a script  in Fedora 19 KDE x86_64 Konsole :

--

rm Program_Name

lazbuild Program_Name.LPI

ls -l Program_Name


--


When the above script  is executed successively a few times , the output is
the following :


--


rm: cannot remove ‘Program_Name’: No such file or directory
primary config path: /home/User_Name/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC
-Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last=
-Fu../../packager/units/x86_64-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi
-l lazutils.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last=
-Fuforms;widgetset;nonwin32;../packager/units/x86_64-linux;../components/lazutils/lib/x86_64-linux;.
-Fiinclude  -MObjFPC -Scghi -O1 -g -gl -vew -l alllclunits.pp
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -MObjFPC -Scghi -O1
-g -gl -vewnhi -l
-Fugtk2;../../packager/units/x86_64-linux;../../components/lazutils/lib/x86_64-linux;../units/x86_64-linux;.
-Figtk2 lcl.pas
TLazBuildApplication.BuildProject
MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
ls: cannot access Program_Name: No such file or directory


--


It seems that "lazbuild" is NOT checking existence of "Program_Name"
executable .

Then , I have closed the Konsole and reopened it , and executed the above
script .

It started to compile  "Program_Name.LPI" as expected .



Thank you very much .


Mehmet Erol Sanliturk
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Unable to find file "staticpackages.inc"

2015-03-17 Thread Norbert Crettol

On 13/03/15 17:45, Norbert Crettol wrote:

On 13/03/15 16:50, Mattias Gaertner wrote:

On Fri, 13 Mar 2015 15:48:16 +0100
Norbert Crettol  wrote:


[...]



I'm lost. Is that an purely Debian error?


That might be.
You can try our debian packages from
http://sourceforge.net/projects/lazarus/?source=directory
Since you already have FPC 2.6.4 you only need to uninstall the lazarus*
packages and install our lazarus package.

[...]

I've done it. Removed the Lazarus packages, kept back the fpc
packages and installed the one you pointed me to.

I've tried the same operation: installed new package lazdatadict
and rebuild the IDE.

After a while of compilation I got:

"Compiling package lazdatadict 0.0" completed
components/lazutils/masks.pas(23,22)Fatal: Can't find unit contnrs used by Masks


I just removed directory ~/.lazarus, restarted lazarus,
added the package lazdatadict, rebuild the IDE and
that's it! "Can't find unit contnrs" error was gone.

Thanks for the help.

Best regards
Norbert

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Play video from memory

2015-03-17 Thread aradeonas
Thank you all, 

Now with help of author of FFVCL I can do what I want. 

That is great library with a great support.After testing many libraries I  
think its best choice for any one wants expert and easy to use tools in  
video field (also audio and .. but I didn't work with them). 


Regards, 

Ara 




-- 
http://www.fastmail.com - Faster than the air-speed velocity of an
  unladen european swallow

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus