New: YUMI-exFAT (Nov 21, 2022), Platform 22.0.1 (Jul 21, 2022)
450+ real apps (49GB), 1 billion downloads, Please donate.
Thanks for that info wences. I will test that out when I get home.
Juan A Melendez
sqlite bug confirmed. Now, to debug...
Will update you very soon on my progress.
I take that back... The sqlite bug exists "out of the box" from a fresh install of the non-PortableApps version (latest download) from the Lazarus website. Not sure what got broken. I will report it to the Lazarus team.
Wences, exactly which version was working for you last?
Aparently, the latest version of sqlite that comes with Lazarus doesn't compile to dll. I've had success only by downloading the latest version of sqlite from here http://www.sqlite.org/sqlitedll-3_6_12.zip
...then copying the file to the startlazarus.exe root-folder (or to x:\windows\system32 folder).
Let me know if this helps in the meantime.
sorry for the slow response, I've been without internet connection at home.
Yeap, I had already figured out that I needed to drop the dll from sqlite's site in there. My problem was that I tried to install first the sqlitelaz package, and then the sqlite3laz one. And even though I droped the sqlite3.dll file along with lazarus.exe, it still was looking for sqlite.dll (for the sqlitelaz package, for sqlite 2.x). When I uninstalled the old package and compiled once again, it started working. With lazarus 0.9.26.2 (non-portable).
With the portable one (beta 1 and beta 2) I get an aditional message, before in finishes recompiling Lazarus' IDE. That's the one about the missing componenttreeview component. That's the "portable" bug I was trying to report. I wasn't even aware that the other one was also a bug. I thought it was just by design that you need to add the DLL. Zero experience with Lazarus as you can see...
Do you think it's just me having problems with that componenttreeview or can you confirm that one too?
Thanks for your help (and for the whole thing!):
I have heard of that bug in the non-portable version. I will try to reproduce the error and get back to you with an answer.
well... I would really appreciate that. I've got years with Delphi, but I'm completely new to Lazarus, and I'm finding it really hard to start out... (portable or non-portable).
Having it portable is a great incentive for switching to Lazarus. But I need Lazarus to work OK before it replaces Delphi.
Hopefully, we'll find a way to make this work and then I might even help you maintain the portable version.
I have been away on a short vacation. I've returned and will resume updates very soon.
Wences... I'm trying to reproduce your error for componenttreeview. Have you seen this bug on a freshly-installed Beta 5.2? It's important to me that this get resolved once and for all.
BTW: Apologies for the looong delay. I'm gotten hit with tons of one-on-one "how-do-i do this in Lazarus..." questions in my email box.
I don't remember if I've seen it on a fresh install, but I think yes. I'll see if I can test again tonight and let you know.
Any new bugs? ... Anyone?
Hello I don't know if this is something to worry about but when I started Lazarus after the portableapp installation it gave me this message:
El paquete "SdpoSerialLaz" está instalado pero se encontró un archivo de paquete (.lpk) no válido. Se ha creado un paquete vacío.
That's the original message in spanish (my native language). Translated in english would be something like:
The package "SdpoSerialLaz" it's already installed but there was found a not valid package (.lpk). There has been created an empty package
After that there is another message saying (I won't put it in spanish):
In the top of the message says: Registry error
Package: "SdpoSerialLaz 0.0"
Unit Name: "SdpoSerial"
Unit not found: "SdpoSerial"
Abort or ignore
I don't know if this error is specific for my language. I'm using Windows Vista 32bits. There's maybe an easy fix on that. Greetings
I can confirm that this error occurs in English, my copy of Lazarus as well.
It can be a lazarus problem, the error it's not so bad through, you can just ignore it. Anyways, I just wanted to thank to the person that make this wonderful program portable, and of course the lazarus team that made this great software.
Been AWOL for some time working on some commercial Lazarus & Linux Applications. Apologies.
Agroferia- Can you confirm first that you are using version Beta 5.2? I thought I fixed this issue. I might have missed something.
I will review the issue in the meantime.
I has download your software and I found a some bugs. In the last version, the code does no compiled, the program ends.
Portugal is cool.
I need more information in your report.
What was being compiled, what was the error, was a unit referenced, what version of Microsoft Windows are you using, etc.
this is the bug:
windres [option(s)] [input-file] [output-file]
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
Hint: Start of reading config file C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.2 [2009/03/11] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\temp\cgiproject1.lpr
Compiling resource C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\temp\cgiproject1.rc
Usage: C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input= Name input file
-o --output= Name output file
-J --input-format= Specify input format
-O --output-format= Specify output format
-F --target= Specify COFF target
--preprocessor= Program to use to preprocess rc file
-I --include-dir= Include directory when preprocessing rc file
-D --define [=] Define SYM when preprocessing rc file
-U --undefine Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-l --language= Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
cgiproject1.lpr(15,1) Error: Error while linking
cgiproject1.lpr(15,1) Fatal: There were 1 errors compiling module, stopping
OS : windows XP
3 also show message boxes which print screen is the link:
Hello again dicas3d,
Per the email I've sent you. (which I hope translated my response properly into your native language)...
I've seen this sort of error many times and for the most part seems to be related for the most part to the location of the source code files.
I'm not sure where in the Lazarus code their exists a "sensitivity" to spaces in the path-name of the files. If the path to the source contains spaces, compilation may break. One work-around is to save source code to a path with no spaces in the name.
Example: "C:\Documents and Settings\..." may break compilation
while..."C:\mysource\..." would work fine.
Please let me know if this helps in the mean-time.
Your advice does'nt work.
And my native language no is castilian but portuguese. How this languages is identicall I think by your name that you're spanish so hispnic, or ascendnt.
In this program I don't write any code.
Just tried this out for the first time. I have to say it is pretty darn cool! 8) Very reminiscent of Visual Basic with the advantage that you can create cross-platform apps, and that it's open source so you have all the advantages that come with that.
EDIT: How do I use the menu editor? It doesn't seem to do anything, there seems to be no way for me to create main menus in applications using the form builder and the menu editor. Where-ever I click, nothing happens.
Thanks for the comment and sorry for the delay. To use TMainMenu object, drop it onto your form, double-click on the object and you'll get the editor. From that point just right-click on the menu editor to add/delete/insert menu items etc. When you close the menu editor you can click on the items to insert your code.
I was made the upgrade to Lazarus 0.9.28.2.
If anyone want please tel me how I can upload somewhere. Or I will send via email to You.
Signature automatically removed for containing links
Lazarus is a really powerful IDE and I love it.
I programmed in Borland Delphi before.
Unfortunately the current version (0.9.30.2) is not available here.
I also want your version to be published as "official" portable app (that also is supported by the "Portable Apps Platform").
So Lazarus can be downloaded and updated by the "Portable Apps Platform".
Not 0.9.30.2 but at least 0.9.30. See here. This more recent Dev Test seems to be actively maintained.
Since 0.9.30.2 isn't even officially listed neither on the lazarus homepage nor as standard download from sourceforge (you have to look for it in the folders) this can be called up to date.
When or if it will become official - no one can tell for shure but John and I doubt he knows for now...
When I try to start Lazarus portable, even after a shutdown, I get the following error:
Lazarus Portable (PortableApps.com Launcher)
Another instance of Lazarus Portable is currently closing. Please wait for it to finish before launching it again.
I recently tried to un-mount my USB stick after closing all portable apps, and it kept saying there was something in use. Checked task manager and nothing was listed from my USB drive, so pulled it. I'm guessing this is the result. Can anyone advise how to resolve this issue?
Thanks and regards,
For those who experience this, find the file
PortableApps.comLauncherRuntimeData-LazarusPortable.ini in your Lazarus data directory. Open it in notepad or similar, and delete the line starting with:
Save and close, then try to run Lazarus again and it will start.
If you're experiencing this issue, don't just delete the status line, delete the entire file. Make sure Lazarus Portable is not trying to run first.
Thanks for the tip.
I'm interested in installing the GeckoComponents from http://wiki.lazarus.freepascal.org/GeckoPort
I load the package, click Compile (all good so far), then click Install and get a message saying Lazarus needs to rebuild and restart; I click OK.
Next the process stops with the message
..\ideintf\objectinspector.pp(48,59) Fatal: Can't find unit ComponentTreeView used by ObjectInspector
Noticed something similar was mentioned in this thread in relation to installing SQLite.
Dug around a bit and found the same issue on the Lazarus bug tracker:
Relating to Lazarus being installed in a read-only folder. Bugfix is set for version 0.9.31.
On the off chance, I removed the read-only property from the LazarusPortable subfolders and tried again. Still no luck.
I'm an old hand at Delphi, and totally new to Lazarus. I like the idea of a portable version, but want to be able to install components. Has anyone found a decent work around for this?