Re: [fpc-pascal] bug in make install ?
Notice also that when you cancel the InitialSetupDialog, the IDE raises an exception when closing down: LAZARUS END - cleaning up ... [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $0056EB8A TWINCONTROL__HANDLEALLOCATED, line 7442 of ./include/wincontrol.inc $0045493A TMAINIDE__SETTOOLSTATUS, line 3611 of main.pp $0044CF1C TMAINIDE__DESTROY, line 1648 of main.pp $0040FDA2 TOBJECT__FREE, line 336 of C:/devel/fpc/trunk/rtl/inc/objpas.inc TApplication.HandleException: EAccessViolation Access violation Stack trace: $0056EB8A TWINCONTROL__HANDLEALLOCATED, line 7442 of ./include/wincontrol.inc $0045493A TMAINIDE__SETTOOLSTATUS, line 3611 of main.pp $0044CF1C TMAINIDE__DESTROY, line 1648 of main.pp $0040FDA2 TOBJECT__FREE, line 336 of C:/devel/fpc/trunk/rtl/inc/objpas.inc TApplication.HandleException: Strange Exception Exception at 0056EB8A: EAccessViolation: Access violation. Stack trace: $0056EB8A TWINCONTROL__HANDLEALLOCATED, line 7442 of ./include/wincontrol.inc $0045493A TMAINIDE__SETTOOLSTATUS, line 3611 of main.pp $0044CF1C TMAINIDE__DESTROY, line 1648 of main.pp $0040FDA2 TOBJECT__FREE, line 336 of C:/devel/fpc/trunk/rtl/inc/objpas.inc Hint: (lazarus) [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE Hint: (lazarus) [TMainIDE.Destroy] END -- Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] bug in make install ?
On Sat, Mar 23, 2019 at 7:56 PM Bart wrote: > "Warning: Failed to retrieve the version of the fpcmkcfg configuration > tool. It is probably too old to create the configuration files. Make > sure a recent version is installed and available in the path or > alongside the compiler-executable." in TInitialSetupDialog.UpdateFppkgCandidates CheckPath('C:\PP', Result) calls CheckFppkgQuality, which for 'C:\PP' sets result to sddqCompatible (Minor error in the code: DirPathExistsCached(C:\PP\\fpmkinst)=True DirPathExistsCached(C:\PP\\units)=True Notice the double backslashes: we call DirPathExistsCached(LibPath+PathDelim+'fpmkinst') but 1 line above we already did: LibPath := IncludeTrailingPathDelimiter(LibPath); ) Then later in TInitialSetupDialog.CheckFpcmkcfgQuality TInitialSetupDialog.CheckFpcmkcfgQuality A FpcmkcfgExecutable=C:\pp\bin\i386-win32\fpcmkcfg.exe FileExistsUtf8(FpcmkcfgExecutable)=True Proc.Options := proc.Options + [poWaitOnExit,poUsePipes]; // Write fppkg.cfg Proc.Executable := FpcmkcfgExecutable; proc.Parameters.Add('-V'); proc.Execute; Error: proc.ExitStatus=1 C:\pp\bin\i386-win32>fpcmkcfg -h Usage: fpcmkcfg.exe [options] Where options is one or more of -t filename Template file name. Default is built-in -o filename Set output file. Default is standard output. -d name=value define name=value pair. -hshow this help and exit. -u name remove name from list of name/value pairs. -mshow builtin macros and exit. -bshow builtin template and exit. -sskip the creation of a backup-file. -pforce directory creation. -vbe verbose. -0use built in fpc.cfg template (default) -1use built in fp.cfg template -2use built in fp.ini template -3use built in fppkg.cfg template -4use built in fppkg default compiler template fpcmkcfg.exe does not support -V parameter fppkg.exe does support -V parameter and shows: Warning: The directory "C:\Users\Bart\AppData\Local\FreePascal\fppkg\config/conf.d\" of the include-mask "C:\Users\Bart\AppData\Local\FreePascal\fppkg\config/conf.d/*.conf" does not exist Version: 3.3.1 -- Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpdoc: what does the --marco parameter do?
Graeme Geldenhuys schrieb am Sa., 23. März 2019, 17:40: > On 23/03/2019 16:34, Graeme Geldenhuys wrote: > > I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus > > to step into the code other than the program unit's main code block. > > Got this part sorted - MSEide to the rescue! I set the exact same run > parameters (starting directory and --project=xyz run parameter) and > MSEide breaks and steps into the code without problem. > > What's up Lazarus?? > Maybe better ask that on the Lazarus list? 🤨 Regards, Sven > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] bug in make install ?
I installed fpctrunk from sources r41749 (make clean; make install). It resides in C:\PP I think it is not an unusual setup. I built lazarus trunk r60747 with it. Lazarus tells me: "Warning: Failed to retrieve the version of the fpcmkcfg configuration tool. It is probably too old to create the configuration files. Make sure a recent version is installed and available in the path or alongside the compiler-executable." But it (fpcmkcfg ) is there, in the same folder as the compiler: C:\pp\bin\i386-win32>dir fpcmkcfg.exe /b fpcmkcfg.exe C:\pp\bin\i386-win32>dir ppc386.exe /b ppc386.exe C:\pp\bin\i386-win32>dir fpc.exe /b fpc.exe And it is the current path: C:\pp\bin\i386-win32>path PATH=C:\pp\bin\i386-win32;C:\Program Files . So, at least this error message is wrong. The "Create new Fppkg configuration" is disabled. How to proceed from here? -- Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpdoc: what does the --marco parameter do?
On 23/03/2019 16:34, Graeme Geldenhuys wrote: > I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus > to step into the code other than the program unit's main code block. Got this part sorted - MSEide to the rescue! I set the exact same run parameters (starting directory and --project=xyz run parameter) and MSEide breaks and steps into the code without problem. What's up Lazarus?? 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] fpdoc: what does the --marco parameter do?
The FPDoc PDF documentation for 3.0.4 doesn't mention it at all. So maybe it is something for 3.2.0 and later only? I'm trying to debug fpdoc, but for the life of me, I can't get Lazarus to step into the code other than the program unit's main code block. I set the starting directory, I set the --project=myfile.xml as the run parameter, but still no luck. I'm running Linux if that matters. 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal