View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038011 | Lazarus | Packages | public | 2020-10-29 18:02 | 2021-03-03 11:52 |
Reporter | Reiner Sombrowsky | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | PC | OS | Windows10 | ||
Product Version | 2.1 (SVN) | ||||
Summary | 0038011: Error when compiling a project group (was: Package: lazprojectgroups 0.7) | ||||
Description | Every project in an group can be compilation, but if I want compile the group complete this error is logged: Error: (lazarus) invalid Lazarus directory "": directory lcl not found | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
I cannot reproduce. I just created a project group and built it without problems. |
|
If I use a lazarus.cfg-file in the lazarus directory it works correctly, but if I use the param --primary-config-path in the commandline it does not work |
|
Then it must be a Windows issue. On my Linux I run : $ ./lazarus --pcp=~/.lazarus_test/ & I open the project group I had created and built it clean. No errors. Can others reproduce the error? |
|
I've tried with a cleanly compiled 2.1 IDE with a new configuration (added AnchorDockingDsgn and LazProjectGroups and rebuilt IDE) supplied with --pcp. I have created a project group with two new projects each of which I can compile correctly by itself. I can also correctly compile the currently open project of the project group, but when I compile the other I get the following error: Hint: (lazarus) [RunTool] "C:\lazarus\2.0.10\fpc\3.2.0\bin\x86_64-win64\fpc.exe" "-iWTOTP" Hint: (lazarus) [RunTool] "C:\lazarus\2.0.10\fpc\3.2.0\bin\x86_64-win64\fpc.exe" "-va" "compilertest.pas" Hint: (lazarus) [RunTool] "C:\lazarus\2.0.10\fpc\3.2.0\bin\x86_64-win64\fpc.exe" "-iWTOTP" "-Px86_64" "-Twin64" Hint: (lazarus) [RunTool] "C:\lazarus\2.0.10\fpc\3.2.0\bin\x86_64-win64\fpc.exe" "-va" "compilertest.pas" "-Px86_64" "-Twin64" $000000010005F775 DEBUGLNSTACK, line 891 of lazloggerbase.pas $000000010005D5C5 DEBUGLNSTACK, line 11 of LazLoggerImpl.inc $0000000100002640 ONIDEQUESTIONDIALOG, line 347 of lazbuild.lpr $0000000100362AA9 IDEQUESTIONDIALOG, line 131 of idedialogs.pas $0000000100113031 OPENINSTALLEDDEPENDENCY, line 6101 of ../packager/packagesystem.pas $0000000100101EEC LOADLAZARUSBASEPACKAGE, line 2224 of ../packager/packagesystem.pas $0000000100101D8A LOADSTATICBASEPACKAGES, line 2233 of ../packager/packagesystem.pas $000000010000618A INIT, line 1177 of lazbuild.lpr $000000010000424E BUILDPROJECT, line 913 of lazbuild.lpr Error: (lazbuild) Package-Konflikte The package "BuildIntf" is installed but no valid package file (.lpk) was found. A broken dummy package was created. LazBuild ist nicht interaktiv, es wird abgebrochen. The strange part is that it uses the fpc.exe from my 2.0.10 installation instead of the one I've set in settings which resides in C:\fpc\3.3.1\bin\x86_64-win64\fpc.exe |
|
Sven, it uses also Lazarus sources from 2.0.10. It explains the BuildIntf error. Why only Project Group triggers such an error, i don't know. AFAIK Project Group only switches an active project when compiling them. If you can switch and compile them manually, it should work with Project Groups, too. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-29 18:02 | Reiner Sombrowsky | New Issue | |
2020-10-29 18:27 | Bart Broersma | Summary | Package: lazprojectgroups 0.7 => Error when compiling a project group (was: Package: lazprojectgroups 0.7) |
2020-10-29 18:27 | Bart Broersma | LazTarget | => - |
2020-10-29 18:27 | Bart Broersma | Widgetset | Win32/Win64 => Win32/Win64 |
2020-10-29 19:34 | Juha Manninen | Product Version | => 2.1 (SVN) |
2020-10-29 19:34 | Juha Manninen | Widgetset | Win32/Win64 => Win32/Win64 |
2020-10-31 16:12 | Juha Manninen | Note Added: 0126681 | |
2020-11-08 09:44 | Reiner Sombrowsky | Note Added: 0126786 | |
2020-11-09 12:59 | Juha Manninen | Note Added: 0126812 | |
2020-11-14 18:19 | Sven Barth | Note Added: 0126939 | |
2021-02-28 14:25 | Juha Manninen | Note Added: 0129234 | |
2021-03-03 11:52 | Juha Manninen | Note Edited: 0129234 | View Revisions |