[4.30 beta 5] WebGadget on Ubuntu 8.10
Posted: Mon Dec 08, 2008 12:00 am
Hi all,
when running the example program WebBrowser.pb that ships with PB 4.30 beta 5 on Ubuntu 8.10,
I get the following errors:
Then I added WebGadgetPath(), so that the code reads
With this I got the same warning as before, but now there was the webgadget which displayed the web page.
After quitting the mini browser (using "close" in the system menu), several warnings were generated, and also
an error on the very last line
PureBasic programming:
Regards, Little John
when running the example program WebBrowser.pb that ships with PB 4.30 beta 5 on Ubuntu 8.10,
I get the following errors:
Code: Select all
Frame3DGadget(6, 0, 30, 0, 2, "", 2)
[WARNING] Gtk (WARNING): gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17
Code: Select all
If WebGadget(10, 0, 31, 0, 0, "http://www.purebasic.com") = 0
PB opened a window, but it didn't show the web page.[ERROR] Invalid memory access.
Then I added WebGadgetPath(), so that the code reads
Code: Select all
WebGadgetPath("libgtkembedmoz.so", "/usr/lib/thunderbird")
If WebGadget(10, 0, 31, 0, 0, "http://www.purebasic.com") = 0
After quitting the mini browser (using "close" in the system menu), several warnings were generated, and also
an error on the very last line
Code: Select all
EndIf
I'm using Ubuntu 8.10 with all current updates. The following packages are installed, which are important for[ERROR] Invalid memory access.
PureBasic programming:
Does somebody know what happens here? Is this a bug in PureBasic 4.30 beta 5?- gcc
- libgnomeprintui2.2-0 and libgnomeprintui2.2-dev
- libgtk2.0-dev
- libgtkembedmoz.so
- libiodbc2 and libiodbc2-dev
- libsdl1.2-dev
- libstdc++6-4.2-dev
- libxine1 and libxine-dev
- libxul-dev
Regards, Little John