console says weird things to me :(

Linux specific forum
veganisafreak
User
User
Posts: 32
Joined: Mon Jun 02, 2008 6:55 pm
Location: UK

console says weird things to me :(

Post by veganisafreak »

Okay I installed PB on Ubuntu and I got the gtk+, sdl packages and some others that looked important with Synaptic. I thought I could leave the movie playing packages or whatever until later. The GUI examples seem to be working okay. But I wrote this console application:

Code: Select all

OpenConsole()
Print("Hiya!")
Input()
End
When I run it it outputs:

(purebasic:12602): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(purebasic:12602): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `width >= -1' failed

(purebasic:12602): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

(purebasic:12602): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `width >= -1' failed
Hiya!
(purebasic:12602): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `width >= -1' failed

***

This is somewhat annoying. Any ideas what's wrong? Thanks
veganisafreak
User
User
Posts: 32
Joined: Mon Jun 02, 2008 6:55 pm
Location: UK

Re: console says weird things to me :(

Post by veganisafreak »

Also, if I launch Purebasic from its icon, instead of from a console, my program just starts and then exits immediately...
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

did you change the compiler options the executable format to console? I guess that's what's missing here...
veganisafreak
User
User
Posts: 32
Joined: Mon Jun 02, 2008 6:55 pm
Location: UK

Post by veganisafreak »

Hey thanks loads it's working now!

It still spits out the errors but they go to the parent console. the "child" console or whatever you call it, is empty apart from my message. :)

I'm still a little curious what the errors are about tho. Oh well it's not affecting the functionality.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It's errors from the IDE.
Post Reply