[MSEide-MSEgui-talk] compile

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[MSEide-MSEgui-talk] compile

mohamed hamza

Hi Martin


   I installed  a new  linux system  :  Mint18  and

      ( Fpc- 3.04.x86_64, mseide_msegui_x86_64_linux_4_6 ) also.


After loading demo.prj and F9 I got an error  217  and    1: /bin/sh: ppcx64: not found  in message panel?

Can you help ?


Nb: mseIde and fpc are in  home  directory  and  ppcx64  is there?



Best Regards





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] compile

mse
Administrator
On 04/12/2018 07:24 PM, mohamed hamza wrote:

> Hi Martin
>
>
>    I installed  a new  linux system  :  Mint18  and
>
>       ( Fpc- 3.04.x86_64, mseide_msegui_x86_64_linux_4_6 ) also.
>
>
> After loading demo.prj and F9 I got an error  217  and    1: /bin/sh: ppcx64: not found  in message panel?
> Nb: mseIde and fpc are in  home  directory  and  ppcx64  is there?

What shows 'Project'-'Options'-'Make'-'Show command line'?
If it is "ppcx64 ..." it is necessary to change 'Settings'-'Configure
MSEide'-'${COMPILER}' to the absolute path of /home/.../ppcx64 because
most likely the home/... directory is not listed in $PATH.

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] compile

mohamed hamza

Hi   Martin


   Thanks for your quick answer.


Now I have many ld errors that I have not in previous linux version x86.    

For example

Free Pascal Compiler version 3.0.4 [2017/10/03] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling demo.pas
Linking demo
demo.pas(8,1) Warning: "crti.o" not found, this will probably cause a linking failure
demo.pas(8,1) Warning: "crtn.o" not found, this will probably cause a linking failure
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lrt
/usr/bin/ld: cannot find -lc
demo.pas(8,1) Error: Error while linking
demo.pas(8,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

I resolved libx11.  For the other libs the packets are loaded but not resolved in ld ?

What is your opinion?

Best Regards.

Med




De : Martin Schreiber <[hidden email]>
Envoyé : jeudi 12 avril 2018 17:55
À : [hidden email]
Objet : Re: [MSEide-MSEgui-talk] compile
 
On 04/12/2018 07:24 PM, mohamed hamza wrote:
> Hi Martin
>
>
>    I installed  a new  linux system  :  Mint18  and
>
>       ( Fpc- 3.04.x86_64, mseide_msegui_x86_64_linux_4_6 ) also.
>
>
> After loading demo.prj and F9 I got an error  217  and    1: /bin/sh: ppcx64: not found  in message panel?
> Nb: mseIde and fpc are in  home  directory  and  ppcx64  is there?

What shows 'Project'-'Options'-'Make'-'Show command line'?
If it is "ppcx64 ..." it is necessary to change 'Settings'-'Configure
MSEide'-'${COMPILER}' to the absolute path of /home/.../ppcx64 because
most likely the home/... directory is not listed in $PATH.

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
mse
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] compile

mse
Administrator
On Friday 13 April 2018 09:58:43 mohamed hamza wrote:

>
> Now I have many ld errors that I have not in previous linux version x86.
>
> For example
>
> Free Pascal Compiler version 3.0.4 [2017/10/03] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling demo.pas
> Linking demo
> demo.pas(8,1) Warning: "crti.o" not found, this will probably cause a
> linking failure demo.pas(8,1) Warning: "crtn.o" not found, this will
> probably cause a linking failure /usr/bin/ld: warning: link.res contains
> output sections; did you forget -T? /usr/bin/ld: cannot find -lpthread
> /usr/bin/ld: cannot find -ldl
> /usr/bin/ld: cannot find -lrt
> /usr/bin/ld: cannot find -lc
> demo.pas(8,1) Error: Error while linking
> demo.pas(8,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
> I resolved libx11.  For the other libs the packets are loaded but not
> resolved in ld ?
>

You need to install the devel packages. On Debian afaik build-essential.

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] compile

PatG


On 04/13/2018 09:12 AM, Martin Schreiber wrote:
>
> You need to install the devel packages. On Debian afaik build-essential.
>
> Martin
>

On Debian Stretch I installed the following:
sudo apt-get install build-essential libx11-dev gdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Reply | Threaded
Open this post in threaded view
|

Re: [MSEide-MSEgui-talk] compile

fredvs
In reply to this post by mohamed hamza
> What is your opinion?

If you are **very** patient, maybe one day fpc will fix that boring bug...

https://bugs.freepascal.org/view.php?id=32367

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk