Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-01

New FPC 3.0 and Lazarus 1.4 Test Installer

17 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer with any other installations you already may have and is available for download here:

http://cache.codebot.org/lazarus/setup.exe

I will be creating Debian/Ubuntu and OSX install scripts in a day or two.

I've made a few minor changes.

1) Anchored design view is installed by default.
2) Some windows have had their tools minified and/or better aligned.
3) Some code editor defaults have been changed.

I'll also be hosting manual build instructions and all setup scripts on github after a round of testing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150112/5586eaef/attachment-0001.html>

Reply by email

Martin Frb
to Anthony Walter
Anthony Walter wrote
I forgot to add that I've built in cross compiler support for x86_64-win64, i386-linux, x86_64-linux, and arm-android, and the Lazarus environment has preconfigured builds modes for those targets.

What are the steps for the linux cross compile ? Are the cross bin utils available somewhere?
What are the changes to environment opts?

Reply by email

Anthony Walter
to Martin Frb

In Lazarus you select Project -> Project Options -> Compiler Options, then select from Win32 Debug, Win32 Release, Win64, Linux32, Linux64, or Android.

That's all you need to do for Windows 32/64 builds.

For the other targets, you'll need to download the platform specific libraries to complete a full compile (the linking stage).

You can get these from the pilotlogic downloads page:

http://www.pilotlogic.com/sitejoom/index.php/downloads/viewcategory/2-libraries

Place the contents of these files in your <test install location>\fpc\bin\i386-win32 folder

For Linux32 you need this file
<http://www.pilotlogic.com/sitejoom/index.php/downloads/viewdownload/2-libraries/132-i386-linux-7z> .
For Linux64 you need this file
<http://www.pilotlogic.com/sitejoom/index.php/downloads/viewdownload/2-libraries/133-x86-64-linux-7z> .

For Linux you will need to refer Lazarus to the Linux platform libraries for linking (Compiler Options -> Paths -> Libraries). These will be files such as gtk2.so if you are using the gtk2 widget set. The compiler will tell you which libraries you're missing.

For Android install the Android NDK and put its tools folder in your path, then refer Lazarus the NDK libs folder (Compiler Options -> Paths - Libraries). You'll also need to have the ant tool to bundle your compiled project as an apk,

These steps could be improved by someone, but as it is right now I don't think it makes sense to bloat up the compiler and IDE install with files for everything. I think what we (the community) need is an enhancement to Lazarus which will detect the first time a build fails due to missing tools or libraries, and at that point offers to download and configure them for you automatically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150112/1f02af40/attachment.html>

Reply by email

FreeMan
to Anthony Walter

will you add changeable fpc & lazarus install prefix? will you share scripts?

Anthony Walter wrote 10 lines
In Lazarus you select Project -> Project Options -> Compiler Options, then select from Win32 Debug, Win32 Release, Win64, Linux32, Linux64, or Android. That's all you need to do for Windows 32/64 builds. For the other targets, you'll need to download the platform specific libraries to complete a full compile (the linking stage).

Reply by email

Anthony Walter
to Anthony Walter: I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer…

This is a status update with new builds
Version 3.0.1.2

On Windows...

To install download and run the installer program
http://download.codebot.org/lazarus/setup.exe

- notes

a) Added full cross compiler support for all i386/x86_64 Windows and Linux targets. This means you can now cross build your applications to Linux while staying in Windows.

b) Synchronized the newest compiler and IDE sources between Windows and Linux. This means both the Windows and Linux versions are built from the same source and should (in theory) compile programs the same way.

On Linux:

To install open a terminal and run the following commands (you should read my comments first, link
https://github.com/sysrpl/Codebot.Setup/blob/master/linux/install.fpc-3.0.sh )

wget http://cache.codebot.org/lazarus/install.fpc-3.0.sh sh install.fpc-3.0.sh

- notes

a) Added a new universal Linux installer. It's a shell script which will build a new compiler and IDE from the same sources used on Windows. It might take more time to install than on Windows, but it should be compatible with many distros as long as they are using i386 or x86_64 architecture (requires testing).

I've also created a github repository where I am providing an record of this Free Pascal 3.0 and Lazarus 1.4 testing phase. It is located here:

http://github.com/sysrpl/Codebot.Setup

The github repository includes the Inno setup script which I'm using to build the Windows installer. It also contains a new Linux installer, and a diff file with the changes I'm made to the Lazarus IDE. Links below.

Let me know how well this works for you guys.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/a85aa5ce/attachment-0001.html>

Reply by email

FreeMan
to Anthony Walter

Thank you, I am waiting your osx script.

Anthony Walter wrote 53 lines
This is a status update with new builds Version 3.0.1.2 On Windows... To install download and run the installer program http://download.codebot.org/lazarus/setup.exe - notes a) Added full cross compiler support for all i386/x86_64 Windows and Linux targets. This means you can now cross build your applications to Linux while staying in Windows. b) Synchronized the newest compiler and IDE sources between Windows and Linux. This means both the Windows and Linux versions are built from the same source and should (in theory) compile programs the same way. On Linux: To install open a terminal and run the following commands (you should read my comments first, link https://github.com/sysrpl/Codebot.Setup/blob/master/linux/install.fpc-3.0.sh) wget http://cache.codebot.org/lazarus/install.fpc-3.0.sh sh install.fpc-3.0.sh <http://install.fpc-3.0.sh> - notes a) Added a new universal Linux installer. It's a shell script which will build a new compiler and IDE from the same sources used on Windows. It might take more time to install than on Windows, but it should be compatible with many distros as long as they are using i386 or x86_64 architecture (requires testing). I've also created a github repository where I am providing an record of this Free Pascal 3.0 and Lazarus 1.4 testing phase. It is located here: http://github.com/sysrpl/Codebot.Setup The github repository includes the Inno setup script which I'm using to build the Windows installer. It also contains a new Linux installer, and a diff file with the changes I'm made to the Lazarus IDE. Links below. Let me know how well this works for you guys. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/afb4645d/attachment.html>

Reply by email

Anthony Walter
to Anthony Walter: I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer…

Jy, I believe you replied to me and not the mailing list, so I'll repeat your message:

Hello Sir,

I have uninstalled everything from previous setup and deleted completely the directory C:\Development,
I downloaded your last setup as stated in your message 2 hours ago, and I have not added anything and I have not modified anything after the setup has completed,
Win32 -> Compile + Debug OK
Win64 -> Compile OK, but cannot debug (I was not able to debug Win64 either with previous setup), it may be an unsupported feature, Linux i386 -> Compile OK
Linux x64 provides a warning that was not displayed for Linux i386 Ultima.dpr(199,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure
Ultima.dpr(199,1) Warning: "crtendS.o" not found, this will probably cause a linking failure
the compilation completes successfully,
the 2 files mentioned in the warnings are not present in C:\Development\Freepascal\fpc\lib\x86_64-linux

by the way, you choice of including AnchorDocking is great and make defacto standard as it is also default in FPCUP,
so now Delphi and the different way to setup Lazarus provides the same experience for noob programmers who are used to switch between Delphi to Lazarus,
your choice of colors for the syntax highlighting editor are good, since there are very similar to the color we are used with Delphi, so transition is easier.

Thank you very much for your excellent job,

Regards, Jyv.

Thanks for the feedback Jy. Yes I know about the problem with not being able to debug 64bit builds, but for now I think we're going to have to live with it. It will require some fixes which might entail quite a bit of I'm not sure how to go about fixing it.

Regarding the Linux64 build mode warnings, I was able to reproduce it. I've located the missing files and put them in the appropriate folder, fixing the problem. They will be available with the next release.

Thank you for the feedback and for noticing the subtle styling changes I've made. I'll continue to do more work in this area as well as creating an OSX installer. Some of my changes to the layout and defaults are available in the diff file mentioned in my prior message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/f8466872/attachment.html>

Reply by email

Kostas Michalopoulos
to Anthony Walter

Well, for what is worth i prefer the floating windows and original Lazarus color scheme :-P.

I might change my mind once the form designer becomes itself dockable inside a tab alongside the code tabs, though, but right now for me it is a PITA to juggle the form designer and the rest of Lazarus when in docked mode.

Anthony Walter wrote 57 lines
Jy, I believe you replied to me and not the mailing list, so I'll repeat your message: Hello Sir, I have uninstalled everything from previous setup and deleted completely the directory C:\Development, I downloaded your last setup as stated in your message 2 hours ago, and I have not added anything and I have not modified anything after the setup has completed, Win32 -> Compile + Debug OK Win64 -> Compile OK, but cannot debug (I was not able to debug Win64 either with previous setup), it may be an unsupported feature, Linux i386 -> Compile OK Linux x64 provides a warning that was not displayed for Linux i386 Ultima.dpr(199,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure Ultima.dpr(199,1) Warning: "crtendS.o" not found, this will probably cause a linking failure the compilation completes successfully, the 2 files mentioned in the warnings are not present in C:\Development\Freepascal\fpc\lib\x86_64-linux by the way, you choice of including AnchorDocking is great and make defacto standard as it is also default in FPCUP, so now Delphi and the different way to setup Lazarus provides the same experience for noob programmers who are used to switch between Delphi to Lazarus, your choice of colors for the syntax highlighting editor are good, since there are very similar to the color we are used with Delphi, so transition is easier. Thank you very much for your excellent job, Regards, Jyv. Thanks for the feedback Jy. Yes I know about the problem with not being able to debug 64bit builds, but for now I think we're going to have to live with it. It will require some fixes which might entail quite a bit of I'm not sure how to go about fixing it. Regarding the Linux64 build mode warnings, I was able to reproduce it. I've located the missing files and put them in the appropriate folder, fixing the problem. They will be available with the next release. Thank you for the feedback and for noticing the subtle styling changes I've made. I'll continue to do more work in this area as well as creating an OSX installer. Some of my changes to the layout and defaults are available in the diff file mentioned in my prior message. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/ed56f94c/attachment.html>

Reply by email

Anthony Walter
to Kostas Michalopoulos

Kostas,

I agree, I'd also like to a docked form designer but that is likely something a long way off.

In the meantime, I'm not sure if you are aware, but a great new feature was added to Lazarus for docked mode recently and I urge you to try it out. This feature brings the form designer to the top whenever you touch a component on the palette. Additionally, I've pinned the visual layout tree above the object inspector for times when you want to set properties of already placed components. And finally, the quickly F12 key toggles between code editor and the form if you need that. I honestly hope you give the new feature a bit of a try before make a final judgement.

If after trying out this new feature you still prefer the floating Windows, it's simple to go back to the old layout.

Simply select "Package -> Install/Uninstall Packages" from the main menu, click on "AnchorDockingDsgn" in the left column (the first item), click "Uninstall Selection", and finally click "Save and rebuild the IDE". The IDE will rebuild itself momentarily and you will be back to the floating window layout.

This is the same process, but with different package names, for adding or removing any IDE enhancements, as well as installing/uninstalling components.

Regarding your concern of colors, you can set them to whatever you like. If you prefer the default Lazarus color scheme, right click in the editor and select "Options -> Colors", and switch to "Default" colors using the second button in the toolbar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/804c8cce/attachment.html>

Reply by email

Kostas Michalopoulos
to Anthony Walter

Yeah i know about that feature of the form designer, but it doesn't work with the object inspector (so, f.e, if i change align, glyph, style, font or anything else that will reflect in the form designer, it wont show up).

TBH i also like how the window looks like a window since most docked form designers either put some fake borders or they don't best docked form designer i've seen is the one that Xojo (ex RealBasic) uses, which tries to be as faithful to the native UI (under Linux it uses the default GNOME style) and is always centered (another annoying thing almost every single docked form designer is that if you maximize the IDE window, the form is shown at the top left area which especially in a big monitor like 1920x1080 or 2560x1440 can be very hard to edit).

BTW wasn't there some fork or something of Lazarus that added an embedded form designer? Why wasn't that backported to Lazarus?

Anthony Walter wrote 39 lines
Kostas, I agree, I'd also like to a docked form designer but that is likely something a long way off. In the meantime, I'm not sure if you are aware, but a great new feature was added to Lazarus for docked mode recently and I urge you to try it out. This feature brings the form designer to the top whenever you touch a component on the palette. Additionally, I've pinned the visual layout tree above the object inspector for times when you want to set properties of already placed components. And finally, the quickly F12 key toggles between code editor and the form if you need that. I honestly hope you give the new feature a bit of a try before make a final judgement. If after trying out this new feature you still prefer the floating Windows, it's simple to go back to the old layout. Simply select "Package -> Install/Uninstall Packages" from the main menu, click on "AnchorDockingDsgn" in the left column (the first item), click "Uninstall Selection", and finally click "Save and rebuild the IDE". The IDE will rebuild itself momentarily and you will be back to the floating window layout. This is the same process, but with different package names, for adding or removing any IDE enhancements, as well as installing/uninstalling components. Regarding your concern of colors, you can set them to whatever you like. If you prefer the default Lazarus color scheme, right click in the editor and select "Options -> Colors", and switch to "Default" colors using the second button in the toolbar. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150114/9cadd607/attachment-0001.html>

Reply by email

Samuel Herzog
to Anthony Walter: I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer…

Thank you!
Nice installer!

Run's fine on winxp sp3.
Sam
Von: Anthony Walter
An: Lazarus mailing list
Gesendet: 19:19 Montag, 12.Januar 2015
Betreff: [Lazarus] New FPC 3.0 and Lazarus 1.4 Test Installer

I've created a FPC 3.0 and Lazarus 1.4?test installer for Windows. It will not interfer with any other installations you already may have and is available for download here: http://cache.codebot.org/lazarus/setup.exe
I will be creating Debian/Ubuntu and OSX install scripts in a day or two. I've made a few minor changes.
1) Anchored design view is installed by default.2) Some windows have had their tools minified and/or better aligned.3) Some code editor defaults have been changed. I'll also be hosting manual build instructions and all setup scripts on github after a round of testing.

Reply by email

Kostas Michalopoulos
to Samuel Herzog

Well, there is this package:

http://lazplanet.blogspot.com/2013/03/run-lazarus-in-single-window.html

There was also a fork which was mentioned a few months here that seemed to have its own modifications for the form designer, but i cannot find it now.

Samuel Herzog wrote 46 lines
Thank you! Nice installer! Run's fine on winxp sp3. Sam ------------------------------ *Von:* Anthony Walter *An:* Lazarus mailing list *Gesendet:* 19:19 Montag, 12.Januar 2015 *Betreff:* [Lazarus] New FPC 3.0 and Lazarus 1.4 Test Installer I've created a FPC 3.0 and Lazarus 1.4 test installer for Windows. It will not interfer with any other installations you already may have and is available for download here: http://cache.codebot.org/lazarus/setup.exe I will be creating Debian/Ubuntu and OSX install scripts in a day or two. I've made a few minor changes. 1) Anchored design view is installed by default. 2) Some windows have had their tools minified and/or better aligned. 3) Some code editor defaults have been changed. I'll also be hosting manual build instructions and all setup scripts on github after a round of testing. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150115/e1f0799c/attachment.html>

Reply by email

Anthony Walter
to FreeMan: Thank you, I am waiting your osx script. -------------- next part -------------- An HTML…

This is a status update

I've created a universal OSX install script. It will check for required tools, such as xcode, and install all requirements for you.

This OSX version of FPC 3.0 and Lazarus 1.4 test includes cross compile support for OSX 32/64, Linux 32/64, and Windows 32/64 bit. With it you can compile a Linux or Windows graphical application on OSX, and copy one program file to Linux or Windows to use on those other platforms. Switch between the already configured build modes (in project options) to try out this feature. I'll try to bring this same functionality to the Linux and Windows setup versions soon.

To install open a terminal and run the following commands:

wget http://cache.codebot.org/lazarus/install.fpc-3.0.sh sh install.fpc-3.0.sh

- notes

a) You can move 'Lazarus 1.4 Test.app' anywhere and it will work correctly. You can move or copy it to the Applications folder if you like.

b) I've switched the OSX debugger to gdb-apple which will be installed to /opt/local/bin/gdb-apple. Never versions of OSX require that you manually code sign this program to allow it to attach to other processes. Instructions will be provided here (
http://lazarus.codebot.org/darwin/debugger) shortly. In the meantime you can google it.

Github project page:

https://github.com/sysrpl/Codebot.Setup#free-pascal-30-and-lazarus-14-test

OSX users please test and let me now if you encounter any problems. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150118/92b93789/attachment.html>

Reply by email

Anthony Walter
to Anthony Walter

IMPORTANT

I messed up the OSX terminal commands in my last message. They should be:

curl http://cache.codebot.org/lazarus/install.fpc-3.0.darwin.sh -o install.sh
sh install.sh

Here is an OSX install instructions bookmark:

https://github.com/sysrpl/Codebot.Setup#osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150118/09178df1/attachment.html>

Reply by email

Andreas Schneider
to Anthony Walter: I not aware of any embedded form designer that has existed for Lazarus. If anyone on the…
Anthony Walter wrote
I not aware of any embedded form designer that has existed for Lazarus. If anyone on the mailing lists know something about that, I'd love to learn something.

I presume kzDesktop is what you are looking for :-) http://sourceforge.net/projects/kzdesktop/

I also found that very awesome, but it doesn't work flawless for a few Lazarus releases :-/

Best regards,
Andreas

Reply by email