Page 1 of 1

Dont Run Example Program

Posted: Thu Jul 06, 2006 7:08 pm
by oryaaaaa
Purebasic 3.94 / Ubuntu 6.06 / gtk2

The error is a lot as follows. Is it only my environment? Do you also?
How can I execute it?

arithmetic.pb OK

asminline.pb
Line 16:'Value' is not a valid operator

camera.pb
Error The 3D Engine cant be initialized

cdaudio.pb
[ERROR] cdaudio.pb (Line:62)
[ERROR] There is no current CDAudio unit selected

file.pb OK

filesystem.pb OK

gadget.pb OK

gadgetfull.pb OK

gtk.pb
Line 34: gtk_signal_connect_() is not a function, an array, or a linked list

image.pb OK

keyboard.pb
[ERROR] keyboard.pb (Line:41)
[ERROR] initKeyboard() must be called before use the keyboard commands.

linkedlist.pb OK

linux_api.pb OK

menu.pb OK

misc.pb OK

module.pb
Line 11: initModule() is not a function, an arrya, or a linked list

requester.pb
ColorRequester() crash
Others OK

sdl.pb
[ERROR] sdl.pb (Line: 6)
[ERROR] No console is currentry opened. OpenConsole() must be called first.
PureBasic.exe crush (Operation rejection :: kill -9 PID)

Added OpenConsole(), CloseConsole()
No Display, Operation rejection , can escape

sound.pb OK

sprite.pb OK

string.pb OK

terrain.pb
Error The 3D Engine cant be initialized

window.pb OK

--------
My Linux

Ubuntu Japanese Team - VMware Ubuntu 6.06
http://www.ubuntulinux.jp/News/News20060620

Thank you

Posted: Thu Jul 06, 2006 7:37 pm
by Nik
- sdl.pb shows black window, using 100% cpu
- 3d-engine stuff not working though I can run Nexuizw, Cube and Planet Pinguin racer just fine
- gadgets ok
- color requester confirmed, problem is known
- gtk.pb is working here
- module.pb is not working
- waponesii crashed my X-Server, so that even ctrl+alt+F1 (switching to pure console mode while running x on terminal 7) didn't work.
- sprite.pb stays untested because the reason above I will test it after having posted this answer
- gadget stuff works with gtk1 and 2
- gtk.pb does only work with gtk1, same problem as oryaaaa

Sorry that I didn't report these problems earlier but I only tested the gadget examples before. Since my pb written server works just fine (deployed since nearly half a year at the moment he has 72 days uptime, so I suspect networking, linked lists and so on to be working, it doesn't do much though^^)

Posted: Thu Jul 06, 2006 7:42 pm
by Nik
I think we should try to test the libs really hard for version 4 here are some thoughts. I have currently about 8 Linux Distros laying around ready to run in qemu, it might be a good idea to build every example as a binary to make testing easier so we can skip isntalling pb on every system we test the binaries on...
Here is a list of distros I'm willing to test on:
1. Ubuntu 6.06 LTS
2. Kubuntu 6.06 LTS (Maybe LiveCD)
3. debian (both sarge and testing)
4. kororaa (LiveCD gentoo based running XGL)
5. Damn Small
6. Elle (variation of Damn Small)
7. Slax (Slackware based LiveCD)

I'm also willing to test some more if needed

Posted: Thu Jul 06, 2006 8:39 pm
by walker
Hi,

try to run the examples without debugger.... :wink: most of them will work
(I'd reported this already some time ago...)

Posted: Thu Jul 06, 2006 8:47 pm
by Nik
Doesn't change the behaviour of the programs above reported as not working.

Posted: Fri Jul 07, 2006 4:02 pm
by oryaaaaa
Thanks

I was relieved to understand if not perfectly running like Windows Version.