Search found 12 matches

by vekem
Wed Sep 19, 2007 3:52 pm
Forum: Linux
Topic: Return value from a linux library (libg2.so)
Replies: 7
Views: 3431

both location are in "germany", talking english, hmmm... :wink:

Markus
by vekem
Wed Sep 19, 2007 3:49 pm
Forum: Linux
Topic: Return value from a linux library (libg2.so)
Replies: 7
Views: 3431

Hello "walker",

sorry for answering so late. loading hlibg2 is successful, and it work's, because the first deviceG2 as a return value is "0" (next one is "1"...).

Damned... but no function for font-changing (or encoding for e.g. european characters), so this is no alternative way for Purebasic ...
by vekem
Thu Aug 09, 2007 4:41 pm
Forum: Linux
Topic: Return value from a linux library (libg2.so)
Replies: 7
Views: 3431

Return value from a linux library (libg2.so)

Hello,

I tried (again) with PB 4.01 (Linux) using the library libg2 (G2, writing for example direct postscript files). But with the open-function (here "g2_open_PS") I get no return-value, it's always "0".

deviceG2.l = CallCFunction(hlibg2, #g2_open_PS, OutFile$, #g2_A4, #g2_PS_port)

deviceG2 ...
by vekem
Mon Jan 01, 2007 3:32 pm
Forum: Coding Questions
Topic: Error: Line 0 - Can't load any OSLibraries! Please re-instal
Replies: 2
Views: 1017

Solved

Hi Trond,

yes, everything was extracted in one big folder, but the enviroment variables wasn't set correctly - uups.

Following the INSTALL-Readme using tilde "~" for the correct home directory in the PATHs didn't work. Maybe it is a (X)Ubuntu-special: such things are written in /etc/profile (NOT ...
by vekem
Mon Jan 01, 2007 1:51 pm
Forum: Coding Questions
Topic: Error: Line 0 - Can't load any OSLibraries! Please re-instal
Replies: 2
Views: 1017

Error: Line 0 - Can't load any OSLibraries! Please re-instal

Hello,

trying Purebasic Linux Beta 2 gives this error message (3x) starting the IDE in a terminal under Xubuntu 6.10:

Error: Line 0 - Can't load any OSLibraries! Please re-install PureBasic

PATH and PUREBASIC_HOME are set correctly (I think so...)

Does anybody know this behaviour?

Markus,
Germany
by vekem
Fri Sep 03, 2004 9:02 am
Forum: Linux
Topic: Printing under Linux
Replies: 5
Views: 2720

Meanwhile I tried libg2 (http://packages.debian.org/stable/libs/libg20) getting results. But PureBasic can't handle the DOUBLE-Parameters used with its functions. (for example EUPHORIA has no problems).

libg2 would be fine,because it is available on most Linux systems.

Maybe PureBasic 4.x has ...
by vekem
Thu Aug 05, 2004 10:59 am
Forum: Linux
Topic: Using external library libg2
Replies: 4
Views: 2402

Thanks olejr,

PB for Linux sometimes has a strange behaviour ;-)

For the Norwegian: last July I was sitting on Senja joining fjords and midnight sun, also with my laptop checking PB for Linux... no sleep ;-)

Markus
by vekem
Thu Aug 05, 2004 10:16 am
Forum: Linux
Topic: Using external library libg2
Replies: 4
Views: 2402

Hi,

thanks for your help. On my Xandros Linux (Desktop 2.0) is running libg2.so. With Euphoria (www.rapideuphoria.com) the g2-Output goes well: creating Postscript-files to print...!

PureBasic seems not be able to handle double-variables. I tried the F64-library by freedimesion - can't compile ...
by vekem
Wed Aug 04, 2004 4:35 pm
Forum: Linux
Topic: Using external library libg2
Replies: 4
Views: 2402

Using external library libg2

Hello,

I'm trying to use (on Xandros Linux/Debian) the library libg2 (simple 2D graphics):

Writing a PBL-File for the DLL Importer (only the funkctions for a small exapmle program):

;-----------------------------
; PureBasic libg2 importer
;
libg2
g2_open_PS 3 ; int,enum,enum
g2_line 5 ; int ...
by vekem
Mon Jul 26, 2004 5:21 pm
Forum: Linux
Topic: Printing under Linux
Replies: 5
Views: 2720

Printing under Linux

The PureBasic help files tells the printing functions (PrintRequester etc) are available under Linux, but 3.91 doesn't knows it...

Is anybody printing with PureBasic under Linux?

Thanks,
Markus
by vekem
Thu Feb 05, 2004 7:05 pm
Forum: Linux
Topic: Linux-Version von PureBasic nur auf X86-CPUs?
Replies: 3
Views: 2285

Sorry for english speakting friends...

sorry, the text aboce should be in the german forum, but perhaps somebody knows:

Ist PureBasic for Linux running only on 86-CPUs or could it on work on any Linux machine?

Thanks, Markus
by vekem
Thu Feb 05, 2004 7:02 pm
Forum: Linux
Topic: Linux-Version von PureBasic nur auf X86-CPUs?
Replies: 3
Views: 2285

Linux-Version von PureBasic nur auf X86-CPUs?

...oder sollte es möglich sein, dass ein PureBasic-Programm z.B. auf einem Zaurus PDA mit Linux läuft?

Mir fiel bei einem Linux-System auf, das den GCC-Compiler nicht installiert hatte, dass der PureBasic-Compiler das bemängelte, GCC also benötigt. Wenn aber beim Kompilieren ein für das System ...