Hello,
I want to clone cqrlog from github and compile the version 2.2 on me linux mint 18.3.
There was no error while make or install.
But if i start cqrlog i have got the following error:
matthias@engelbracht-nb ~ $ cqrlog --debug=1
[FORMS.PP] ExceptionOccurred
Sender=EReadError
Exception=Error reading scCommon.UseDollarString: Unknown property: "UseDollarString"
Stack trace:
$00000000004A0546
$000000000049F779
$000000000049F83C
$00000000006986ED
$0000000000690491
$0000000000499319
$000000000045C7D5
TApplication.HandleException Error reading scCommon.UseDollarString: Unknown property: "UseDollarString"
Stack trace:
$00000000004A0546
$000000000049F779
$000000000049F83C
$00000000006986ED
$0000000000690491
$0000000000499319
$000000000045C7D5
Closing ini file ...
Also there is no .config/cqrlog folder in my HOME directory.
What could be the Problem?
Thank for any help
73 Matthias
Quite big question with so little information.
Can you install and run the official package of 2.2.0 ?
After it is running ok you may try to make new compile of your own. That is the easiest way,
If you do not like to install package for some reason you have to be sure that all libraries are installed and working,
There seems to be common problem with Mint and libmysqlclient.
After that side is ok, next question is the FPC and Lazarus version. 3.0.2/1.6.4 seem to be working while the latest version produces some bugs.
If I would like to install "home made" version of cqrlog I would first take the tar version from download page,
Extaract it to /tmp and pick up everything else but the binary itself and put them to corresponding folders under /usr.
Then I would download source from GitHub extract it to some directory, start Lazarus IDE and with "open project" navigate
to that directory's subfolder "src" and opened cqrlog.lpi.
After that (or before that) install richmemo package from "src/richmemo" and then start "build".
After finished with no errors copy "cqrlog" from "src" directory to /usr/bin and start using cqrlog.
Google is also your friend. Paste common parts of error texts and "lazarus" as serach words.
--
Saku
OH1KH
--
Saku
OH1KH
What version of Lazarus and fpc are you using? You have to use Lazarus 1.8.0 and fpc 3.0.4, they are both in my repository https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
I ve the same problem.
The program starts but stops with more or less the same error messsage.
best regards
Frank
pi@rpi:/etc/apt $ cqrlog -debug=1
**** DEBUG LEVEL 1 ****
Loading libssl:
Loading libcrypto:
Loading libmysqlclient:
**************************
MySQL version: 5.5
**************************
**********************************
MySQL version assigned: 5.5
**********************************
[FORMS.PP] ExceptionOccurred
Sender=EBusError
Exception=Bus error or misaligned data access
Stack trace:
$0002F10C
$0006C7FC
TApplication.HandleException Bus error or misaligned data access
Stack trace:
$0002F10C
$0006C7FC
Closing ini file ...
This is caused by using old version of Lazarus. You should use Lazarus from my repository on Launchpad - https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus
For user who can't use recet Lazarus version, there is a script that removes unsupported properties like UseDollarString from lfm files. The script is here: https://github.com/ok2cqr/cqrlog/blob/master/tools/remove_unknown_proper...
You have to run the script before Makefile.
73 Petr
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
Thanks Petr,
but the program was installed from the debian repo for raspberry pi, I did not compile it myself.
But I will try now.
73
Frank
Hello Petr,
This script solved everything.
I got the latest code from yor website and compiled succsesfully.
Thanks!!
Bestr regards
Frank
DB5FP