PureBasic editor DIES on ubuntu 10.04
PureBasic editor DIES on ubuntu 10.04
HI,
sorry to bother you guys,
but I was just about to press the "purchase"-button on your site when I decided to test one more thing ....
... and that thing was to run the Gadgets.pb example on Ubuntu 10.04.
(I've been previously testing the compiler on Mac and liked it very much)
So I installed the product (unzipped it), ran the chekcinstall.sh, installed the required library.
I was able to start the editor and open the Gadgets example , but when I tried to run it or compile it the editor just died on me.
It just vanished without saying anything....
Oh man.
I was sooo hoping that I've found "the tool" for my basic hobby.
I am a profesisonal Java architect, have been since 95, and I am totally bored with the "new cobol".
I would like to do some programming on my spare time and definitely will NOT do it with Java or any other C-derivative language.
Your Basic seemed like the perfect candidate ... up to the moment when the editor started dying on me.
please tell me that I am doing something wrong or that the commercial version is better or something ...
cheers,
petri.
sorry to bother you guys,
but I was just about to press the "purchase"-button on your site when I decided to test one more thing ....
... and that thing was to run the Gadgets.pb example on Ubuntu 10.04.
(I've been previously testing the compiler on Mac and liked it very much)
So I installed the product (unzipped it), ran the chekcinstall.sh, installed the required library.
I was able to start the editor and open the Gadgets example , but when I tried to run it or compile it the editor just died on me.
It just vanished without saying anything....
Oh man.
I was sooo hoping that I've found "the tool" for my basic hobby.
I am a profesisonal Java architect, have been since 95, and I am totally bored with the "new cobol".
I would like to do some programming on my spare time and definitely will NOT do it with Java or any other C-derivative language.
Your Basic seemed like the perfect candidate ... up to the moment when the editor started dying on me.
please tell me that I am doing something wrong or that the commercial version is better or something ...
cheers,
petri.
Re: PureBasic editor DIES on ubuntu 10.04
The example file is corrupted, use another file or save the gadget.pb and reload it.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: PureBasic editor DIES on ubuntu 10.04
Could you start the editor from a console (open a console, navigate to the compilers directory and type ./purebasic) and post the console output you get once the editor dies please?
quidquid Latine dictum sit altum videtur
-
LuCiFeR[SD]
- 666

- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: PureBasic editor DIES on ubuntu 10.04
it because the install documentation is wrong in the case of the demo. you are assigning an incorrect path to where purebasic is stored
use the exports below to fix your problem
either add it to .bashrc
or run it via the console
or rename the purebasic_demo folder to purebasic
use the exports below to fix your problem
Code: Select all
export PUREBASIC_HOME=~/purebasic_demo
export PATH=$PUREBASIC_HOME/compilers:$PATH
or run it via the console
or rename the purebasic_demo folder to purebasic
Re: PureBasic editor DIES on ubuntu 10.04
Thank you all for replying so quickly.
The fact that you did respond makes me value this product and community a lot more.
Unfortunately the easy answers didn't cut it.
But I think that this will help you.
When running from console the console was filled with thousands of these lines:
.....
** (purebasic:12716): WARNING **: Invalid borders specified for theme pixmap:
/home/psa/.themes/Macbuntu-10.04/gtk-2.0/Others/focus-trans.png,
borders don't fit within the image
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
And whatever I did caused a couple of hundred more lines like these.
And everytime when trying to compile the editor just died, no other messages than these ones.
hope this helps.
cheers,
petri.
The fact that you did respond makes me value this product and community a lot more.
Unfortunately the easy answers didn't cut it.
But I think that this will help you.
When running from console the console was filled with thousands of these lines:
.....
** (purebasic:12716): WARNING **: Invalid borders specified for theme pixmap:
/home/psa/.themes/Macbuntu-10.04/gtk-2.0/Others/focus-trans.png,
borders don't fit within the image
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(purebasic:12716): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
And whatever I did caused a couple of hundred more lines like these.
And everytime when trying to compile the editor just died, no other messages than these ones.
hope this helps.
cheers,
petri.
Re: PureBasic editor DIES on ubuntu 10.04
Download this: http://dl.dropbox.com/u/3086026/purebas ... alldeb.deb
and install it. It will solve all depedencies for PB and Ubuntu.
Greetings Thomas
and install it. It will solve all depedencies for PB and Ubuntu.
Greetings Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: PureBasic editor DIES on ubuntu 10.04
Answering myself ...
I read the errors more closely and understood that Macbuntu is interfering here.
(the icons were missing too, I should have noticed, but I thought that linux version was maybe more barebones or something ... silly me)
So I created myself another user without Macbuntu, went in and and got an error
which complained that the editor couldn't save the file before compilation.
So I sudoed the editor and Voila ... it worked perfectly.
Thank you all for reacting so quickly.
Next I'll be getting my credit card from my wallet and buying the product.
cheers,
petri.
I read the errors more closely and understood that Macbuntu is interfering here.
(the icons were missing too, I should have noticed, but I thought that linux version was maybe more barebones or something ... silly me)
So I created myself another user without Macbuntu, went in and and got an error
which complained that the editor couldn't save the file before compilation.
So I sudoed the editor and Voila ... it worked perfectly.
Thank you all for reacting so quickly.
Next I'll be getting my credit card from my wallet and buying the product.
cheers,
petri.
-
LuCiFeR[SD]
- 666

- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: PureBasic editor DIES on ubuntu 10.04
Check install doesn't seem to check for all required packages either, but for ubuntu 10.10, you can enter the following from the terminal
and that should add all required dependencies.
Code: Select all
sudo apt-get install libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libsdl-net1.2-dev libiodbc2-dev libxxf86vm-dev libfreeimage-devRe: PureBasic editor DIES on ubuntu 10.04
or simple use this: http://www.purebasic.fr/english/viewtop ... 12#p347412LuCiFeR[SD] wrote:and that should add all required dependencies.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

-
LuCiFeR[SD]
- 666

- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: PureBasic editor DIES on ubuntu 10.04
haha fair comment and I even missed it abovets-soft wrote:or simple use this: http://www.purebasic.fr/english/viewtop ... 12#p347412LuCiFeR[SD] wrote:and that should add all required dependencies.
Re: PureBasic editor DIES on ubuntu 10.04
No problem
here a shortdescription:
install all dependencies and
add mime-type text/purebasic (*.pb,*.pbi)
copy logo.png as purebasic.png to /usr/share/pixmaps
here a shortdescription:
install all dependencies and
add mime-type text/purebasic (*.pb,*.pbi)
copy logo.png as purebasic.png to /usr/share/pixmaps
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- freepurebasic
- Enthusiast

- Posts: 123
- Joined: Fri Sep 24, 2010 12:02 pm
- Location: world wide web
Re: PureBasic editor DIES on ubuntu 10.04
on linux ubuntu 10.04 STABLE!!! ...
maybe you can install all these libraries and their dependencies from
System/Administration/Synaptic Package Manager
libgtk2.0-dev
libgnome2-dev
libgnomeprintui2.2-dev
libxine-dev
libsdl1.2-dev
libsdl-net1.2-dev
libiodbc2-dev
libxxf86vm-dev
libfreeimage-dev
unzip on Desktop purebasic... .tgz
then open terminal
go on Desktop .. something like this : cd Desktop/purebasic/
you must cmod 777 all things on compilers
eg
sudo chmod 777 pbcompiler
then apply on all
after this make sure you are on Desktop/purebasic/compilers
then run ./pbcompiler
this will run purebasic ide
see`ya
maybe you can install all these libraries and their dependencies from
System/Administration/Synaptic Package Manager
libgtk2.0-dev
libgnome2-dev
libgnomeprintui2.2-dev
libxine-dev
libsdl1.2-dev
libsdl-net1.2-dev
libiodbc2-dev
libxxf86vm-dev
libfreeimage-dev
unzip on Desktop purebasic... .tgz
then open terminal
go on Desktop .. something like this : cd Desktop/purebasic/
you must cmod 777 all things on compilers
eg
sudo chmod 777 pbcompiler
then apply on all
after this make sure you are on Desktop/purebasic/compilers
then run ./pbcompiler
this will run purebasic ide
see`ya

