Sign in Join

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

Mailing lists / lazarus / 2011-11

GeckoPort - Qt and GTK2

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

silvioprog

Hi,

I'm trying to install GeckoPort on openSUSE 11.4 and Lazarus compiled with Qt. But:

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.4 [2011/09/28] for i386 Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling GeckoComponents.pas
Compiling GeckoBrowser.pas
Compiling GeckoPromptService.pas
Compiling GeckoBrowser.pas
/home/silvioprog/geckoport/Components/GeckoBrowser.pas(2059,30) Warning: Function result does not seem to be set
Writing Resource String Table file: GeckoBrowser.rst windres" not found, switching to external mode
/home/silvioprog/geckoport/Components/GeckoBrowser.pas(2350) Fatal: There were 1 errors compiling module, stopping

In Mint 11 (GTK2):

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.4-1 [2011/05/24] for i386 Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling GeckoComponents.pas
Compiling GeckoBrowser.pas
Compiling GeckoPromptService.pas
Compiling GeckoBrowser.pas
Compiling /home/silvioprog/geckoport/nsStream.pas
Compiling /home/silvioprog/geckoport/nsNetUtil.pas /home/silvioprog/geckoport/nsNetUtil.pas(74,29) Hint: Parameter "ioService" not used
/home/silvioprog/geckoport/nsNetUtil.pas(82,86) Hint: Parameter "ioService" not used
Writing Resource String Table file: nsNetUtil.rst
Compiling GeckoInit.pas
Compiling /home/silvioprog/geckoport/nsErrorUtils.pas /home/silvioprog/geckoport/nsErrorUtils.pas(48,3) Note: Local variable "NS_IERRORSERVICE_CID" not used
/home/silvioprog/geckoport/nsErrorUtils.pas(49,3) Hint: Local const "NS_ERRORSERVICE_NAME" is not used
/home/silvioprog/geckoport/nsErrorUtils.pas(51,3) Note: Local variable "NS_ERRORSERVICE_CID" not used
Compiling /home/silvioprog/geckoport/nsXRE.pas
/home/silvioprog/geckoport/nsXRE.pas(168,3) Hint: Local const "libxul" is not used
/home/silvioprog/geckoport/nsXRE.pas(171,3) Note: Local variable "vers" not used /home/silvioprog/geckoport/nsXRE.pas(172,3) Note: Local variable "xpcomPath" not used
/home/silvioprog/geckoport/nsXRE.pas(173,3) Note: Local variable "lastSlash" not used
/home/silvioprog/geckoport/nsXRE.pas(174,3) Note: Local variable "MOZILLAFIVEHOME" not used
/home/silvioprog/geckoport/nsXRE.pas(46,28) Hint: Parameter "lowerVer" not used /home/silvioprog/geckoport/nsXRE.pas(47,22) Hint: Parameter "lowerInclusive" not used
/home/silvioprog/geckoport/nsXRE.pas(48,28) Hint: Parameter "upperVer" not used /home/silvioprog/geckoport/nsXRE.pas(49,22) Hint: Parameter "upperInclusive" not used
GeckoBrowser.pas(411,29) Hint: Parameter "Sender" not used /home/silvioprog/geckoport/Components/GeckoBrowser.pas(2087,26) Hint: Conversion between ordinals and pointers is not portable /home/silvioprog/geckoport/Components/GeckoBrowser.pas(2087,13) Hint: Conversion between ordinals and pointers is not portable Writing Resource String Table file: GeckoBrowser.rst windres" not found, switching to external mode
/home/silvioprog/geckoport/Components/GeckoBrowser.pas(2350) Fatal: There were 1 errors compiling module, stopping

I'm using this copy of XULRunner:
https://developer.mozilla.org/en/XULRunner_1.9.1_Release_Notes . I followed all steps of installation shown on this page.

So, GeckoPort isnt compatible with Qt and GTK2? :(

On Windows worked perfectly.

Thx.

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Ludo Brands
to silvioprog
windres" not found, switching to external mode

On ubuntu I had to install mingw32-binutils to get windres. It wasn't part of the standard binutils. IRC I had also to create a symlink to i586-mingw32msvc-windres. Windres is used to compile resources in the windows format. Reason why you find it only in cross-binutils. FPC can read them, including on linux.

Ludo.

Reply by email

silvioprog
to Ludo Brands

2011/11/19 Ludo Brands :

Show quoted text 9 lines
> windres" not found, switching to external mode On ubuntu I had to install mingw32-binutils to get windres. It wasn't part of the standard binutils. IRC I had also to create a symlink to i586-mingw32msvc-windres. Windres is used to compile resources in the windows format. Reason why you find it only in cross-binutils. FPC can read them, including on linux. Ludo.

You can run this component in Ubuntu?

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Ludo Brands
to silvioprog
You can run this component in Ubuntu?

I haven't tried. My comments were only related to the compile error you encountered. I encountered this problem when porting an app to linux that used file resources.

Ludo

Reply by email

silvioprog
to Ludo Brands

2011/11/21 Ludo Brands :

Show quoted text 8 lines
> You can run this component in Ubuntu? > I haven't tried. My comments were only related to the compile error you encountered. I encountered this problem when porting an app to linux that used file resources. Ludo

Thank you very much! :) Tonight I'll try installing again...

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email

Joost van der Sluis
to silvioprog: 2011/11/19 Ludo Brands : You can run this component in Ubuntu? Silvio Cl?cio…
silvioprog wrote 12 lines
2011/11/19 Ludo Brands : >> windres" not found, switching to external mode > > On ubuntu I had to install mingw32-binutils to get windres. It wasn't part > of the standard binutils. IRC I had also to create a symlink to > i586-mingw32msvc-windres. Windres is used to compile resources in the > windows format. Reason why you find it only in cross-binutils. FPC can read > them, including on linux. > > Ludo. You can run this component in Ubuntu?

Yes, on 32 bit it should work out of the box. On x86_64 you need at least fpc version 2.6.0 (rc1).

See here:
http://wiki.freepascal.org/index.php?title=User_Changes_2.6.0#IInterface.QueryInterface.2C_._AddRef_and_._Release_definitions_have_been_changed

Joost.

Reply by email

silvioprog
to Joost van der Sluis

2011/11/21 Joost van der Sluis :

Show quoted text 21 lines
On Sun, 2011-11-20 at 23:04 -0200, silvioprog wrote: > 2011/11/19 Ludo Brands : > >> windres" not found, switching to external mode > > > > On ubuntu I had to install mingw32-binutils to get windres. It wasn't part > > of the standard binutils. IRC I had also to create a symlink to > > i586-mingw32msvc-windres. Windres is used to compile resources in the > > windows format. Reason why you find it only in cross-binutils. FPC can read > > them, including on linux. > > > > Ludo. > > You can run this component in Ubuntu? Yes, on 32 bit it should work out of the box. On x86_64 you need at least fpc version 2.6.0 (rc1). See here: http://wiki.freepascal.org/index.php?title=User_Changes_2.6.0#IInterface.QueryInterface.2C_._AddRef_and_._Release_definitions_have_been_changed Joost.

Thanks guys! :)

Unfortunately I can't use the GeckoPort, Now I saw that he does not support HTML5. x(

Thank you all anyway! :)

Silvio Cl?cio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== ? ?* Conhe?a nosso canal IRC sobre Lazarus: #lazarus-br * ===============================================

Reply by email