Re: [Lazarus] ll 1.8.0 compiles fail with "Error while linking"

2018-02-10 Thread Michael Van Canneyt via Lazarus



On Sat, 10 Feb 2018, Tom Lisjac via Lazarus wrote:


Hi all,

Getting "Error while linking" when trying to compile the 1.8.0 ide or any
test programs on an old Fedora 19 and fresh installs of Fedora 23 and
Centos 6.8. Reviewed some bugs and forum postings, but there doesn't seem
to be a fix or workaround available.

I'd like to get this working on an RPM based distro, but am wondering if
I'd have better luck trying a debian flavor.

Any suggestions would be appreciated.


Can you provide more output ?
'Error while linking' is not much to go on. 
to be able to diagnose, a little more would be good...


Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] ll 1.8.0 compiles fail with "Error while linking"

2018-02-10 Thread Tom Lisjac via Lazarus
Hi all,

Getting "Error while linking" when trying to compile the 1.8.0 ide or any
test programs on an old Fedora 19 and fresh installs of Fedora 23 and
Centos 6.8. Reviewed some bugs and forum postings, but there doesn't seem
to be a fix or workaround available.

I'd like to get this working on an RPM based distro, but am wondering if
I'd have better luck trying a debian flavor.

Any suggestions would be appreciated.

Thanks,

-Tom
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-10 Thread Wolf via Lazarus



On 11/02/2018 00:37, Martin Frb via Lazarus wrote:

On 10/02/18 08:10, Wolf via Lazarus wrote:
What must I do to change font on the Lazarus console - not the 
Kubuntu console - to a monospace font, and how do I change font color 
there? 


You refer to the Console / "Terminal Output" from the menu View > 
Debug Windows?

correct


There are currently no settings for this.

Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp
pseudoterminaldlg.pp defines a class TPseudoConsoleDlg, which contains a 
field Memo1: TMemo
Memo1 already contains all the facilities I am looking for, I just need 
to find the place where to set them. Unless I'm mistaken, this means all 
I need to know is the variable name under which class TPseudoConsoleDlg 
is created??

Does anyone know this name / the file in which it is created?
Thanks
Wolf

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread José Mejuto via Lazarus

El 10/02/2018 a las 18:51, Graeme Geldenhuys via Lazarus escribió:


     function    Screen_dpi: integer;
LCL-fpGUI probably only needs the last one. I don't believe non-X11 
platforms (eg: Windows) support varying dpi on the x and y axis.


Hello,

Yes that's the needed value, is the binding which is missing, not 
detected as I'm not using scaled applications.


It will be added in the next LCL-fpGUI update.

--

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Graeme Geldenhuys via Lazarus

On 2018-02-10 16:31, Ondrej Pokorny via Lazarus wrote:


Yes, sorry. I wasn't exact: LCL-fpGUI doesn't support it yet. The same 
goes for the develop branch, unfortunately: LCL-fpGUI cannot be compiled 
with it.


No worries, just checking if I understood what you meant.



What is missing in LCL-fpGUI binding: TMonitor.PixelsPerInch.


In fpGUI, you can grab that information from the global fpgApplication 
instance. That has been around for years, so both the 'maint' and 
'develop' branches have it.


functionScreen_dpi_x: integer;
functionScreen_dpi_y: integer;
functionScreen_dpi: integer;

LCL-fpGUI probably only needs the last one. I don't believe non-X11 
platforms (eg: Windows) support varying dpi on the x and y axis.



Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Ondrej Pokorny via Lazarus

On 10.02.2018 16:43, Graeme Geldenhuys via Lazarus wrote:

On 2018-02-10 09:42, Ondrej Pokorny via Lazarus wrote:

Disable Application.Scaled - fpGUI doesn't support it yet.


Is that for multi-DPI aware applications? If so, at least in the fpGUI 
'develop' branch there is built-in support for multi-DPI. So LCL-fpGUI 
might be able to hook into that functionality.


Yes, sorry. I wasn't exact: LCL-fpGUI doesn't support it yet. The same 
goes for the develop branch, unfortunately: LCL-fpGUI cannot be compiled 
with it.


What is missing in LCL-fpGUI binding: TMonitor.PixelsPerInch.

Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Graeme Geldenhuys via Lazarus

On 2018-02-10 09:42, Ondrej Pokorny via Lazarus wrote:

Disable Application.Scaled - fpGUI doesn't support it yet.


Is that for multi-DPI aware applications? If so, at least in the fpGUI 
'develop' branch there is built-in support for multi-DPI. So LCL-fpGUI 
might be able to hook into that functionality.


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Multi-resolution cursors don't work on Win

2018-02-10 Thread AlexeyT via Lazarus
 Sorry, it was duplicated cursors [one hi-dpi set and other set not 
hi-dpi, same INT values].

Solved.

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus Console text

2018-02-10 Thread Martin Frb via Lazarus

On 10/02/18 08:10, Wolf via Lazarus wrote:
What must I do to change font on the Lazarus console - not the Kubuntu 
console - to a monospace font, and how do I change font color there? 


You refer to the Console / "Terminal Output" from the menu View > Debug 
Windows?


There are currently no settings for this.

Source code (if you want to create a patch) is in 
debugger/pseudoterminaldlg.pp

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Ondrej Pokorny via Lazarus

On 10.02.2018 10:30, Gabor Boros via Lazarus wrote:

Hi All,

I want to try LCL-fpGUI. Followed the instructions from the below wiki 
page, a new project compiled successfully but got error at application 
start. If start from the IDE got SIGSEGV, if start from command line 
got "Access violation". I used Lazarus trunk (57276) and fpGUI's maint 
branch.


http://wiki.freepascal.org/fpGUI_Interface


Disable Application.Scaled - fpGUI doesn't support it yet.

Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Multi-resolution cursors don't work on Win

2018-02-10 Thread Ondrej Pokorny via Lazarus

What about LCL specific cursors. Are the scaled?

Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Gabor Boros via Lazarus

Hi All,

I want to try LCL-fpGUI. Followed the instructions from the below wiki 
page, a new project compiled successfully but got error at application 
start. If start from the IDE got SIGSEGV, if start from command line got 
"Access violation". I used Lazarus trunk (57276) and fpGUI's maint branch.


http://wiki.freepascal.org/fpGUI_Interface

Gabor
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Windres compiler not found by IDE

2018-02-10 Thread Michael Van Canneyt via Lazarus



On Sat, 10 Feb 2018, AlexeyT via Lazarus wrote:

atsynedit.pas(5691,1) Error: resource compiler "windres" not found, 
switching to external mode


I tried to change {$r nnn.res} to {$r nnn.rc} and got this. How to fix it?

Laz 1.9 trunk, FPC 3.0.2, Linux x64


You must install the necessary binutils for this.

On a debian based system:

sudo apt-get install mingw-w64
sudo ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres

Should do the trick.

Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Multi-resolution cursors don't work on Win

2018-02-10 Thread AlexeyT via Lazarus

Hi

CudaText app now has .cur files with multi resolition. each cursor has 3 
sizes (32x, 48x, 64x, ResourceHacker shows it in cudatext.exe)


But still Win10 hi-dpi mode (150%) don't use these new cursor sizes, ie 
middle mouse click - shows old 32x32 cursor resized (all 5 of them on 
mouse move- center/left/rt/up/dn). Laz 1.9, fpc 3.0.0 (cross compile 
from Lin x64).



--
Regards,
Alexey

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus