Talk:Bluetooth
I can not get the componnets on the components tool bar.
Problem when adding de bluetoothlaz.lpk
i follow the instructions, but when i press the install button to rebuild the lazarus it compiles well and then i get this error
/usr/lib/lazarus/tools/svn2revisioninc.pas(373,1) Error: Can't create object file: ./svn2revisioninc.o
Then, i changed permissions to that file and now i get this error
Unable to find file "statispackages.inc". If it belongs to your project, check search path on Project->Compiler Options...->Search Paths->Other Unit Files. If this file belongs to a package, check the appropiate packege compiler options. ........ bla bla bla
Any idea?
Thanks.
--lazamon 12:24, 12 February 2009 (CET)
Compile error when installing
I get an compile error when installing this package:
Error: Fields cannot appear after a method or property definition, start a new visibility section first
at this line:
WiiMotes: TWiiMotes;
in this file:
WiiMoteTools.pas
This file needs to be updated by putting the constructor/destructor/procedure/function definitions after the variable definitions as follows:
public WiiMotes: TWiiMotes; ID: integer; Name: string; bdaddr: bdaddr_t; Found: boolean; Connected: boolean; OutSocket: cint; InSocket: cint; Handshaking: boolean; HandshakeComplete: boolean; Event: TWiimoteEventType; EventBuf: array[0..31] of byte; // properties LEDs: integer; Rumble: boolean; Continuous: boolean; ReportMotion: boolean; ReportIR: boolean; ReportExpansion: boolean; Buttons: word; // current button state Accel: TAccelVector; // current accelerator state AccelCalibration: TAccelCalibration; Dots: array[0..3] of TWiiMoteDot; constructor Create; destructor Destroy; override; procedure SetLEDs(const AValue: integer); function Connect: boolean; procedure Disconnect; procedure EnableHandshake; function RealizeReportType: boolean; procedure RealizeIR;
- Please post questions on the forum or mailing list; they won't be noticed here by many. Thanks --BigChimp 12:39, 18 April 2013 (UTC)