Re: [Lazarus] Lazarus on Odroid U3

2014-07-05 Thread Corpsman

Hello,
I am using Odroid too. I Update it via update.sh which was created by 
the people from lazarusforum.de


http://www.lazarusforum.de/viewtopic.php?f=3t=5520hilit=+update

But there is a problem with runnning the compiled program. Pressing F9 
or CTRL + F9 creates the binary, but the IDE then freezes partly, so 
that compiling again is impossible (F9 does not run the application, 
only compile).


I can run the created binary's without Lazarus and all is fine. = So 
the IDE has do be killed via x-kill after each compile. Can you 
reproduce this ?


Corpsman


On 07/04/2014 09:49 PM, Anthony Tekatch wrote:

On Tue, 01 Jul 2014 09:08:05 +0200, Reinier Olislagers 
reinierolislag...@gmail.com wrote:


On 01/07/2014 02:03, Anthony Tekatch wrote:

On Mon, 23 Jun 2014 08:28:57 +0200, Reinier Olislagers
reinierolislag...@gmail.com wrote:

 You could try installing that or perhaps compile using FPC
trunk (manually or using a tool like fpcup [warning: fpcup author
speaking ;)] see here
http://wiki.lazarus.freepascal.org/Odroid#Installing_FPC.2FLazarus_using_fpcup

I now have an Odroid U3 and am trying the instructions from your link
with the following error in fpcup.log:

snip

  [2014-07-01 09:20:58.097 Info] DownloadFromSVN: SVN gave error code 1
It seems fpcup cannot see the SVN repository. Is a simple fix?

Yes, it seems it finds the svn command but has problems downloading.

Try again would be my suggestion. You can also try the svn checkout
command manually in the relevant directory to see if that works.


The missing svn (from incomplete directory) was due to the disk size
being too small, I just had to enlarge as per leaflet that came with
odroid U3. I did not try to run the svn command from the command line
before I tried df -h to see 100% usage on that drive.

Next, locale was screwed up, fcpup --verbose showed this:
   svn: warning: cannot set LC_CTYPE locale
   svn: warning: environment variable LANG is en_CA.UTF-8
   svn: warning: please check that your locale name is correct
I had to do this:
   sudo locale-gen en_US.UTF-8

Next, there were some errors regarding Lazarus build:
  fpcup: info: Lazarus: buildmodulecustom: make/lazbuild returned error code 2
  Details:
  fpcup: info: Error running fpcup. Technical details: error executing sequence 
useride; line: 2, param: USERIDE
  fpcup: info: Error running fpcup. Technical details: error executing sequence 
Only; line: 5, param: useride
  FPCUp failed.
so I did a fpcup --clean then tried the standard command (from your link).

Lazarus is installed now.

Thanks,
Anthony
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--

Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie 
aktualisiert und erweitert. Da ist für jeden was dabei.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread leledumbo
The basic rule is that svn version should always be compilable with latest
release version, not necessarily previous ones.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Compiling-svn-Lazarus-on-Linux-windows-tp4037802p4037828.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread John Landmesser
thank you!!

Am Samstag, den 05.07.2014, 00:06 -0700 schrieb leledumbo:
 The basic rule is that svn version should always be compilable with latest
 release version, not necessarily previous ones.
 
 
 
 --
 View this message in context: 
 http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Compiling-svn-Lazarus-on-Linux-windows-tp4037802p4037828.html
 Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus on Odroid U3

2014-07-05 Thread Anthony Tekatch
On Sat, 05 Jul 2014 08:57:36 +0200, Corpsman corps...@web.de wrote:
 But there is a problem with runnning the compiled program. Pressing F9 
 or CTRL + F9 creates the binary, but the IDE then freezes partly, so 
 that compiling again is impossible (F9 does not run the application, 
 only compile).
 
 I can run the created binary's without Lazarus and all is fine. = So 
 the IDE has do be killed via x-kill after each compile. Can you 
 reproduce this ?

Also, I have a larger project that causes the IDE to restart constantly
as soon as the project is loaded. I have not tracked that problem down
yet. I just went back to a test project with one button and was able to
get that working fine. I will have to do more testing to narrow down the
offending part of my large project.

I used the instructions from here:
  http://wiki.lazarus.freepascal.org/Odroid#Installing_FPC.2FLazarus_using_fpcup
and this command to install Lazarus:
  ./fpcup_linux_armhf --inifile=fpcupodroid.ini --inisection=full --verbose

I had a problem where the IDE complained about:
  Lazarus error lclclasses.pp unit Classes not found
so I rebuilt Lazarus (Tools-Build Lazarus) and that seemed to help.


I'm still learning.

Anthony
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread Juha Manninen
On Thu, Jul 3, 2014 at 2:10 PM, John Landmesser jmlandmes...@gmail.com wrote:
 i can compile any svn version of lazarus on linux using fpc 2.6.2 but on
 windows i have(!!) to use fpc 2.6.4.

If you really need to use fpc 2.6.2, we can make it compile. What is
the error? Is it easy to fix using eg. IFDEFs? If you send a patch to
fix compilation, it will be applied.
On the other hand, updating to the latest FPC is generally a good idea.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GTK2 GroupBox auto size

2014-07-05 Thread Juha Manninen
I applied the patch from Henry. I hope we get LCL-Win fixed, too.
Zeljan, is it ok if LCL-QT gets the same change at some point?

And yes, Panels and Forms should logically behave the same way but
they are not urgent.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GTK2 GroupBox auto size

2014-07-05 Thread zeljko

On 07/05/2014 01:05 PM, Juha Manninen wrote:

I applied the patch from Henry. I hope we get LCL-Win fixed, too.
Zeljan, is it ok if LCL-QT gets the same change at some point?

And yes, Panels and Forms should logically behave the same way but
they are not urgent.


Don't know how it will behave. You should try to change it and see if it 
works. Especially grupboxes used by IDE.


z.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] GTK2 GroupBox auto size

2014-07-05 Thread Henry Vermaak
On Sat, Jul 05, 2014 at 02:05:10PM +0300, Juha Manninen wrote:
 I applied the patch from Henry. I hope we get LCL-Win fixed, too.

Thanks.  I'll look into lcl-win, it'll need a GetPreferredSize with
MeasureText and some more magic to take the borders into account.

Henry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus on Odroid U3

2014-07-05 Thread Anthony Tekatch

Note: I get the following warnings:
  Warning: crtbegin.o not found, this will probably cause a linking failure
  Warning: crtend.o not found, this will probably cause a linking failure

According to this posting, the warnings can be ignored:
  http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-June/081661.html

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread John Landmesser
Am Samstag, den 05.07.2014, 13:59 +0300 schrieb Juha Manninen:
 On Thu, Jul 3, 2014 at 2:10 PM, John Landmesser jmlandmes...@gmail.com 
 wrote:
  i can compile any svn version of lazarus on linux using fpc 2.6.2 but on
  windows i have(!!) to use fpc 2.6.4.
 
 If you really need to use fpc 2.6.2, we can make it compile. What is
 the error? Is it easy to fix using eg. IFDEFs? If you send a patch to
 fix compilation, it will be applied.
 On the other hand, updating to the latest FPC is generally a good idea.
 
 Juha
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



i don't know the error any more ... updated to fpc 2.6.4 that compiled
svn lazarus.

Just wondered about the differences between Win and Linux!



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread Juha Manninen
On Sat, Jul 5, 2014 at 5:21 PM, John Landmesser jmlandmes...@gmail.com wrote:
 Just wondered about the differences between Win and Linux!

Yes, Windows and Linux are different. :)

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] How do I tell codetools to use implicitly loaded unit for code complesion?

2014-07-05 Thread Michael Ring
On embedded targets a unit with the definition of the target (Registers, 
Interrupts, etc..) is implicitly loaded when fpc compiles the code.


Because of this Codetools does not seem to know about the definitions 
inside of this specific unit and code completion does not work.


When I implicitly add the unit to the uses line of my program then code 
completion works just fine but I cannot compile the code because I get a 
'Duplicate identifier' error because the unit is first implicitly loaded 
and then loaded again because it is part of uses


Is there a way that I can give a hint to codetools to also use this unit 
for code competion?


Thank you,

Michael

Example:

program hello;
uses
  pic32mx795f512h;

gives me code completion for all definitions made in pic32mx795f512h, 
but when I compile the program I get the following error:


Compile Project: Exit code 1, Errors:2, Hints:1
hello.pas(3,18) Error: Duplicate identifier PIC32MX795F512H
hello.pas(3,18) Error: Duplicate identifier PIC32MX795F512H
hello.pas(3,18) Hint: Identifier already defined in unit HELLO at line 2


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Compiling svn Lazarus on Linux/windows

2014-07-05 Thread leledumbo
John Landmesser-2 wrote
 Am Samstag, den 05.07.2014, 13:59 +0300 schrieb Juha Manninen:
 On Thu, Jul 3, 2014 at 2:10 PM, John Landmesser lt;

 jmlandmesser@

 gt; wrote:
  i can compile any svn version of lazarus on linux using fpc 2.6.2 but
 on
  windows i have(!!) to use fpc 2.6.4.
 
 If you really need to use fpc 2.6.2, we can make it compile. What is
 the error? Is it easy to fix using eg. IFDEFs? If you send a patch to
 fix compilation, it will be applied.
 On the other hand, updating to the latest FPC is generally a good idea.
 
 Juha
 
 --
 ___
 Lazarus mailing list
 

 Lazarus@.freepascal

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 
 
 
 i don't know the error any more ... updated to fpc 2.6.4 that compiled
 svn lazarus.
 
 Just wondered about the differences between Win and Linux!
 
 
 
 --
 ___
 Lazarus mailing list

 Lazarus@.freepascal

 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Core parts of RTL are written specifically for the target platform. Other
than that, everything should be the same.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Compiling-svn-Lazarus-on-Linux-windows-tp4037802p4037839.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Can't see (or set) border on TComboBox

2014-07-05 Thread Donald Ziesig

Hi All!

I just downloaded the latest Lazarus and FPC and now I can't get a combo 
box with a border :-( .


IIRC there used to be a way to select multiple border styles for 
TComboBox, but all I see now is:  BorderSpacing - 
(TControlBorderSpacing) and the resulting combo box has no visible border.


Am I missing something?

Thanks,

Don Ziesig


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus