Re: [Lazarus] Running Lazarus in Lazarus

2018-03-03 Thread Mattias Gaertner via Lazarus
On Sat, 3 Mar 2018 10:04:46 +0100
Lubos Pintes via Lazarus  wrote:

> Hi,
> I think the file is malformed somehow. Yes, indeed it runs the default 
> Lazarus, but it is unable to build it. 

The lazarus.lpi does not contain the installed packages, so it cannot
build the IDE.
Use Tools / Build Lazarus to build Lazarus.


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


Re: [Lazarus] Running Lazarus in Lazarus

2018-03-03 Thread Lubos Pintes via Lazarus

Hi,
I think the file is malformed somehow. Yes, indeed it runs the default 
Lazarus, but it is unable to build it. Obviously, it would be impossible 
to rewrite the running program. So someone could possibly fix the 
lazarus.lpi.
So I renamed the Lazarus.exe, then opened the renamed IDE, pressed F9 
and the "Program not found" error appeared.

I then tried to build with Ctrl+F9, and the following was written:
The project's compiler options has no compile command.
See Project / Compiler Options ... / Compilation
So how can I fix this? Or can someone fix the lazarus.lpi?
Thanks!

Dňa 02.03.2018 o 15:05 Mattias Gaertner via Lazarus napísal(a):

On Fri, 2 Mar 2018 14:49:15 +0100
Lubos Pintes via Lazarus  wrote:


This is /ide/lazarus.lpi, where  is directory with
whole Lazarus repo right?


Yes, sorry.


Because my code I added there is not compiled. I added my files to
/interfaces/lcl.lpk.


Why did you add files to the LCL? That's quiet unusual.



When I build the IDE from tools menu, my
code is compiled. But when I open the above-mentioned project, it runs
but behaves differently.


Check Tools/ Options / Lazarus directory.
The lazarus.lpi runs the default lazarus.exe.

Mattias




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


Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Lubos Pintes via Lazarus

Hello,
I added my files to lcl.lpk, because I am developing an UI Automation 
support for LCL, Win32 WidgetSet more concretely. And all files from 
win32 directory are there, so I also added the UIA files there. That 
means into win32\ subdirectory and to the lcl.lpk.

Dňa 02.03.2018 o 15:05 Mattias Gaertner via Lazarus napísal(a):

On Fri, 2 Mar 2018 14:49:15 +0100
Lubos Pintes via Lazarus  wrote:


This is /ide/lazarus.lpi, where  is directory with
whole Lazarus repo right?


Yes, sorry.


Because my code I added there is not compiled. I added my files to
/interfaces/lcl.lpk.


Why did you add files to the LCL? That's quiet unusual.



When I build the IDE from tools menu, my
code is compiled. But when I open the above-mentioned project, it runs
but behaves differently.


Check Tools/ Options / Lazarus directory.
The lazarus.lpi runs the default lazarus.exe.

Mattias




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


Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Mattias Gaertner via Lazarus
On Fri, 2 Mar 2018 14:49:15 +0100
Lubos Pintes via Lazarus  wrote:

> This is /ide/lazarus.lpi, where  is directory with 
> whole Lazarus repo right?

Yes, sorry.

> Because my code I added there is not compiled. I added my files to 
> /interfaces/lcl.lpk.

Why did you add files to the LCL? That's quiet unusual.


> When I build the IDE from tools menu, my 
> code is compiled. But when I open the above-mentioned project, it runs 
> but behaves differently.

Check Tools/ Options / Lazarus directory.
The lazarus.lpi runs the default lazarus.exe.

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


Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Lubos Pintes via Lazarus
This is /ide/lazarus.lpi, where  is directory with 
whole Lazarus repo right?
Because my code I added there is not compiled. I added my files to 
/interfaces/lcl.lpk. When I build the IDE from tools menu, my 
code is compiled. But when I open the above-mentioned project, it runs 
but behaves differently.


Dňa 02.03.2018 o 13:45 Mattias Gaertner via Lazarus napísal(a):

On Fri, 2 Mar 2018 13:40:24 +0100
Lubos Pintes via Lazarus  wrote:


Hello,
Is it possible to run Lazarus as an application in IDE? I have a freeze
somewhere, (Windows 10's "not responding" addition in a title bar).
A --debug-log doesn't help me much, because it is not flushed.
I know how to rebuild IDE, but don't know how to run it so that it can
be debugged.


Open the lazarus\lazarus.lpi and run it.

Mattias




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


Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Mattias Gaertner via Lazarus
On Fri, 2 Mar 2018 13:40:24 +0100
Lubos Pintes via Lazarus  wrote:

> Hello,
> Is it possible to run Lazarus as an application in IDE? I have a freeze 
> somewhere, (Windows 10's "not responding" addition in a title bar).
> A --debug-log doesn't help me much, because it is not flushed.
> I know how to rebuild IDE, but don't know how to run it so that it can 
> be debugged.

Open the lazarus\lazarus.lpi and run it.

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