[MSEide-MSEgui-talk] Compiling

2014-04-11 Thread Med Hamza
Hi Martin,
   I am porting my prj files from  windows XP (licence expired) to xubuntu

at the beginning of compile time I have the following error:

 Free Pascal Compiler version 2.6.4 [2014/03/03] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling pp.pas
PPU Loading /usr/lib/mseide-msegui/units/lib/common/kernel/msegui.ppu
Recompiling msegui, checksum changed for System
pp.pas(8,2) Fatal: Can't find unit msegui used by pp


*Fatal: Compilation aborted*

What that means ?


M. Hamza
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] compiling

2014-04-27 Thread Med Hamza
Hi there,
I have the following error when I build my new project

mdb.pas(25,44) Fatal: Can't find unit maskutils used by mdb

Rem:
option make directory
1. ${MSELIBDIR}kernel/$TARGETOSDIR
2. I am using ubuntu.

thank you.
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-11 Thread Patrick Goupell

Where did you get the linux version of msegui from?

Try deleting all .ppu and .o files in your project and then do a Project 
-> Build.



On 04/11/2014 05:26 PM, Med Hamza wrote:

Hi Martin,
   I am porting my prj files from  windows XP (licence expired) to 
xubuntu


at the beginning of compile time I have the following error:

 Free Pascal Compiler version 2.6.4 [2014/03/03] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling pp.pas
PPU Loading /usr/lib/mseide-msegui/units/lib/common/kernel/msegui.ppu
Recompiling msegui, checksum changed for System
pp.pas(8,2) Fatal: Can't find unit msegui used by pp


*Fatal: Compilation aborted*

What that means ?


M. Hamza


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Patrick Goupell

Are you free?  Find out at http://www.sedm.org/
Income taxes?  Find out at http://www.whatistaxed.com

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-11 Thread Martin Schreiber
On Friday 11 April 2014 23:26:12 Med Hamza wrote:
> Hi Martin,
>I am porting my prj files from  windows XP (licence expired) to xubuntu
>
> at the beginning of compile time I have the following error:
>
>  Free Pascal Compiler version 2.6.4 [2014/03/03] for i386
> Copyright (c) 1993-2014 by Florian Klaempfl and others
> Target OS: Linux for i386
> Compiling pp.pas
> PPU Loading /usr/lib/mseide-msegui/units/lib/common/kernel/msegui.ppu
> Recompiling msegui, checksum changed for System
> pp.pas(8,2) Fatal: Can't find unit msegui used by pp
>
Is "pp.pas" your program file?
If the suggestion from Patrick does not help try to install MSEide+MSEgui in 
your home directory as described here:
http://mseide-msegui.sourceforge.net/

Martin

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Med Hamza
Same error

Here mse  config

FPCDIR   /usr/lib/mseide-msegui/
FPCLIBDIR  /usr/lib/fpc/2.6.4/units/i386-linux/
MSEDIR  /home/astein/mseide-msegui/
MSELIBDIR ${MSEDIR}lib/common/

..

compiler ppc386
TARGET   i386-linux
TARGETOSDIR linux

Best Regards


2014-04-12 5:58 GMT+01:00 Martin Schreiber :

> On Friday 11 April 2014 23:26:12 Med Hamza wrote:
> > Hi Martin,
> >I am porting my prj files from  windows XP (licence expired) to
> xubuntu
> >
> > at the beginning of compile time I have the following error:
> >
> >  Free Pascal Compiler version 2.6.4 [2014/03/03] for i386
> > Copyright (c) 1993-2014 by Florian Klaempfl and others
> > Target OS: Linux for i386
> > Compiling pp.pas
> > PPU Loading /usr/lib/mseide-msegui/units/lib/common/kernel/msegui.ppu
> > Recompiling msegui, checksum changed for System
> > pp.pas(8,2) Fatal: Can't find unit msegui used by pp
> >
> Is "pp.pas" your program file?
> If the suggestion from Patrick does not help try to install MSEide+MSEgui
> in
> your home directory as described here:
> http://mseide-msegui.sourceforge.net/
>
> Martin
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Med Hamza
 I did  Project --> New   (default template)  with only One window and  I
had the same error when compiling.
I do not know where to search ??

Best Regards.


2014-04-12 14:06 GMT+01:00 Martin Schreiber :

> On Saturday 12 April 2014 14:41:57 Med Hamza wrote:
> > Same error
> >
> > Here mse  config
> >
> > FPCDIR   /usr/lib/mseide-msegui/
> > FPCLIBDIR  /usr/lib/fpc/2.6.4/units/i386-linux/
> > MSEDIR  /home/astein/mseide-msegui/
> > MSELIBDIR ${MSEDIR}lib/common/
> >
> Please check 'Project'-'Options'-'Make'-'Directories', it should for
> example
> look as in attachment. If you compile with -vt FPC lists where it searches
> and loads files, maybe it helps to find the problem.
>
> Martin
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Patrick Goupell

Where did you get the version of mseide-msegui that you are using?




On 04/12/2014 10:13 AM, Med Hamza wrote:
 I did  Project --> New   (default template)  with only One window 
and  I had the same error when compiling.

I do not know where to search ??

Best Regards.


2014-04-12 14:06 GMT+01:00 Martin Schreiber >:


On Saturday 12 April 2014 14:41:57 Med Hamza wrote:
> Same error
>
> Here mse  config
>
> FPCDIR   /usr/lib/mseide-msegui/
> FPCLIBDIR  /usr/lib/fpc/2.6.4/units/i386-linux/
> MSEDIR  /home/astein/mseide-msegui/
> MSELIBDIR ${MSEDIR}lib/common/
>
Please check 'Project'-'Options'-'Make'-'Directories', it should
for example
look as in attachment. If you compile with -vt FPC lists where it
searches
and loads files, maybe it helps to find the problem.

Martin


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk




--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Patrick Goupell

Are you free?  Find out at http://www.sedm.org/
Income taxes?  Find out at http://www.whatistaxed.com

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Med Hamza
I got this version from http://msegui.org/content/download

Files Linux 32 bit Format:  tar.gz


2014-04-12 15:17 GMT+01:00 Patrick Goupell :

>  Where did you get the version of mseide-msegui that you are using?
>
>
>
>
>
> On 04/12/2014 10:13 AM, Med Hamza wrote:
>
>   I did  Project --> New   (default template)  with only One window and
> I had the same error when compiling.
>  I do not know where to search ??
>
>  Best Regards.
>
>
> 2014-04-12 14:06 GMT+01:00 Martin Schreiber :
>
>> On Saturday 12 April 2014 14:41:57 Med Hamza wrote:
>> > Same error
>> >
>> > Here mse  config
>> >
>> > FPCDIR   /usr/lib/mseide-msegui/
>> > FPCLIBDIR  /usr/lib/fpc/2.6.4/units/i386-linux/
>> > MSEDIR  /home/astein/mseide-msegui/
>> > MSELIBDIR ${MSEDIR}lib/common/
>> >
>>  Please check 'Project'-'Options'-'Make'-'Directories', it should for
>> example
>> look as in attachment. If you compile with -vt FPC lists where it searches
>> and loads files, maybe it helps to find the problem.
>>
>> Martin
>>
>>
>> --
>> Put Bad Developers to Shame
>> Dominate Development with Jenkins Continuous Integration
>> Continuously Automate Build, Test & Deployment
>> Start a new project now. Try Jenkins in the cloud.
>> http://p.sf.net/sfu/13600_Cloudbees
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>>
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the 
> cloud.http://p.sf.net/sfu/13600_Cloudbees
>
>
>
> ___
> mseide-msegui-talk mailing 
> listmseide-msegui-talk@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
> --
> Patrick Goupell
>
> Are you free?  Find out at http://www.sedm.org/
> Income taxes?  Find out at http://www.whatistaxed.com
>
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Patrick Goupell

On 04/12/2014 02:20 PM, Med Hamza wrote:
> I got this version from http://msegui.org/content/download
>
> Files Linux 32 bit Format:  tar.gz
>
>

The version you downloaded was compiled with fpc 2.6.2.

I see fro a previous post that you have fpc 2.6.4.

I would suggest that you download the source code for meide-msegui and 
compile it.  Follow the instructinos from here: 
http://mseide-msegui.sourceforge.net/

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Med Hamza
Many thanks for your help

Now I have Fatal: Can't find unit xlib used by mseguiintf

and I have this unit in /usr/lib/fpc/2.6.4/units/i386-linux/x11
(xlib.o and xlib.ppu)


2014-04-12 20:21 GMT+01:00 Patrick Goupell :

>
> On 04/12/2014 02:20 PM, Med Hamza wrote:
> > I got this version from http://msegui.org/content/download
> >
> > Files Linux 32 bit Format:  tar.gz
> >
> >
>
> The version you downloaded was compiled with fpc 2.6.2.
>
> I see fro a previous post that you have fpc 2.6.4.
>
> I would suggest that you download the source code for meide-msegui and
> compile it.  Follow the instructinos from here:
> http://mseide-msegui.sourceforge.net/
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Ivanko B
Now I have Fatal: Can't find unit xlib used by mseguiintf
=
It's usually a problem of configuration mixing between FPC versions
and/or MSEgui units compliled by different FPC versions.

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-12 Thread Patrick Goupell

On 04/12/2014 04:58 PM, Med Hamza wrote:
> Many thanks for your help
>
> Now I have Fatal: Can't find unit xlib used by mseguiintf
>
> and I have this unit in /usr/lib/fpc/2.6.4/units/i386-linux/x11
> (xlib.o and xlib.ppu)

Do you have the x11 development libraries installed on your distro?

On debian it is x11lib-dev, I don't know what it would be on a fedora 
system.

Patrick

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Compiling

2014-04-13 Thread Med Hamza
.

On my disto (xubuntu) x11 dev library is "libx11"
and I deleted a hiden old config file of fpc in home directory.

Thanks for your tip-off

2014-04-12 23:05 GMT+01:00 Patrick Goupell :

>
> On 04/12/2014 04:58 PM, Med Hamza wrote:
> > Many thanks for your help
> >
> > Now I have Fatal: Can't find unit xlib used by mseguiintf
> >
> > and I have this unit in /usr/lib/fpc/2.6.4/units/i386-linux/x11
> > (xlib.o and xlib.ppu)
>
> Do you have the x11 development libraries installed on your distro?
>
> On debian it is x11lib-dev, I don't know what it would be on a fedora
> system.
>
> Patrick
>
>
> --
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling

2014-04-27 Thread Martin Schreiber
On Sunday 27 April 2014 19:57:06 Med Hamza wrote:
> Hi there,
> I have the following error when I build my new project
>
> mdb.pas(25,44) Fatal: Can't find unit maskutils used by mdb
>
The unit is in
/usr/lib/fpc/2.6.4/units/i386-linux/fcl-base/maskutils.ppu

> Rem:
> option make directory
> 1. ${MSELIBDIR}kernel/$TARGETOSDIR
> 2. I am using ubuntu.
>
Please read the thread "bug in ubuntu 14_04"
http://thread.gmane.org/gmane.comp.ide.mseide.user/30839

Martin

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] compiling c files

2016-02-09 Thread che fou
Hi
is it possible to compile c files inside mseide ? .

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread Patrick Goupell
I am on a debian squeeze system and have an app that I want to see how 
it looks in windows.

I changed the target under the Settings menu option but got this error:

Fatal: Can't find unit windows used by msesysintf1

So obviously there are other things that need to be done to compile for 
windows.

What are they?  Are they documented somewhere?

Thank you.

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-09 Thread Martin Schreiber
On Wednesday 10 February 2016 08:45:02 che fou wrote:
> Hi
> is it possible to compile c files inside mseide ? .
>
Yes, MSEide can be used for building gcc projects.
I normally set up a make file and call make or a make script 
in 'Project'-'Make'-'Make Program'.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread che fou
thatks , is that mean i can't using fpc and gcc in the same project ?.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread Martin Schreiber
On Wednesday 10 February 2016 09:16:02 che fou wrote:
> thatks , is that mean i can't using fpc and gcc in the same project ?.
>
You can use fpc and gcc in the same project. Setup the make script 
accordingly.

Martin

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread che fou
thanks

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread IvankoB for-mse
1) You should change settings for fpc & mse dirs, the compiler & the debugger
2) You should rebuild the project not to run
3) the FPC config file should be correct as to used units - check it
with a small test FPC project

2011/12/1, Patrick Goupell :
> I am on a debian squeeze system and have an app that I want to see how
> it looks in windows.
>
> I changed the target under the Settings menu option but got this error:
>
> Fatal: Can't find unit windows used by msesysintf1
>
> So obviously there are other things that need to be done to compile for
> windows.
>
> What are they?  Are they documented somewhere?
>
> Thank you.
>
> --
> Patrick Goupell
>
> Income taxes?  See this http://www.truthattack.org or this
> http://www.whatistaxed.com
>
>
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread Patrick Goupell
I'm sorry but your reply leaves me as lost as I was before.


On 11/30/2011 04:46 PM, IvankoB for-mse wrote:
> 1) You should change settings for fpc&  mse dirs, the compiler&  the debugger
>
My 'Settings' menu option has the following:
{$FPCDIR}  empty, no setting
{$FPCLIBDIR}empty, no setting
{$MSEDIR} /data/mseide/
{$MSELIBDIR}   {$MSEDIR}lib/common/
{$SYNTAXDEFDIR} {MSEDIR}apps/ide/syntaxdefs/
{$TEMPLATEDIR}  {$MSEDIR}apps/ide/templates/
{$COMPSTOEDIR} {$MSEDIR}appts/compstore/
{$COMPILER}   fpc386
{$DEBUGGER} gdb
{$EXEEXT}   exe
{$TARGET}  i386-win32
Print command   lpr -


Which ones do I change?
What do I change it to?
Is this the only place I need to make changes?

> 2) You should rebuild the project not to run
> 3) the FPC config file should be correct as to used units - check it
> with a small test FPC project
>
> 2011/12/1, Patrick Goupell:
>
>> I am on a debian squeeze system and have an app that I want to see how
>> it looks in windows.
>>
>> I changed the target under the Settings menu option but got this error:
>>
>> Fatal: Can't find unit windows used by msesysintf1
>>
>> So obviously there are other things that need to be done to compile for
>> windows.
>>
>> What are they?  Are they documented somewhere?
>>
>> Thank you.
>>
>> --
>> Patrick Goupell
>>
>> Income taxes?  See this http://www.truthattack.org or this
>> http://www.whatistaxed.com
>>
>>
>> --
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> ___
>> mseide-msegui-talk mailing list
>> mseide-msegui-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>>
>>  
> --
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
>
>

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread IvankoB
>> 1) You should change settings for fpc&  mse dirs, the compiler&  the  
>> debugger
>>
> My 'Settings' menu option has the following:
> {$FPCDIR}  empty, no setting
> {$FPCLIBDIR}empty, no setting
> {$MSEDIR} /data/mseide/
> {$MSELIBDIR}   {$MSEDIR}lib/common/
> {$SYNTAXDEFDIR} {MSEDIR}apps/ide/syntaxdefs/
> {$TEMPLATEDIR}  {$MSEDIR}apps/ide/templates/
> {$COMPSTOEDIR} {$MSEDIR}appts/compstore/
> {$COMPILER}   fpc386
> {$DEBUGGER} gdb
> {$EXEEXT}   exe
> {$TARGET}  i386-win32
> Print command   lpr -
>
>
> Which ones do I change?
> What do I change it to?
> Is this the only place I need to make changes?
>

Me guess for this layout, the "/data/mseide/" one to smth like  
"/:/data/mseide/".


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread Martin Schreiber
On 11/30/2011 10:07 PM, Patrick Goupell wrote:
> I am on a debian squeeze system and have an app that I want to see how 
> it looks in windows.
> 
> I changed the target under the Settings menu option but got this error:
> 
> Fatal: Can't find unit windows used by msesysintf1
> 
> So obviously there are other things that need to be done to compile for 
> windows.
> 
You need a FPC Linux-Windows cross compiler, Windows binutils and what
not... Never done my self. Please search the FPC Wiki and other FPC
resources for the matter.
Possibly easier to install FPC and MSEide+MSEgui on Windows and compile
there.

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-11-30 Thread IvankoB
> Please search the FPC Wiki and other FPC
> resources for the matter.

"freepascal.org" provides links to win-32 setup packages.


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Graeme Geldenhuys
On 1 December 2011 08:23, Martin Schreiber wrote:
>
> You need a FPC Linux-Windows cross compiler, Windows binutils and what
> not... Never done my self. Please search the FPC Wiki and other FPC
> resources for the matter.

Correct, I did this just the other day. I used my 64bit Linux MSEide
to compile a Win32 MSEide. I followed the instructions on how to
compile and setup a linux-windows FPC cross compiler. Then simply
changed the COMPILER setting in MSEide, and specified the CPU and
TARGET in my project options. I had to specify CPU because I run a
64-bit Linux FPC and wanted a 32-bit Windows executable (not 64bit
Windows).


> Possibly easier to install FPC and MSEide+MSEgui on Windows and compile
> there.

This tends to be the easier setup indeed. Simply use VirtualBox with a
Windows install.


-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell


On 12/01/2011 03:53 AM, Graeme Geldenhuys wrote:
> On 1 December 2011 08:23, Martin Schreiber wrote:
>
>> You need a FPC Linux-Windows cross compiler, Windows binutils and what
>> not... Never done my self. Please search the FPC Wiki and other FPC
>> resources for the matter.
>>  
> Correct, I did this just the other day. I used my 64bit Linux MSEide
> to compile a Win32 MSEide. I followed the instructions on how to
> compile and setup a linux-windows FPC cross compiler. Then simply
> changed the COMPILER setting in MSEide, and specified the CPU and
> TARGET in my project options. I had to specify CPU because I run a
> 64-bit Linux FPC and wanted a 32-bit Windows executable (not 64bit
> Windows).
>
>
>
Do you have a link to the instructions you followed.
>> Possibly easier to install FPC and MSEide+MSEgui on Windows and compile
>> there.
>>  
> This tends to be the easier setup indeed. Simply use VirtualBox with a
> Windows install.
>
>
>
I will also try a windows setup to comple it.

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Graeme Geldenhuys
On 1 December 2011 14:28, Patrick Goupell  wrote:
>>
> Do you have a link to the instructions you followed.


http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux


I also attached the script I used to do the actual compiling. I used
the latest stable FPC (2.4.5) to compile a 2.5.1 (soon to be 2.6.0
release) cross-compiler for win32.


The FPC BuildFAQ document also explains the cross-compiler setup, but
this is more difficult to follow.

-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net


start-stable32-crosswin32
Description: Binary data
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell

Thank you.  I will give it a try.

On 12/01/2011 08:04 AM, Graeme Geldenhuys wrote:

On 1 December 2011 14:28, Patrick Goupell  wrote:
   
   

Do you have a link to the instructions you followed.
 


http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux


I also attached the script I used to do the actual compiling. I used
the latest stable FPC (2.4.5) to compile a 2.5.1 (soon to be 2.6.0
release) cross-compiler for win32.


The FPC BuildFAQ document also explains the cross-compiler setup, but
this is more difficult to follow.

   



--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
   


--
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell
I download and installed the free pascal compiler on windows xp.

Downloaded and installed the windows installer of msegui.

Copied my project folder from linux to wineows.

Started msegui and opened my project.

Did a build and then F9 to run it.

Got an error code 217 (unhandled exception).  But at least I am making 
some progress.

Any suggestions on how to troubleshoot the problem?

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell


On 12/01/2011 12:12 PM, Patrick Goupell wrote:
> I download and installed the free pascal compiler on windows xp.
>
> Downloaded and installed the windows installer of msegui.
>
> Copied my project folder from linux to wineows.
>
> Started msegui and opened my project.
>
> Did a build and then F9 to run it.
>
> Got an error code 217 (unhandled exception).  But at least I am making
> some progress.
>
> Any suggestions on how to troubleshoot the problem?
>
>

I am getting the following error when I open the project:

Error reading sgDisplay.datacols.items:  Component "mainfo";
Error reading tstringcols.valuefalse: Unknown proerty: "valuefalse"

Any ideas what this is?

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell


On 12/01/2011 12:21 PM, Patrick Goupell wrote:
>
> On 12/01/2011 12:12 PM, Patrick Goupell wrote:
>
>> I download and installed the free pascal compiler on windows xp.
>>
>> Downloaded and installed the windows installer of msegui.
>>
>> Copied my project folder from linux to wineows.
>>
>> Started msegui and opened my project.
>>
>> Did a build and then F9 to run it.
>>
>> Got an error code 217 (unhandled exception).  But at least I am making
>> some progress.
>>
>> Any suggestions on how to troubleshoot the problem?
>>
>>
>>  
> I am getting the following error when I open the project:
>
> Error reading sgDisplay.datacols.items:  Component "mainfo";
> Error reading tstringcols.valuefalse: Unknown proerty: "valuefalse"
>
> Any ideas what this is?
>
>
I downloaded the msegui package from the msegui.org website.  It is 
version 2.5 unstable.

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell


On 12/01/2011 12:32 PM, Patrick Goupell wrote:
>
> On 12/01/2011 12:21 PM, Patrick Goupell wrote:
>
>> On 12/01/2011 12:12 PM, Patrick Goupell wrote:
>>
>>  
>>> I download and installed the free pascal compiler on windows xp.
>>>
>>> Downloaded and installed the windows installer of msegui.
>>>
>>> Copied my project folder from linux to wineows.
>>>
>>> Started msegui and opened my project.
>>>
>>> Did a build and then F9 to run it.
>>>
>>> Got an error code 217 (unhandled exception).  But at least I am making
>>> some progress.
>>>
>>> Any suggestions on how to troubleshoot the problem?
>>>
>>>
>>>
>>>
>> I am getting the following error when I open the project:
>>
>> Error reading sgDisplay.datacols.items:  Component "mainfo";
>> Error reading tstringcols.valuefalse: Unknown proerty: "valuefalse"
>>
>> Any ideas what this is?
>>
>>
>>  
> I downloaded the msegui package from the msegui.org website.  It is
> version 2.5 unstable.
>
>
copied the mseide source from linux to windows.  Tried to compile it in 
msegui but failed.

Will try to compile mseide at the command line.



Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Martin Schreiber
On 12/01/2011 06:32 PM, Patrick Goupell wrote:
> 
>> I am getting the following error when I open the project:
>>
>> Error reading sgDisplay.datacols.items:  Component "mainfo";
>> Error reading tstringcols.valuefalse: Unknown proerty: "valuefalse"
>>
>> Any ideas what this is?
>>
tstringcols.valuefalse is a new property, your MSEide binary does not
know it. It is possible to compile the new MSEide with the old anyway,
click 'File'-'Close all', press F9, the new MSEide will be compiled and
runs.
>>
> I downloaded the msegui package from the msegui.org website.  It is 
> version 2.5 unstable.
> 
Please use the original source:
http://gitorious.org/mseide-msegui
Install git, run
git clone git://gitorious.org/mseide-msegui/mseide-msegui.git

I don't know the msegui package from the msegui.org website.

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Sieghard
Hallo Martin,

Du schriebst am Thu, 01 Dec 2011 07:23:41 +0100:

> You need a FPC Linux-Windows cross compiler, Windows binutils and what
> not... Never done my self. Please search the FPC Wiki and other FPC

It's not so difficult by far. Although I did that just once yet, it was
very simple - sure, you need the Windows FPC libraries from the Windows
compiler package, but you don't even need a special compiler. If I remember
that correctly, all that was needed above the libraries - and a fpc.cfg
file that referenced them correctly - was the switch to tell fpc for what
architecture to compile. (In fact, I didn't even use a special fpc.cfg, as
I simply referenced the pertinent libraries directly).
BTW, I found the compile statements again, they're quite similar:

Linux:
#!/bin/bash

ppc386 -o/home/users/MSE-IDE/BCS/BCS
-Fu/usr/lib/MSE-IDE/lib/common/kernel/i386-linux/
-Fu/usr/lib/MSE-IDE/lib/common/kernel/
-Fi/usr/lib/MSE-IDE/lib/common/kernel/
-Fu/usr/lib/MSE-IDE/lib/common/*/ -l -Mobjfpc -Sh -gl
/home/users/MSE-IDE/BCS/BCS.pas

Windows:
#!/bin/bash

ppc386 -B -Twin32 -o/home/users/MSE-IDE/BCS/BCS.exe
-Fu/usr/lib/MSE-IDE/lib/common/kernel/i386-win32/
-Fu/usr/lib/MSE-IDE/lib/common/kernel/
-Fi/usr/lib/MSE-IDE/lib/common/kernel/
-Fu/usr/lib/MSE-IDE/lib/common/*/ -l -Mobjfpc -Sh
/home/users/MSE-IDE/BCS/BCS.pas

(All on one line respectively, of course.)
The source didn't even need system specific conditionals, but it didn't
refer to system specific functions either. When using network or device
access, this will probabely be needed, but should be restricted to just a
few places. For simple file processing, even interactively, it should
compile right away.

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Patrick Goupell


On 12/01/2011 01:55 PM, Sieghard wrote:
> Hallo Martin,
>
> Du schriebst am Thu, 01 Dec 2011 07:23:41 +0100:
>
>
>> You need a FPC Linux-Windows cross compiler, Windows binutils and what
>> not... Never done my self. Please search the FPC Wiki and other FPC
>>  
> It's not so difficult by far. Although I did that just once yet, it was
> very simple - sure, you need the Windows FPC libraries from the Windows
> compiler package, but you don't even need a special compiler. If I remember
> that correctly, all that was needed above the libraries - and a fpc.cfg
> file that referenced them correctly - was the switch to tell fpc for what
> architecture to compile. (In fact, I didn't even use a special fpc.cfg, as
> I simply referenced the pertinent libraries directly).
> BTW, I found the compile statements again, they're quite similar:
>
> Linux:
> #!/bin/bash
>
> ppc386 -o/home/users/MSE-IDE/BCS/BCS
>  -Fu/usr/lib/MSE-IDE/lib/common/kernel/i386-linux/
>  -Fu/usr/lib/MSE-IDE/lib/common/kernel/
>  -Fi/usr/lib/MSE-IDE/lib/common/kernel/
>  -Fu/usr/lib/MSE-IDE/lib/common/*/ -l -Mobjfpc -Sh -gl
>  /home/users/MSE-IDE/BCS/BCS.pas
>
> Windows:
> #!/bin/bash
>
> ppc386 -B -Twin32 -o/home/users/MSE-IDE/BCS/BCS.exe
>  -Fu/usr/lib/MSE-IDE/lib/common/kernel/i386-win32/
>  -Fu/usr/lib/MSE-IDE/lib/common/kernel/
>  -Fi/usr/lib/MSE-IDE/lib/common/kernel/
>  -Fu/usr/lib/MSE-IDE/lib/common/*/ -l -Mobjfpc -Sh
>  /home/users/MSE-IDE/BCS/BCS.pas
>
> (All on one line respectively, of course.)
> The source didn't even need system specific conditionals, but it didn't
> refer to system specific functions either. When using network or device
> access, this will probabely be needed, but should be restricted to just a
> few places. For simple file processing, even interactively, it should
> compile right away.
>
>
Thank you for the additional info.

I have successfully copied the current msegui source to windows and 
compiled it.

I then built and tested my app.

It works.  Connects to the mysql database server and retrieves data.

I will give the cross compile method a try later.  For now this method 
works and is acceptable to me.

-- 
Patrick Goupell

Income taxes?  See this http://www.truthattack.org or this 
http://www.whatistaxed.com


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling for windows

2011-12-01 Thread Martin Schreiber
On 12/01/2011 08:09 PM, Patrick Goupell wrote:
> 
> 
> 
> I have successfully copied the current msegui source to windows and 
> compiled it.
> 
> I then built and tested my app.
> 
> It works.  Connects to the mysql database server and retrieves data.
> 
Congrats! MSEide+MSEgui rocks. ;-)

Martin

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-06 Thread Geoffrey Barton
I have been trying to compile the git master version natively on an ARM cortex 
A9 quad core processor running Ubuntu 14.04. The FPC compiler is 2.6.2 armhf.
1   the compilation fails in msedynload.pas in 'get8087cw' and 'set8087CW'. 
I commented these out as they should not be needed. Presumably they need a CPU 
type flag somewhere.
2   the compilation then fails in msebufdataset.pas at line 188 with 
'Fatal: Syntax error, "OF" expected but ":" found'
I cannot see anything wrong with that part of the code.

Has anybody any idea, or indeed succeeded in compiling for armhf (or even 
armel)?

Geoffrey
--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-06 Thread Martin Schreiber
On Thursday 06 November 2014 16:29:16 Geoffrey Barton wrote:
> I have been trying to compile the git master version natively on an ARM
> cortex A9 quad core processor running Ubuntu 14.04. The FPC compiler is
> 2.6.2 armhf. 1the compilation fails in msedynload.pas in 'get8087cw' 
> and
> 'set8087CW'. I commented these out as they should not be needed. Presumably
> they need a CPU type flag somewhere. 2the compilation then fails in
> msebufdataset.pas at line 188 with 'Fatal: Syntax error, "OF" expected but
> ":" found' I cannot see anything wrong with that part of the code.
>
> Has anybody any idea, or indeed succeeded in compiling for armhf (or even
> armel)?
>
It has been reported that it is possible to run MSEgui applications on 
ARM-Linux:
http://thread.gmane.org/gmane.comp.ide.mseide.user/8846/focus=8929
I try to setup a cross compiling environment and check myself.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-06 Thread Martin Schreiber
On Thursday 06 November 2014 17:53:29 Martin Schreiber wrote:

> It has been reported that it is possible to run MSEgui applications on
> ARM-Linux:
> http://thread.gmane.org/gmane.comp.ide.mseide.user/8846/focus=8929

Sorry, correct link
http://thread.gmane.org/gmane.comp.ide.mseide.user/8846/focus=8928

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Martin Schreiber
On Thursday 06 November 2014 16:29:16 Geoffrey Barton wrote:
> I have been trying to compile the git master version natively on an ARM
> cortex A9 quad core processor running Ubuntu 14.04. The FPC compiler is
> 2.6.2 armhf. 1the compilation fails in msedynload.pas in 'get8087cw' 
> and
> 'set8087CW'. I commented these out as they should not be needed. Presumably
> they need a CPU type flag somewhere. 2the compilation then fails in
> msebufdataset.pas at line 188 with 'Fatal: Syntax error, "OF" expected but
> ":" found' I cannot see anything wrong with that part of the code.
>
> Has anybody any idea, or indeed succeeded in compiling for armhf (or even
> armel)?
>
MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for me 
with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails because of 
missing libraries I need to build or find first.
Please report your results, I assume your system has all necessary libraries.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Martin Schreiber
On Friday 07 November 2014 13:13:10 Martin Schreiber wrote:
>
> MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for me
> with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails because of
> missing libraries I need to build or find first.
> Please report your results, I assume your system has all necessary
> libraries.
>
Linking is OK too.

Martin



--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Geoffrey Barton

On 7 Nov 2014, at 14:11, Martin Schreiber  wrote:

> On Friday 07 November 2014 13:13:10 Martin Schreiber wrote:
>> 
>> MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for me
>> with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails because of
>> missing libraries I need to build or find first.
>> Please report your results, I assume your system has all necessary
>> libraries.

I did not get as far as linking, but I think the libs are there; fpgui compiles 
ok on the target and it makes similar use of X11.

Any suggestions what to try? I can try cross-compiling and run the result on 
the ARM if you tell me how you built 2.6.5 and how I git the relevant git 
master.

rgds,
Geoffrey



>> 
> Linking is OK too.
> 
> Martin
> 
> 
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Martin Schreiber
On Friday 07 November 2014 15:42:02 Geoffrey Barton wrote:
> On 7 Nov 2014, at 14:11, Martin Schreiber  wrote:
> > On Friday 07 November 2014 13:13:10 Martin Schreiber wrote:
> >> MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for
> >> me with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails
> >> because of missing libraries I need to build or find first.
> >> Please report your results, I assume your system has all necessary
> >> libraries.
>
> I did not get as far as linking, but I think the libs are there; fpgui
> compiles ok on the target and it makes similar use of X11.
>
> Any suggestions what to try?

Use MESIDE+MSEGUI current git master 
(14c7c80b507147bf2ad9661540c215faac621afe+). ;-)
It was necessary to rename "flags" to "logflag" then it compiled. Probably an 
FPC bug.

> I can try cross-compiling and run the result 
> on the ARM if you tell me how you built 2.6.5 and how I git the relevant
> git master.
>
MSEide+MSEgui git master version is here:
https://gitorious.org/mseide-msegui/mseide-msegui
I had the same compile error in msebufdataset.pas with FPC 2.6.5 as you with 
2.6.2 so maybe it compiles now.
Please ask again if you still need to know how to cross compile.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Geoffrey Barton

On 7 Nov 2014, at 16:18, Martin Schreiber  wrote:

> On Friday 07 November 2014 15:42:02 Geoffrey Barton wrote:
>> On 7 Nov 2014, at 14:11, Martin Schreiber  wrote:
>>> On Friday 07 November 2014 13:13:10 Martin Schreiber wrote:
 MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for
 me with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails
 because of missing libraries I need to build or find first.
 Please report your results, I assume your system has all necessary
 libraries.
>> 
>> I did not get as far as linking, but I think the libs are there; fpgui
>> compiles ok on the target and it makes similar use of X11.
>> 
>> Any suggestions what to try?
> 
> Use MESIDE+MSEGUI current git master 
> (14c7c80b507147bf2ad9661540c215faac621afe+). ;-)
> It was necessary to rename "flags" to "logflag" then it compiled. Probably an 
> FPC bug.
> 
>> I can try cross-compiling and run the result 
>> on the ARM if you tell me how you built 2.6.5 and how I git the relevant
>> git master.
>> 
> MSEide+MSEgui git master version is here:
> https://gitorious.org/mseide-msegui/mseide-msegui
> I had the same compile error in msebufdataset.pas with FPC 2.6.5 as you with 
> 2.6.2 so maybe it compiles now.

I tried the flag->logflag change, but the compilation failed on another file.
I tried 2.7.1 as I already had it there, but this gave out a sea of unicode 
string problems and errored out in cwstring.pas.

I will try again with a 2.6.5 tomorrow.

rgds,
Geoffrey

> Please ask again if you still need to know how to cross compile.
> 
> Martin
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Martin Schreiber
On Friday 07 November 2014 17:58:46 Geoffrey Barton wrote:
>
> I tried the flag->logflag change, but the compilation failed on another
> file. I tried 2.7.1 as I already had it there, but this gave out a sea of
> unicode string problems and errored out in cwstring.pas.
>
Do you use MSEide+MSEgui git master version 
14c7c80b507147bf2ad9661540c215faac621afe? If not clone the repo with 
"
git clone git://gitorious.org/mseide-msegui/mseide-msegui.git
"
or
"
git clone https://gitorious.org/mseide-msegui/mseide-msegui.git
"
and use this MSEide+MSEgui version, I fixed all ARM compiling errors.
If you don't want to use git, click on the 'Download' button in
https://gitorious.org/mseide-msegui/mseide-msegui/source
in order to get a tar.gz archive of the fixed MSEide+MSEgui source.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-07 Thread Geoffrey Barton

On 7 Nov 2014, at 18:15, Martin Schreiber  wrote:

> On Friday 07 November 2014 17:58:46 Geoffrey Barton wrote:
>> 
>> I tried the flag->logflag change, but the compilation failed on another
>> file. I tried 2.7.1 as I already had it there, but this gave out a sea of
>> unicode string problems and errored out in cwstring.pas.
>> 
> Do you use MSEide+MSEgui git master version 
> 14c7c80b507147bf2ad9661540c215faac621afe? If not clone the repo with 
> "
> git clone git://gitorious.org/mseide-msegui/mseide-msegui.git
> "
> or
> "
> git clone https://gitorious.org/mseide-msegui/mseide-msegui.git
> "
> and use this MSEide+MSEgui version, I fixed all ARM compiling errors.

I see, I was relying on yesterday's git master, not thinking you had fixed it!

I will try again and report back.

rgds,
Geoffrey

> If you don't want to use git, click on the 'Download' button in
> https://gitorious.org/mseide-msegui/mseide-msegui/source
> in order to get a tar.gz archive of the fixed MSEide+MSEgui source.
> 
> Martin
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-09 Thread Geoffrey Barton

On 7 Nov 2014, at 18:15, Martin Schreiber  wrote:

> On Friday 07 November 2014 17:58:46 Geoffrey Barton wrote:
>> 
>> I tried the flag->logflag change, but the compilation failed on another
>> file. I tried 2.7.1 as I already had it there, but this gave out a sea of
>> unicode string problems and errored out in cwstring.pas.
>> 
> Do you use MSEide+MSEgui git master version 
> 14c7c80b507147bf2ad9661540c215faac621afe? If not clone the repo with 
> "
> git clone git://gitorious.org/mseide-msegui/mseide-msegui.git
> "
> or
> "
> git clone https://gitorious.org/mseide-msegui/mseide-msegui.git
> "
> and use this MSEide+MSEgui version, I fixed all ARM compiling errors.

I see, I was relying on yesterday's git master, not thinking you had fixed it!

I will try again and report back.

rgds,
Geoffrey

> If you don't want to use git, click on the 'Download' button in
> https://gitorious.org/mseide-msegui/mseide-msegui/source
> in order to get a tar.gz archive of the fixed MSEide+MSEgui source.
> 
> Martin
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-09 Thread Martin Schreiber
On Friday 07 November 2014 17:58:46 Geoffrey Barton wrote:

> I tried the flag->logflag change, but the compilation failed on another
> file. I tried 2.7.1 as I already had it there, but this gave out a sea of
> unicode string problems and errored out in cwstring.pas.
>
FPC trunk is not supported yet. I wait until it has been more stabilised. I 
don't want to be the one who does the debugging, I was very opposed to the 
implementation of codepage aware ansistrings. ;-)

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Geoffrey Barton

On 9 Nov 2014, at 14:55, Martin Schreiber  wrote:

> On Friday 07 November 2014 17:58:46 Geoffrey Barton wrote:
> 
>> I tried the flag->logflag change, but the compilation failed on another
>> file. I tried 2.7.1 as I already had it there, but this gave out a sea of
>> unicode string problems and errored out in cwstring.pas.
>> 
> FPC trunk is not supported yet. I wait until it has been more stabilised. I 
> don't want to be the one who does the debugging, I was very opposed to the 
> implementation of codepage aware ansistrings. ;-)

I have now tried with fpc 2.6.2 on your git master and it fails on "Can't find 
unit xlib used by mseguiintf"
Apt-get does not seem to recognise 'xlib', is there another alias?

I have not been able to build fpc 2.6 fixes. There is some conflict between it 
and the armhf 2.6.2 I have been using, but I am not competent to debug it, I 
think 2.6 fixes are coming up as armel and it does not recognise some vfp 
operations. (rfs and wfs).

rgds,
Geoffrey

> 
> Martin
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Martin Schreiber
On Monday 10 November 2014 16:28:43 Geoffrey Barton wrote:

> I have now tried with fpc 2.6.2 on your git master and it fails on "Can't
> find unit xlib used by mseguiintf" Apt-get does not seem to recognise
> 'xlib', is there another alias?
>
libx11-dev. But xlib means the FPC unit packages/x11/src/xlib.pp, the compiled 
unit is //x11/xlib.ppu

> I have not been able to build fpc 2.6 fixes. There is some conflict between
> it and the armhf 2.6.2 I have been using, but I am not competent to debug
> it, I think 2.6 fixes are coming up as armel and it does not recognise some
> vfp operations. (rfs and wfs).
>
FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with FPC 
2.6.2.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Geoffrey Barton

On 10 Nov 2014, at 15:49, Martin Schreiber  wrote:

> On Monday 10 November 2014 16:28:43 Geoffrey Barton wrote:
> 
>> I have now tried with fpc 2.6.2 on your git master and it fails on "Can't
>> find unit xlib used by mseguiintf" Apt-get does not seem to recognise
>> 'xlib', is there another alias?
>> 
> libx11-dev. But xlib means the FPC unit packages/x11/src/xlib.pp, the 
> compiled 
> unit is //x11/xlib.ppu

yes, of course. 
I think the fpc 2.6.2 installation got corrupted when I tried to build 
2.6fixes. It does not seem to use the fpc.cfg anymore.

running fpc with a few -Fu and wildcards fixed that.

> 
>> I have not been able to build fpc 2.6 fixes. There is some conflict between
>> it and the armhf 2.6.2 I have been using, but I am not competent to debug
>> it, I think 2.6 fixes are coming up as armel and it does not recognise some
>> vfp operations. (rfs and wfs).
>> 
> FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with FPC 
> 2.6.2.

I got as far as this:-
Assembling msegraphutils
msestrings.pas(1285,23) Error: Incompatible type for arg no. 2: Got 
"UnicodeString", expected "Pointer"

rgds,
Geoffrey

sorry for the duplication, I sent this from the wrong account again.

> 
> Martin
> 
> --
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Martin Schreiber
On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:
>
> I got as far as this:-
> Assembling msegraphutils
> msestrings.pas(1285,23) Error: Incompatible type for arg no. 2: Got
> "UnicodeString", expected "Pointer"
>
With which FPC version?

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Martin Schreiber
On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:

> > FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with
> > FPC 2.6.2.
>
I just tested MSEide+MSEgui with FPC 2.6.2, it compiles and works.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-10 Thread Geoffrey Barton

On 11 Nov 2014, at 05:51, Martin Schreiber  wrote:

> On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:
>> 
>> I got as far as this:-
>> Assembling msegraphutils
>> msestrings.pas(1285,23) Error: Incompatible type for arg no. 2: Got
>> "UnicodeString", expected "Pointer"
>> 
> With which FPC version?

2.6.2 armhf downloaded from Ubuntu repository

> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 06:23, Martin Schreiber  wrote:

> On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:
> 
>>> FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with
>>> FPC 2.6.2.
>> 
> I just tested MSEide+MSEgui with FPC 2.6.2, it compiles and works.

I can compile it on i386 ubuntu 14.04 with fpc 2.6.4 , but not on ubuntu 14.04 
2.6.2 armhf.

> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 09:11:02 Geoffrey Barton wrote:
> On 11 Nov 2014, at 06:23, Martin Schreiber  wrote:
> > On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:
> >>> FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with
> >>> FPC 2.6.2.
> >
> > I just tested MSEide+MSEgui with FPC 2.6.2, it compiles and works.
>
> I can compile it on i386 ubuntu 14.04 with fpc 2.6.4 , but not on ubuntu
> 14.04 2.6.2 armhf.
>
Strange that a ppc386 2.6.2 compiles and a ppcarm 2.6.2 produces the
"
msestrings.pas(1285,23) Error: Incompatible type for arg no. 2: 
Got "UnicodeString", expected "Pointer"
" error.
Are you sure you use FPC 2.6.2 and there are no old *.ppu files which disturb 
the compiler? Please use -B parameter or better delete all *.ppu and *.o 
files.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 09:07, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 09:11:02 Geoffrey Barton wrote:
>> On 11 Nov 2014, at 06:23, Martin Schreiber  wrote:
>>> On Monday 10 November 2014 22:43:31 Geoffrey Barton wrote:
> FPC 2.6.4 is OK too and AFAIK current MSEide+MSEgui still compiles with
> FPC 2.6.2.
>>> 
>>> I just tested MSEide+MSEgui with FPC 2.6.2, it compiles and works.
>> 
>> I can compile it on i386 ubuntu 14.04 with fpc 2.6.4 , but not on ubuntu
>> 14.04 2.6.2 armhf.
>> 
> Strange that a ppc386 2.6.2 compiles and a ppcarm 2.6.2 produces the
> "
> msestrings.pas(1285,23) Error: Incompatible type for arg no. 2: 
> Got "UnicodeString", expected "Pointer"
> " error.

very frustrating. It runs on i386 and shows the potential of your development 
and I just need to be able to run it on an armhf board to justify spending time 
on it.

> Are you sure you use FPC 2.6.2 and there are no old *.ppu files which disturb 
> the compiler? Please use -B parameter or better delete all *.ppu and *.o 
> files.
> 

Yes, I see. I deleted the complete mseide-msegui folder and re-cloned it. It 
failed in a different place:-

fpc 2.6.2 armhf:

"msegraphicstream.pas(30,14) Error: There is no method in an ancestor class to 
be overridden: "tmsefpmemoryimage.assign(tpersistent);""

Geoffrey



> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 10:35:08 Geoffrey Barton wrote:
> fpc 2.6.2 armhf:
>
> "msegraphicstream.pas(30,14) Error: There is no method in an ancestor class
> to be overridden: "tmsefpmemoryimage.assign(tpersistent);""
>
Try now again without -B, possibly several times, FPC unit loading is not 
perfect...
If it does not help please check if the error message it is true.
tmsefpmemoryimage inherits from tpersistent which is defined as:
"
  tpersistent = class(TObject{,IFPObserved})
 [...]
  public
Destructor Destroy; override;
procedure Assign(Source: tpersistent); virtual;
function  GetNamePath: string; virtual; {dynamic;}
  end;
" so it seems to be OK.
BTW, which program are you trying to compile? MSEide? In your own programs 
there must be "mclasses" listed after "classes" in "uses" clause.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 09:58, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 10:35:08 Geoffrey Barton wrote:
>> fpc 2.6.2 armhf:
>> 
>> "msegraphicstream.pas(30,14) Error: There is no method in an ancestor class
>> to be overridden: "tmsefpmemoryimage.assign(tpersistent);""
>> 
> Try now again without -B, possibly several times, FPC unit loading is not 
> perfect...

ouch!

In this case it is reproducible.

> If it does not help please check if the error message it is true.
> tmsefpmemoryimage inherits from tpersistent which is defined as:
> "
>  tpersistent = class(TObject{,IFPObserved})
> [...]
>  public
>Destructor Destroy; override;
>procedure Assign(Source: tpersistent); virtual;
>function  GetNamePath: string; virtual; {dynamic;}
>  end;
> " so it seems to be OK.

yes, I checked that.
BTW There was a similar error listed for 'assignto' in line 31 as well.

> BTW, which program are you trying to compile? MSEide?

I was following the instructions in the mseide-msegui package 'readme' as that 
worked on the i386:-

"Compiling MSEide from commandline on Linux and FreeBSD:
fpc -Fulib/common/* -Fulib/common/kernel/linux apps/ide/mseide.pas"


Geoffrey

> In your own programs 
> there must be "mclasses" listed after "classes" in "uses" clause.
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 11:20:39 Geoffrey Barton wrote:
>
> yes, I checked that.
> BTW There was a similar error listed for 'assignto' in line 31 as well.
>
/lib/common/fpccompatibility/fpimage.ppu should be loaded instead of 
//units//fpimage.ppu. Please check with -vu if it is 
OK.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 10:48, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 11:20:39 Geoffrey Barton wrote:
>> 
>> yes, I checked that.
>> BTW There was a similar error listed for 'assignto' in line 31 as well.
>> 
> /lib/common/fpccompatibility/fpimage.ppu should be loaded instead of 
> //units//fpimage.ppu. Please check with -vu if it is 
> OK.
> 

no, it is loading /usr/lib/fpc/2.6.2/units/arm-linux/fcl-image/fpimage.ppu

how do I stop it doing that?

Geoffrey


> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 11:59:36 Geoffrey Barton wrote:
> On 11 Nov 2014, at 10:48, Martin Schreiber  wrote:
> > On Tuesday 11 November 2014 11:20:39 Geoffrey Barton wrote:
> >> yes, I checked that.
> >> BTW There was a similar error listed for 'assignto' in line 31 as well.
> >
> > /lib/common/fpccompatibility/fpimage.ppu should be loaded instead
> > of //units//fpimage.ppu. Please check with -vu if
> > it is OK.
>
> no, it is loading /usr/lib/fpc/2.6.2/units/arm-linux/fcl-image/fpimage.ppu
>
> how do I stop it doing that?
>
IMO "fpc -Fulib/common/*" should find 
/lib/common/fpccompatibility/fpimage.ppu. Is it actually there?
Please compile with -vt in order to check where it searches units.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 11:08, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 11:59:36 Geoffrey Barton wrote:
>> On 11 Nov 2014, at 10:48, Martin Schreiber  wrote:
>>> On Tuesday 11 November 2014 11:20:39 Geoffrey Barton wrote:
 yes, I checked that.
 BTW There was a similar error listed for 'assignto' in line 31 as well.
>>> 
>>> /lib/common/fpccompatibility/fpimage.ppu should be loaded instead
>>> of //units//fpimage.ppu. Please check with -vu if
>>> it is OK.
>> 
>> no, it is loading /usr/lib/fpc/2.6.2/units/arm-linux/fcl-image/fpimage.ppu
>> 
>> how do I stop it doing that?
>> 
> IMO "fpc -Fulib/common/*" should find 
> /lib/common/fpccompatibility/fpimage.ppu. Is it actually there?
> Please compile with -vt in order to check where it searches units.

what seems to happen is that it searches the fpc unit path first. I have 
stopped that by putting the fpc path after the -Fulib/common/* in the fpc 
command line

it now loads fpimage from fpccompatibility, and fails at:-

msedb.pas(2822,10) Error: Identifier not found "eiconv"
msedb.pas(2822,17) Error: class type expected, but got ""
msedb.pas(9122) Fatal: There were 2 errors compiling module, stopping


Geoffrey
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote:
> it now loads fpimage from fpccompatibility, and fails at:-
>
> msedb.pas(2822,10) Error: Identifier not found "eiconv"
> msedb.pas(2822,17) Error: class type expected, but got ""
> msedb.pas(9122) Fatal: There were 2 errors compiling module, stopping
>
lib/common/kernel/linux/cwstring.pas should be loaded instead of the FPC unit 
cwstring.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 11:57, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote:
>> it now loads fpimage from fpccompatibility, and fails at:-
>> 
>> msedb.pas(2822,10) Error: Identifier not found "eiconv"
>> msedb.pas(2822,17) Error: class type expected, but got ""
>> msedb.pas(9122) Fatal: There were 2 errors compiling module, stopping
>> 
> lib/common/kernel/linux/cwstring.pas should be loaded instead of the FPC unit 
> cwstring.
> 

I have now looked through both the i386 and arm listings using -vt and 
corrected the fpc.cfg on the arm machine to be the same as the i386.

The compilation now completes, however running the app mseide fails:-

An unhandled exception occurred at $000DA6CC :
EReadError : Error reading sysenv.defs: Access violation
  $000DA6CC
  $000D946C
  $000CCEF0
  $000B6578
  $000D9058
  $000D9544
  $000CCEF0
  $000B6578
  $001DB660
  $000DB640
  $000B0140
  $000B2288
  $000B1EF8
  $000B235C
  $001DB07C
  $001DAE18
  $000AFF48

if I run it as root I get:-

An unhandled exception occurred at $0008355C :
egui : Can not connect to display tinternalapplication .
  $0008355C
  $000836A4
  $0005109C
  $001D9498
  $001D7B44
  $00050BF4
  $0004AD98
  $00022DEC
  $002CD5EC
  $0001A090

An unhandled exception occurred at $00016EDC :
An unhandled exception occurred at $B6CE871E :


Geoffrey
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 14:56:31 Geoffrey Barton wrote:
> On 11 Nov 2014, at 11:57, Martin Schreiber  wrote:
> > On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote:
> >> it now loads fpimage from fpccompatibility, and fails at:-
> >>
> >> msedb.pas(2822,10) Error: Identifier not found "eiconv"
> >> msedb.pas(2822,17) Error: class type expected, but got " >> type>" msedb.pas(9122) Fatal: There were 2 errors compiling module,
> >> stopping
> >
> > lib/common/kernel/linux/cwstring.pas should be loaded instead of the FPC
> > unit cwstring.
>
> I have now looked through both the i386 and arm listings using -vt and
> corrected the fpc.cfg on the arm machine to be the same as the i386.
>
> The compilation now completes, however running the app mseide fails:-
>
> An unhandled exception occurred at $000DA6CC :
> EReadError : Error reading sysenv.defs: Access violation
>   $000DA6CC

Please compile with -B -gl in order to get a more informative stack trace.
>
> if I run it as root I get:-
>
> An unhandled exception occurred at $0008355C :
> egui : Can not connect to display tinternalapplication .
>   $0008355C
This is as expected because of Xauth.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 15:09, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 14:56:31 Geoffrey Barton wrote:
>> On 11 Nov 2014, at 11:57, Martin Schreiber  wrote:
>>> On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote:
 it now loads fpimage from fpccompatibility, and fails at:-
 
 msedb.pas(2822,10) Error: Identifier not found "eiconv"
 msedb.pas(2822,17) Error: class type expected, but got ">>> type>" msedb.pas(9122) Fatal: There were 2 errors compiling module,
 stopping
>>> 
>>> lib/common/kernel/linux/cwstring.pas should be loaded instead of the FPC
>>> unit cwstring.
>> 
>> I have now looked through both the i386 and arm listings using -vt and
>> corrected the fpc.cfg on the arm machine to be the same as the i386.
>> 
>> The compilation now completes, however running the app mseide fails:-
>> 
>> An unhandled exception occurred at $000DA6CC :
>> EReadError : Error reading sysenv.defs: Access violation
>>  $000DA6CC
> 
> Please compile with -B -gl in order to get a more informative stack trace.

result:-

An unhandled exception occurred at $000DC220 :
EReadError : Error reading sysenv.defs: Access violation
  $000DC220  TREADER__READPROPERTY,  line 6393 of 
./lib/common/fpccompatibility/mclasses.pas
  $000DAFC0  TREADER__READDATA,  line 6096 of 
./lib/common/fpccompatibility/mclasses.pas
  $000CEA44  TCOMPONENT__READSTATE,  line 1659 of 
./lib/common/fpccompatibility/mclasses.pas
  $000B80CC  TMSECOMPONENT__READSTATE,  line 4677 of 
./lib/common/kernel/mseclasses.pas
  $000DABAC  TREADER__READCOMPONENT,  line 6060 of 
./lib/common/fpccompatibility/mclasses.pas
  $000DB098  TREADER__READDATA,  line 6109 of 
./lib/common/fpccompatibility/mclasses.pas
  $000CEA44  TCOMPONENT__READSTATE,  line 1659 of 
./lib/common/fpccompatibility/mclasses.pas
  $000B80CC  TMSECOMPONENT__READSTATE,  line 4677 of 
./lib/common/kernel/mseclasses.pas
  $001DD1B4  TMSEDATAMODULE__READSTATE,  line 253 of 
./lib/common/kernel/msedatamodules.pas
  $000DD194  TREADER__READROOTCOMPONENT,  line 6593 of 
./lib/common/fpccompatibility/mclasses.pas
  $000B1C94  LOADMODULE,  line 2209 of ./lib/common/kernel/mseclasses.pas
  $000B3DDC  DOLOAD,  line 2908 of ./lib/common/kernel/mseclasses.pas
  $000B3A4C  INITMSECOMPONENT,  line 2932 of ./lib/common/kernel/mseclasses.pas
  $000B3EB0  LOADMSEMODULE,  line 3050 of ./lib/common/kernel/mseclasses.pas
  $001DCBD0  TMSEDATAMODULE__CREATE,  line 152 of 
./lib/common/kernel/msedatamodules.pas
  $001DC96C  TMSEDATAMODULE__CREATE,  line 139 of 
./lib/common/kernel/msedatamodules.pas
  $000B1A9C  CREATEMODULE,  line 2161 of ./lib/common/kernel/mseclasses.pas



>> 
>> if I run it as root I get:-
>> 
>> An unhandled exception occurred at $0008355C :
>> egui : Can not connect to display tinternalapplication .
>>  $0008355C
> This is as expected because of Xauth.
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 17:08:24 Geoffrey Barton wrote:
> > Please compile with -B -gl in order to get a more informative stack
> > trace.
>
> result:-
>
> An unhandled exception occurred at $000DC220 :
> EReadError : Error reading sysenv.defs: Access violation
>   $000DC220  TREADER__READPROPERTY,  line 6393 of
> ./lib/common/fpccompatibility/mclasses.pas $000DAFC0  TREADER__READDATA, 
> line 6096 of ./lib/common/fpccompatibility/mclasses.pas $000CEA44 
> TCOMPONENT__READSTATE,  line 1659 of
> ./lib/common/fpccompatibility/mclasses.pas $000B80CC 
> TMSECOMPONENT__READSTATE,  line 4677 of ./lib/common/kernel/mseclasses.pas
> $000DABAC  TREADER__READCOMPONENT,  line 6060 of
> ./lib/common/fpccompatibility/mclasses.pas $000DB098  TREADER__READDATA, 
> line 6109 of ./lib/common/fpccompatibility/mclasses.pas $000CEA44 
> TCOMPONENT__READSTATE,  line 1659 of
> ./lib/common/fpccompatibility/mclasses.pas $000B80CC 
> TMSECOMPONENT__READSTATE,  line 4677 of ./lib/common/kernel/mseclasses.pas
> $001DD1B4  TMSEDATAMODULE__READSTATE,  line 253 of
> ./lib/common/kernel/msedatamodules.pas $000DD194 
> TREADER__READROOTCOMPONENT,  line 6593 of
> ./lib/common/fpccompatibility/mclasses.pas $000B1C94  LOADMODULE,  line
> 2209 of ./lib/common/kernel/mseclasses.pas $000B3DDC  DOLOAD,  line 2908 of
> ./lib/common/kernel/mseclasses.pas $000B3A4C  INITMSECOMPONENT,  line 2932
> of ./lib/common/kernel/mseclasses.pas $000B3EB0  LOADMSEMODULE,  line 3050
> of ./lib/common/kernel/mseclasses.pas $001DCBD0  TMSEDATAMODULE__CREATE, 
> line 152 of ./lib/common/kernel/msedatamodules.pas $001DC96C 
> TMSEDATAMODULE__CREATE,  line 139 of ./lib/common/kernel/msedatamodules.pas
> $000B1A9C  CREATEMODULE,  line 2161 of ./lib/common/kernel/mseclasses.pas
>
Hmm. Is ARMHF bigendian? Can you debug the problem?
Suggestion: First compile a minimal MSEgui application.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton

On 11 Nov 2014, at 16:26, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 17:08:24 Geoffrey Barton wrote:
>>> Please compile with -B -gl in order to get a more informative stack
>>> trace.
>> 
>> result:-
>> 
>> An unhandled exception occurred at $000DC220 :
>> EReadError : Error reading sysenv.defs: Access violation
>>  $000DC220  TREADER__READPROPERTY,  line 6393 of
>> ./lib/common/fpccompatibility/mclasses.pas $000DAFC0  TREADER__READDATA, 
>> line 6096 of ./lib/common/fpccompatibility/mclasses.pas $000CEA44 
>> TCOMPONENT__READSTATE,  line 1659 of
>> ./lib/common/fpccompatibility/mclasses.pas $000B80CC 
>> TMSECOMPONENT__READSTATE,  line 4677 of ./lib/common/kernel/mseclasses.pas
>> $000DABAC  TREADER__READCOMPONENT,  line 6060 of
>> ./lib/common/fpccompatibility/mclasses.pas $000DB098  TREADER__READDATA, 
>> line 6109 of ./lib/common/fpccompatibility/mclasses.pas $000CEA44 
>> TCOMPONENT__READSTATE,  line 1659 of
>> ./lib/common/fpccompatibility/mclasses.pas $000B80CC 
>> TMSECOMPONENT__READSTATE,  line 4677 of ./lib/common/kernel/mseclasses.pas
>> $001DD1B4  TMSEDATAMODULE__READSTATE,  line 253 of
>> ./lib/common/kernel/msedatamodules.pas $000DD194 
>> TREADER__READROOTCOMPONENT,  line 6593 of
>> ./lib/common/fpccompatibility/mclasses.pas $000B1C94  LOADMODULE,  line
>> 2209 of ./lib/common/kernel/mseclasses.pas $000B3DDC  DOLOAD,  line 2908 of
>> ./lib/common/kernel/mseclasses.pas $000B3A4C  INITMSECOMPONENT,  line 2932
>> of ./lib/common/kernel/mseclasses.pas $000B3EB0  LOADMSEMODULE,  line 3050
>> of ./lib/common/kernel/mseclasses.pas $001DCBD0  TMSEDATAMODULE__CREATE, 
>> line 152 of ./lib/common/kernel/msedatamodules.pas $001DC96C 
>> TMSEDATAMODULE__CREATE,  line 139 of ./lib/common/kernel/msedatamodules.pas
>> $000B1A9C  CREATEMODULE,  line 2161 of ./lib/common/kernel/mseclasses.pas
>> 
> Hmm. Is ARMHF bigendian?

no.

> Can you debug the problem?

I have no idea. I would not know where to start.I have been looking at the 
various compiler configurations, but there seem to be bits all over the place 
and the documentation is diffuse too. I would really like to start with a known 
good compiler at 2.6fixes, but there does not seem to be one built for armhf. 
It seems I was over-optimistic in expecting to build one on the arm board.

> Suggestion: First compile a minimal MSEgui application.

without the ide?

Geoffrey

> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Patrick Goupell

On 11/11/2014 11:43 AM, Geoffrey Barton wrote:
>> Suggestion: First compile a minimal MSEgui application.

You can download the startproject.zip from the msegui.org webstie 
Tutorials page.

Unzip the source and compile (change the file locations from 
/data/patrick/mseide-msegui/lib/ to your path for mseide-msegui/lib) with:

fpc -ostartproject -Fu/data/patrick/mseide-msegui/lib/addon/* 
-Fi/data/patrick/mseide-msegui/lib/addon/* 
-Fu/data/patrick/mseide-msegui/lib/common/kernel/linux 
-Fu/data/patrick/mseide-msegui/lib/common/kernel 
-Fi/data/patrick/mseide-msegui/lib/common/kernel 
-Fu/data/patrick/mseide-msegui/lib/common/* -l -Mobjfpc -Sh -Fcutf8 -gl 
-O- startproject.pas

If it compiles then try to run it.


Patrick

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 17:43:59 Geoffrey Barton wrote:

>
> I have no idea. I would not know where to start.I have been looking at the
> various compiler configurations, but there seem to be bits all over the
> place and the documentation is diffuse too. I would really like to start
> with a known good compiler at 2.6fixes, but there does not seem to be one
> built for armhf. It seems I was over-optimistic in expecting to build one
> on the arm board.
>
I'll check MSEide+MSEgui on Raspberry pi, maybe I can find out something.

> > Suggestion: First compile a minimal MSEgui application.
>
> without the ide?
>
Yes, for example the attached program.

Martin
program minimal;
{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
{$ifdef mswindows}{$apptype console}{$endif}
uses
 {$ifdef FPC}{$ifdef unix}cthreads,cwstring,{$endif}{$endif}
 sysutils,msewidgets;
begin
 showmessage('Hello world!');
end.
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton

On 11 Nov 2014, at 16:55, Patrick Goupell  wrote:

> 
> On 11/11/2014 11:43 AM, Geoffrey Barton wrote:
>>> Suggestion: First compile a minimal MSEgui application.
> 
> You can download the startproject.zip from the msegui.org webstie 
> Tutorials page.
> 
> Unzip the source and compile (change the file locations from 
> /data/patrick/mseide-msegui/lib/ to your path for mseide-msegui/lib) with:
> 
> fpc -ostartproject -Fu/data/patrick/mseide-msegui/lib/addon/* 
> -Fi/data/patrick/mseide-msegui/lib/addon/* 
> -Fu/data/patrick/mseide-msegui/lib/common/kernel/linux 
> -Fu/data/patrick/mseide-msegui/lib/common/kernel 
> -Fi/data/patrick/mseide-msegui/lib/common/kernel 
> -Fu/data/patrick/mseide-msegui/lib/common/* -l -Mobjfpc -Sh -Fcutf8 -gl 
> -O- startproject.pas
> 
> If it compiles then try to run it.

compilation fails:-

An unhandled exception occurred at $0002EB2C :
EListError : List index exceeds bounds (463)
  $0002EB2


Geoffrey

> 
> 
> Patrick
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton

On 11 Nov 2014, at 17:33, Martin Schreiber  wrote:

> On Tuesday 11 November 2014 17:43:59 Geoffrey Barton wrote:
> 
>> 
>> I have no idea. I would not know where to start.I have been looking at the
>> various compiler configurations, but there seem to be bits all over the
>> place and the documentation is diffuse too. I would really like to start
>> with a known good compiler at 2.6fixes, but there does not seem to be one
>> built for armhf. It seems I was over-optimistic in expecting to build one
>> on the arm board.
>> 
> I'll check MSEide+MSEgui on Raspberry pi, maybe I can find out something.
> 
>>> Suggestion: First compile a minimal MSEgui application.
>> 
>> without the ide?
>> 
> Yes, for example the attached program.

Compilation fails:-

An unhandled exception occurred at $0002EB2C :
EListError : List index exceeds bounds (1)
  $0002EB2C

Geoffrey


> 
> Martin
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 10:13:38 Geoffrey Barton wrote:

> > Yes, for example the attached program.
>
> Compilation fails:-
>
> An unhandled exception occurred at $0002EB2C :
> EListError : List index exceeds bounds (1)
>   $0002EB2C
>
Please compile with -B, another FPC unit loading problem, happens often.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton

On 12 Nov 2014, at 09:27, Martin Schreiber  wrote:

> On Wednesday 12 November 2014 10:13:38 Geoffrey Barton wrote:
> 
>>> Yes, for example the attached program.
>> 
>> Compilation fails:-
>> 
>> An unhandled exception occurred at $0002EB2C :
>> EListError : List index exceeds bounds (1)
>>  $0002EB2C
>> 
> Please compile with -B, another FPC unit loading problem, happens often.

ok. Now compiles and runs ok.

So does Patrick's 'startproject' once -B is added

Geoffrey

> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 11:19:53 Geoffrey Barton wrote:

> > Please compile with -B, another FPC unit loading problem, happens often.
>
> ok. Now compiles and runs ok.
>
> So does Patrick's 'startproject' once -B is added
>
:-)
Now we need to fix MSEide-ARM. I just got a Raspberry pi but it does not work 
so you need to debug MSEide youself.
Please load MSEide into gdb, set a breakpoint to "FPC_RAISEEXCEPTION" and run 
the program. It should stop at the SIGSGV. A backtrace should reveal where 
the AV happens. Run a terminal,
"
cd /apps/ide
gdb ./mseide
breakpoint FPC_RAISEEXCEPTION (or "b FPC_RAISEEXCEPTION")
run
... the exception
backtrace (or "bt")
... the stacktrace
"

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton

On 12 Nov 2014, at 11:06, Martin Schreiber  wrote:

> On Wednesday 12 November 2014 11:19:53 Geoffrey Barton wrote:
> 
>>> Please compile with -B, another FPC unit loading problem, happens often.
>> 
>> ok. Now compiles and runs ok.
>> 
>> So does Patrick's 'startproject' once -B is added
>> 
> :-)
> Now we need to fix MSEide-ARM.

so it seems!

> I just got a Raspberry pi but it does not work 

what does not work? FPC?


> so you need to debug MSEide youself.
> Please load MSEide into gdb, set a breakpoint to "FPC_RAISEEXCEPTION" and run 
> the program. It should stop at the SIGSGV. A backtrace should reveal where 
> the AV happens. Run a terminal,
> "
> cd /apps/ide
> gdb ./mseide
> breakpoint FPC_RAISEEXCEPTION (or "b FPC_RAISEEXCEPTION")
> run
> ... the exception
> backtrace (or "bt")
> ... the stacktrace
> "

herewith:-



Program received signal SIGSEGV, Segmentation fault.
0x000162dc in fpc_dynarray_decr_ref ()
(gdb) bt
#0  0x000162dc in fpc_dynarray_decr_ref ()
#1  0x00384d54 in READDEFDATA (READER=0xb6d125c0, 
DATA=)
at ./lib/common/sysutils/msesysenv.pas:1054
#2  0x000ae980 in READRECORDAR (READER=0xb6d125c0, 
AR=, 
TYPEINFO=0x5f8dd8, READPROC=0x384c88 )
at ./lib/common/kernel/mseclasses.pas:1624
#3  0x00384fc4 in TSYSENVMANAGER__READDEFS (READER=0xb6d125c0, 
this=) at ./lib/common/sysutils/msesysenv.pas:1069
#4  0x000d7ebc in TREADER__DEFINEPROPERTY (NAME=0x5f8660 'defs', 
AREADDATA=0x384f50 , 
WRITEDATA=0x3851a0 , HASDATA=false, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:5741
#5  0x003852b4 in TSYSENVMANAGER__DEFINEPROPERTIES (FILER=0xb6d125c0, 
this=) at ./lib/common/sysutils/msesysenv.pas:1153
#6  0x000da508 in TREADER__READPROPERTY (AINSTANCE=0xb6950910, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:6376
#7  0x000d946c in TREADER__READDATA (INSTANCE=0xb6950910, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:6096
---Type  to continue, or q  to quit---
#8  0x000ccef0 in TCOMPONENT__READSTATE (READER=0xb6d125c0, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:1659
#9  0x000b6578 in TMSECOMPONENT__READSTATE (READER=0xb6d125c0, 
this=) at ./lib/common/kernel/mseclasses.pas:4677
#10 0x000d9058 in TREADER__READCOMPONENT (COMPONENT=0x0, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:6060
#11 0x000d9544 in TREADER__READDATA (INSTANCE=0xb6883020, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:6109
#12 0x000ccef0 in TCOMPONENT__READSTATE (READER=0xb6d125c0, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:1659
#13 0x000b6578 in TMSECOMPONENT__READSTATE (READER=0xb6d125c0, 
this=) at ./lib/common/kernel/mseclasses.pas:4677
#14 0x001db660 in TMSEDATAMODULE__READSTATE (READER=0xb6d125c0, 
this=)
at ./lib/common/kernel/msedatamodules.pas:253
#15 0x000db640 in TREADER__READROOTCOMPONENT (AROOT=0xb6883020, 
this=)
at ./lib/common/fpccompatibility/mclasses.pas:6593
#16 0x000b0140 in LOADMODULE (INSTANCE=0xb6883020, PO1=0xb6abb2c4, 
---Type  to continue, or q  to quit---
ASINHERITED=false) at ./lib/common/kernel/mseclasses.pas:2209
#17 0x000b2288 in DOLOAD (ACLASS=, parentfp=0xbeffece4)
at ./lib/common/kernel/mseclasses.pas:2908
#18 0x000b1ef8 in INITMSECOMPONENT (INSTANCE=0xb6883020, 
ROOTANCESTOR=, NEEDSLOADING=false)
at ./lib/common/kernel/mseclasses.pas:2932
#19 0x000b235c in LOADMSEMODULE (INSTANCE=0xb6883020, 
ROOTANCESTOR=) at ./lib/common/kernel/mseclasses.pas:3050
#20 0x001db07c in TMSEDATAMODULE__CREATE (AOWNER=0xb6aaab20, LOAD=true, 
vmt=0x0, this=)
at ./lib/common/kernel/msedatamodules.pas:152
#21 0x001dae18 in TMSEDATAMODULE__CREATE (AOWNER=0xb6aaab20, vmt=0x1, 
this=)
at ./lib/common/kernel/msedatamodules.pas:139
#22 0x000aff48 in CREATEMODULE (AOWNER=0xb6aaab20, 
INSTANCECLASS=, 
REFERENCE=) at ./lib/common/kernel/mseclasses.pas:2161
#23 0x001d9304 in TCUSTOMAPPLICATION__CREATEDATAMODULE (
INSTANCECLASS=, 
REFERENCE=, this=)
at ./lib/common/kernel/mseapplication.pas:1683
---Type  to continue, or q  to quit---
#24 0xb958 in main () at apps/ide/mseide.pas:41
(gdb) 

Geoffrey


> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobil

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Michael Schnell
On 11/12/2014 12:06 PM, Martin Schreiber wrote:
> Now we need to fix MSEide-ARM. I just got a Raspberry pi but it does 
> not work so you need to debug MSEide youself.
IMHO, in this class of devices,  as well Odroid as BeaglerBone are much 
more interesting than Raspberry pi. So don't forget to test your 
software with them.

-Michael


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote:
>
> > I just got a Raspberry pi but it does not work
>
> what does not work? FPC?
>
It does not boot, maybe the SD with the boot image I bought is bad. I'll check 
it later.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000162dc in fpc_dynarray_decr_ref ()
> (gdb) bt
> #0  0x000162dc in fpc_dynarray_decr_ref ()
> #1  0x00384d54 in READDEFDATA (READER=0xb6d125c0,
> DATA= pointer.>) at ./lib/common/sysutils/msesysenv.pas:1054
> #2  0x000ae980 in READRECORDAR (READER=0xb6d125c0,
> AR=,
> TYPEINFO=0x5f8dd8, READPROC=0x384c88 )
> at ./lib/common/kernel/mseclasses.pas:1624
> #3  0x00384fc4 in TSYSENVMANAGER__READDEFS (READER=0xb6d125c0,
> this=) at
> ./lib/common/sysutils/msesysenv.pas:1069
"
lib/common/kernel/msearrayutils.pas:
function additempo(var value; const typeinfo: pdynarraytypeinfo; 
  //typeinfo of dynarray
 var count: integer): pointer; overload;
   //returns adress of new item
var
 int1: integer;
begin
 int1:= high(pointerarty(value)) + 1;
 if int1 <= count then begin
  incrementarraylength(pointer(value),typeinfo,2*count+arrayminlenghtstep);
 end;
 result:= pointer(value) + count*dynarrayelesize(typeinfo);
 inc(count);
end;

lib/common/kernel/mseclasses.pas:
procedure readrecordar(const reader: treader; out ar; 
 const typeinfo: pdynarraytypeinfo; const readproc: readrecordprocty);
var
 int1: integer;
 lint1: sizeint;
begin
 int1:= 0;
 reader.readlistbegin;
 while not reader.endoflist do begin
  reader.readlistbegin;
  readproc(reader,additempo(ar,typeinfo,int1)^);
  reader.readlistend;
 end;
 reader.readlistend;
 lint1:= int1;
 dynarraysetlength(pointer(ar),typeinfo,1,@lint1);
end;

lib/common/sysutils/msesysenv.pas:
procedure readdefdata(const reader: treader; var data);
begin
 with sysenvdefty(data) do begin
  ord(kind):= reader.readenum(typeinfo(kind));
  name:= reader.readunicodestring;
  readstringar(reader,anames);  crash
  longword(flags):= reader.readset(typeinfo(flags));
  initvalue:= reader.readunicodestring;
  argument:= reader.readunicodestring;
  help:= reader.readunicodestring;
  before:= reader.readunicodestring;
  after:= reader.readunicodestring;
 end;
end;

procedure tsysenvmanager.readdefs(reader: treader);
var
 ar1: sysenvdefarty;
begin
 ar1:= nil; //compiler warning
 readrecordar(reader,ar1,typeinfo(ar1),@readdefdata);
 defs:= ar1;
end;
"

Please set a breakpoint in lib/common/sysutils/msesysenv.pas:1051 and check 
why it crashes. ;-)
sysenvdefty(data).anames should be NIL it probably has a random value.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 12:27:53 Michael Schnell wrote:
> On 11/12/2014 12:06 PM, Martin Schreiber wrote:
> > Now we need to fix MSEide-ARM. I just got a Raspberry pi but it does
> > not work so you need to debug MSEide youself.
>
> IMHO, in this class of devices,  as well Odroid as BeaglerBone are much
> more interesting than Raspberry pi. So don't forget to test your
> software with them.
>
AFAIK you have a BeagleBone, please test MSEide+MSEgui on that device.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton

On 12 Nov 2014, at 12:36, Martin Schreiber  wrote:

> On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote:
>> 
>>> I just got a Raspberry pi but it does not work
>> 
>> what does not work? FPC?
>> 
> It does not boot, maybe the SD with the boot image I bought is bad. I'll 
> check 
> it later.
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x000162dc in fpc_dynarray_decr_ref ()
>> (gdb) bt
>> #0  0x000162dc in fpc_dynarray_decr_ref ()
>> #1  0x00384d54 in READDEFDATA (READER=0xb6d125c0,
>>DATA=> pointer.>) at ./lib/common/sysutils/msesysenv.pas:1054
>> #2  0x000ae980 in READRECORDAR (READER=0xb6d125c0,
>>AR=,
>>TYPEINFO=0x5f8dd8, READPROC=0x384c88 )
>>at ./lib/common/kernel/mseclasses.pas:1624
>> #3  0x00384fc4 in TSYSENVMANAGER__READDEFS (READER=0xb6d125c0,
>>this=) at
>> ./lib/common/sysutils/msesysenv.pas:1069
> "
> lib/common/kernel/msearrayutils.pas:
> function additempo(var value; const typeinfo: pdynarraytypeinfo; 
>  //typeinfo of dynarray
> var count: integer): pointer; overload;
>   //returns adress of new item
> var
> int1: integer;
> begin
> int1:= high(pointerarty(value)) + 1;
> if int1 <= count then begin
>  incrementarraylength(pointer(value),typeinfo,2*count+arrayminlenghtstep);
> end;
> result:= pointer(value) + count*dynarrayelesize(typeinfo);
> inc(count);
> end;
> 
> lib/common/kernel/mseclasses.pas:
> procedure readrecordar(const reader: treader; out ar; 
> const typeinfo: pdynarraytypeinfo; const readproc: readrecordprocty);
> var
> int1: integer;
> lint1: sizeint;
> begin
> int1:= 0;
> reader.readlistbegin;
> while not reader.endoflist do begin
>  reader.readlistbegin;
>  readproc(reader,additempo(ar,typeinfo,int1)^);
>  reader.readlistend;
> end;
> reader.readlistend;
> lint1:= int1;
> dynarraysetlength(pointer(ar),typeinfo,1,@lint1);
> end;
> 
> lib/common/sysutils/msesysenv.pas:
> procedure readdefdata(const reader: treader; var data);
> begin
> with sysenvdefty(data) do begin
>  ord(kind):= reader.readenum(typeinfo(kind));
>  name:= reader.readunicodestring;
>  readstringar(reader,anames);  crash
>  longword(flags):= reader.readset(typeinfo(flags));
>  initvalue:= reader.readunicodestring;
>  argument:= reader.readunicodestring;
>  help:= reader.readunicodestring;
>  before:= reader.readunicodestring;
>  after:= reader.readunicodestring;
> end;
> end;
> 
> procedure tsysenvmanager.readdefs(reader: treader);
> var
> ar1: sysenvdefarty;
> begin
> ar1:= nil; //compiler warning
> readrecordar(reader,ar1,typeinfo(ar1),@readdefdata);
> defs:= ar1;
> end;
> "
> 
> Please set a breakpoint in lib/common/sysutils/msesysenv.pas:1051 and check 
> why it crashes. ;-)
> sysenvdefty(data).anames should be NIL it probably has a random value.

attempts to read sysenvdefty(data).anames just gives the "attempt to 
dereference a generic pointer" error.

I am not a gdb expert, so I don't really know what I am looking for.

Geoffrey
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Michael Schnell
On 11/12/2014 01:40 PM, Martin Schreiber wrote:
> AFAIK you have a BeagleBone, please test MSEide+MSEgui on that device.

Sorry. I don't have one.

I do have colleagues who have BeagleBones and who have Odroids.

-Michael

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 14:50:13 Geoffrey Barton wrote:
> >
> > Please set a breakpoint in lib/common/sysutils/msesysenv.pas:1051 and
> > check why it crashes. ;-)
> > sysenvdefty(data).anames should be NIL it probably has a random value.
>
> attempts to read sysenvdefty(data).anames just gives the "attempt to
> dereference a generic pointer" error.
>
> I am not a gdb expert, so I don't really know what I am looking for.
>
I normally use testvars in such situations.
"
var testvar: pointer;
procedure readdefdata(const reader: treader; var data);
begin
 with sysenvdefty(data) do begin
  ord(kind):= reader.readenum(typeinfo(kind));
  name:= reader.readunicodestring;
testvar:= pointer(anames);
  readstringar(reader,anames);
  longword(flags):= reader.readset(typeinfo(flags));
"
and then print "testvar".

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-13 Thread Martin Schreiber
On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote:
>
> herewith:-
>
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000162dc in fpc_dynarray_decr_ref ()
> (gdb) bt
> #0  0x000162dc in fpc_dynarray_decr_ref ()
> #1  0x00384d54 in READDEFDATA (READER=0xb6d125c0,
> DATA= pointer.>) at ./lib/common/sysutils/msesysenv.pas:1054

I could reproduce and fix the problem (git master 
b4d69b41b2a17312cf3556cbffd20d1d883141d5) but there are more. I need to setup 
a cross compile and remote debug environment first in order to work 
productive, it will take a while...

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-13 Thread Geoffrey Barton

On 13 Nov 2014, at 14:02, Martin Schreiber  wrote:

> On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote:
>> 
>> herewith:-
>> 
>> 
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x000162dc in fpc_dynarray_decr_ref ()
>> (gdb) bt
>> #0  0x000162dc in fpc_dynarray_decr_ref ()
>> #1  0x00384d54 in READDEFDATA (READER=0xb6d125c0,
>>DATA=> pointer.>) at ./lib/common/sysutils/msesysenv.pas:1054
> 
> I could reproduce and fix the problem (git master 
> b4d69b41b2a17312cf3556cbffd20d1d883141d5) but there are more. I need to setup 
> a cross compile and remote debug environment first in order to work 
> productive, it will take a while...

..but you are the best one to do it! Its what I was trying to avoid doing by 
running mseide on the target.

Geoffrey
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-14 Thread Martin Schreiber
On Thursday 13 November 2014 15:02:07 Martin Schreiber wrote:
>
> I could reproduce and fix the problem (git master
> b4d69b41b2a17312cf3556cbffd20d1d883141d5) but there are more. I need to
> setup a cross compile and remote debug environment first in order to work
> productive, it will take a while...
>
Works basically. Current problem: xopendisplay() does not work if the inferior 
has been started by gdbserver. Has anybody an idea? An access right problem?

Martin



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
>
> Works basically. Current problem: xopendisplay() does not work if the
> inferior has been started by gdbserver. Has anybody an idea? An access
> right problem?
>
Got it working.

Martin



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton

On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:

> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
>> 
>> Works basically. Current problem: xopendisplay() does not work if the
>> inferior has been started by gdbserver. Has anybody an idea? An access
>> right problem?
>> 
> Got it working.
> 

just tried compiling. Success!  (armhf ubuntu 14.04 fpc 2.6.2)

crashes on running:-

An unhandled exception occurred at $00244988 :
EAccessViolation : Access violation
  $00244988
  $0024AFA0
  $000B6480
  $000B6580
  $000D9058
  $000D9544
  $000CCEF0
  $000B6578
  $00258D70
  $000DB640
  $000B0140
  $000B2288
  $000B1EF8
  $000B235C
  $00258104
  $0025C240
  $0025CAC8

tried running it as root:-

An unhandled exception occurred at $0008355C :
egui : Can not connect to display tinternalapplication .
  $0008355C
  $000836A4
  $0005109C
  $001D94D8
  $001D7B84
  $00050BF4
  $0004AD98
  $00022DEC
  $002CD62C
  $0001A090

An unhandled exception occurred at $00016EDC :
An unhandled exception occurred at $B6D7071E :

In the second case the program did not return to the terminal and had to be 
stopped with ctrl+c

I am building a version for gdb now.

Geoffrey
> Martin
> 
> 
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote:
> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
> > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
> >> Works basically. Current problem: xopendisplay() does not work if the
> >> inferior has been started by gdbserver. Has anybody an idea? An access
> >> right problem?
> >
> > Got it working.
>
> just tried compiling. Success!  (armhf ubuntu 14.04 fpc 2.6.2)
>
> crashes on running:-
>
I can reproduce the AV in MSEide. There is another problem with the fontheight 
= 1 pixel in the "hello" program on Raspberry pi I like to fix first. Do you 
get an normal font in the "hello" program?
BTW, cross compiling and debugging is working fine now.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton

On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:

> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
>> 
>> Works basically. Current problem: xopendisplay() does not work if the
>> inferior has been started by gdbserver. Has anybody an idea? An access
>> right problem?
>> 
> Got it working.



Program received signal SIGSEGV, Segmentation fault.
0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0, 
this=)
at ./lib/common/editwidgets/msewidgetgrid.pas:1440
1440if (dl1 <> nil) and not (dl1 is fintf.getdatatype) then begin
(gdb) bt
#0  0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0, 
this=)
at ./lib/common/editwidgets/msewidgetgrid.pas:1440
#1  0x0024afa0 in TCUSTOMWIDGETGRID__DOENDREAD (this=)
at ./lib/common/editwidgets/msewidgetgrid.pas:3191
#2  0x000b6480 in TMSECOMPONENT__ENDREAD (this=)
at ./lib/common/kernel/mseclasses.pas:4661
#3  0x000b6580 in TMSECOMPONENT__READSTATE (READER=0xb6d15f20, 
this=) at ./lib/common/kernel/mseclasses.pas:4678
#4  0x000d9058 in TREADER__READCOMPONENT (COMPONENT=0x0, 
this=)

Geoffrey

> 
> Martin
> 
> 
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote:
> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
> > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
> >> Works basically. Current problem: xopendisplay() does not work if the
> >> inferior has been started by gdbserver. Has anybody an idea? An access
> >> right problem?
> >
> > Got it working.
>
With "got it working" I meant I could fix the xopendisplay() problem.

> Program received signal SIGSEGV, Segmentation fault.
> 0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0,
> this=)
> at ./lib/common/editwidgets/msewidgetgrid.pas:1440
> 1440  if (dl1 <> nil) and not (dl1 is fintf.getdatatype) then begin
> (gdb) bt
> #0  0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0,
> this=)
> at ./lib/common/editwidgets/msewidgetgrid.pas:1440
> #1  0x0024afa0 in TCUSTOMWIDGETGRID__DOENDREAD (this= variable>) at ./lib/common/editwidgets/msewidgetgrid.pas:3191
> #2  0x000b6480 in TMSECOMPONENT__ENDREAD (this=)
> at ./lib/common/kernel/mseclasses.pas:4661
> #3  0x000b6580 in TMSECOMPONENT__READSTATE (READER=0xb6d15f20,
> this=) at
> ./lib/common/kernel/mseclasses.pas:4678 #4  0x000d9058 in
> TREADER__READCOMPONENT (COMPONENT=0x0,
> this=)
>
Yup, same for me.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton

On 15 Nov 2014, at 10:01, Martin Schreiber  wrote:

> On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote:
>> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
>>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
 Works basically. Current problem: xopendisplay() does not work if the
 inferior has been started by gdbserver. Has anybody an idea? An access
 right problem?
>>> 
>>> Got it working.
>> 
>> just tried compiling. Success!  (armhf ubuntu 14.04 fpc 2.6.2)
>> 
>> crashes on running:-
>> 
> I can reproduce the AV in MSEide. There is another problem with the 
> fontheight 
> = 1 pixel in the "hello" program on Raspberry pi I like to fix first. Do you 
> get an normal font in the "hello" program?

yes

> BTW, cross compiling and debugging is working fine now.
> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton

On 15 Nov 2014, at 10:01, Martin Schreiber  wrote:

> On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote:
>> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
>>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
 Works basically. Current problem: xopendisplay() does not work if the
 inferior has been started by gdbserver. Has anybody an idea? An access
 right problem?
>>> 
>>> Got it working.
>> 
>> just tried compiling. Success!  (armhf ubuntu 14.04 fpc 2.6.2)
>> 
>> crashes on running:-
>> 
> I can reproduce the AV in MSEide. There is another problem with the 
> fontheight 
> = 1 pixel in the "hello" program on Raspberry pi I like to fix first. Do you 
> get an normal font in the "hello" program?
> BTW, cross compiling and debugging is working fine now.

BTW which FPC version are you using?

If you cross-compile mseide, does it run ok on the PI? do you want me to try it 
on the IMX6Q?

Geoffrey

> 
> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 11:59:26 Geoffrey Barton wrote:

> > I can reproduce the AV in MSEide. There is another problem with the
> > fontheight = 1 pixel in the "hello" program on Raspberry pi I like to fix
> > first. Do you get an normal font in the "hello" program?
> > BTW, cross compiling and debugging is working fine now.
>
> BTW which FPC version are you using?
>
2.6.5.

> If you cross-compile mseide, does it run ok on the PI? 

No, it shows the same AV and stack trace as you see.

> do you want me to 
> try it on the IMX6Q?
>
Not necessary currently, first I need to debug the problem, thanks.

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote:
> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
> > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
> >> Works basically. Current problem: xopendisplay() does not work if the
> >> inferior has been started by gdbserver. Has anybody an idea? An access
> >> right problem?
> >
> > Got it working.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0,
> this=)
> at ./lib/common/editwidgets/msewidgetgrid.pas:1440
> 1440  if (dl1 <> nil) and not (dl1 is fintf.getdatatype) then begin

Please try again with git master 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, 
works for me on the Raspberry pi. :-)

Martin

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Geoffrey Barton

On 16 Nov 2014, at 18:34, Martin Schreiber  wrote:

> On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote:
>> On 15 Nov 2014, at 08:29, Martin Schreiber  wrote:
>>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote:
 Works basically. Current problem: xopendisplay() does not work if the
 inferior has been started by gdbserver. Has anybody an idea? An access
 right problem?
>>> 
>>> Got it working.
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00244988 in TWIDGETCOL__SETWIDGET (AWIDGET=0xb673dbd0,
>>this=)
>>at ./lib/common/editwidgets/msewidgetgrid.pas:1440
>> 1440 if (dl1 <> nil) and not (dl1 is fintf.getdatatype) then begin
> 
> Please try again with git master 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, 
> works for me on the Raspberry pi. :-)

yes, it runs now :-)

trying to compile the 'demo' project on mseide initially it tried to use 
ppc386, but after I changed it to ppcarm it fails at:-

Compiling /home/ubuntu/mseide-msegui/lib/common/kernel/mseguiglob.pas
Fatal: Compilation aborted
An unhandled exception occurred at $0002EB2C :
EListError : List index exceeds bounds (1)
  $0002EB2C


will look further tomorrow.

Geoffrey

> Martin
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote:
> On 16 Nov 2014, at 18:34, Martin Schreiber  wrote:
> >
> > Please try again with git master
> > 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, works for me on the Raspberry
> > pi. :-)
>
> yes, it runs now :-)
>
> trying to compile the 'demo' project on mseide initially it tried to use
> ppc386, but after I changed it to ppcarm it fails at:-
>
> Compiling /home/ubuntu/mseide-msegui/lib/common/kernel/mseguiglob.pas
> Fatal: Compilation aborted
> An unhandled exception occurred at $0002EB2C :
> EListError : List index exceeds bounds (1)
>   $0002EB2C
>
Please use 'Project'-'Build' instead of 'Make' the first time, another FPC 
unit loading problem...

Martin

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote:
>
> trying to compile the 'demo' project on mseide initially it tried to use
> ppc386, 

Should be fixed in git master 907ccec7111862fde3e92334df6736081f85068e.

Martin

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-17 Thread Geoffrey Barton

On 17 Nov 2014, at 05:59, Martin Schreiber  wrote:

> On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote:
>> On 16 Nov 2014, at 18:34, Martin Schreiber  wrote:
>>> 
>>> Please try again with git master
>>> 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, works for me on the Raspberry
>>> pi. :-)
>> 
>> yes, it runs now :-)
>> 
>> trying to compile the 'demo' project on mseide initially it tried to use
>> ppc386, but after I changed it to ppcarm it fails at:-
>> 
>> Compiling /home/ubuntu/mseide-msegui/lib/common/kernel/mseguiglob.pas
>> Fatal: Compilation aborted
>> An unhandled exception occurred at $0002EB2C :
>> EListError : List index exceeds bounds (1)
>>  $0002EB2C
>> 
> Please use 'Project'-'Build' instead of 'Make' the first time, another FPC 
> unit loading problem...

yes, that works. Now compiles and runs!

(Had to put it on a 32" monitor to be able to see the icons though :-)

Geoffrey

> 
> Martin
> 
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> ___
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


  1   2   >