Lazarus
Programming => Packages and Libraries => Topic started by: Tibb on March 03, 2016, 07:07:03 pm
-
Lazarus 1.6RC2
fpc 3.0.0
raspberry Pi 2 / Raspbian v8 (Jessie)
Trying to install package lazvlc 1.0 //Save and rebuild IDE
Compile package lazvlc 1.0: Exit code 256, Errors: 1
lclvlc.pp(90,47) Error: Identifier not found 'GetXHandle'
Thank You.
-
hello,
getXHandle Function is in the include files vlcgtk2.inc or vlcqt.inc .
In the file lclvlc.pp you have
{$ifdef HasX}
{$ifdef lclgtk2}
{$I vlcgtk2.inc}
{$endif}
{$ifdef lclqt}
{$I vlcqt.inc}
{$endif}
{$endif}
check why one of the two files isn't include when you compile (check your LCL_PLATFORM).
LCL_PLATFORM=%platform
%platform is the target widgetset. It can be win32,wince,gtk,gtk2,qt,carbon,cocoa,customdrawn.
Friendly, J.P
-
Hello,
at 'Configure build Lazarus' i set LCL widget type to gtk2, target OS Linux and Target CPU to arm yet i cannot rebuild the IDE with lazvlc.
These are greyed out:
{$ifdef lclgtk2}
{$I vlcgtk2.inc}
{$endif}
{$ifdef lclqt}
{$I vlcqt.inc}
{$endif}
Thank You anyway.
t.
-
Hello,
at 'Configure build Lazarus' i set LCL widget type to gtk2, target OS Linux and Target CPU to arm yet i cannot rebuild the IDE with lazvlc.
These are greyed out:
{$ifdef lclgtk2}
{$I vlcgtk2.inc}
{$endif}
{$ifdef lclqt}
{$I vlcqt.inc}
{$endif}
Thank You anyway.
t.
does jessie support X Windows? Try to find why the HasX is not defined and if required install the x Windows library in jessie.
-
I can start X Windows with startx on the Pi, i can run GUI apps on it. Im running Lazarus itself on the Pi 2 and trying to build lazvlc from there.
-
hello,
try to remove the HasX condition :
//{$ifdef HasX}
{$ifdef lclgtk2}
{$I vlcgtk2.inc}
{$endif}
{$ifdef lclqt}
{$I vlcqt.inc}
{$endif}
//{$endif}
-
hello,
try to remove the HasX condition :
//{$ifdef HasX}
{$ifdef lclgtk2}
{$I vlcgtk2.inc}
{$endif}
{$ifdef lclqt}
{$I vlcqt.inc}
{$endif}
//{$endif}
Thank You, first im trying to get it work on windows.