Search found 11 matches

by lodger
Thu Jul 26, 2007 5:53 pm
Forum: Linux
Topic: Complex Procedure Parameters and SpritePixelCollision Issues
Replies: 4
Views: 3103

Surprise, surprise!!

Well, glad to find this thread as the SpritePixelCollision issue still isn't fixed in version 4.01 (Linux). Surprise, surprise!!

Hopefully someone in the development team will also recognize that problem and properly fix it for version 4.10. Thanks for your code snippet, that'll help me out in the ...
by lodger
Sat Jul 14, 2007 8:11 pm
Forum: Linux
Topic: I need a jump start, Help! (opengl question)
Replies: 2
Views: 1929

Hmm ... maybe you're just facing the problems that were discussed here: http://www.purebasic.fr/english/viewtopic.php?t=24398

If you look at your source code directory you may find an "Ogre.log" logfile. Have a closer look at what it says and check the discussion mentioned above. It looks like ...
by lodger
Sat Jul 14, 2007 7:49 pm
Forum: Mac OSX
Topic: Intel iMac problem
Replies: 22
Views: 12618

Well same thing here: as long as I don't use any Sprite2D or other graphics commands, I can do "basic" BASIC Stuff. But if I try to compile a simple sprite demo I have written with the same PB Version under Linux, the damn thing compiles but I only get a black screen when running it. Looks like ...
by lodger
Wed Jul 04, 2007 6:26 pm
Forum: Coding Questions
Topic: How to determine the OS in use?
Replies: 12
Views: 2364

Trond wrote:If you use CompilerIf the unused code will get dropped from the exe (CompilerIf = #ifdef)
Great!! I really begin to like PureBasic ... what a cool Language!! :)
by lodger
Wed Jul 04, 2007 6:12 pm
Forum: Coding Questions
Topic: How to determine the OS in use?
Replies: 12
Views: 2364

Well, I already have at least some experience in cross-platform development. But that was done in C and for console applications only (very boring interface stuff).

Anyway, the problem is the following, On Windows I have to do this to get a screen (for drawing sprites):

If Not (OpenWindow(0, 0 ...
by lodger
Wed Jul 04, 2007 2:08 pm
Forum: Coding Questions
Topic: How to determine the OS in use?
Replies: 12
Views: 2364

well, be carefull,

OSVersion() is a runtime function while #PB_Compiler_OS is only for the compiler host (your OS while compiling, not while running).


i think OSVersion() is better suited for your purpose.

f(ucking) manual said :

Syntax

Result = OSVersion()
Description

Returns the version ...
by lodger
Wed Jul 04, 2007 11:26 am
Forum: Coding Questions
Topic: How to determine the OS in use?
Replies: 12
Views: 2364

Thank you very much, that's just what I've been searching for ... :)
by lodger
Wed Jul 04, 2007 11:12 am
Forum: Coding Questions
Topic: How to determine the OS in use?
Replies: 12
Views: 2364

How to determine the OS in use?

Hello,

I'm looking for a way to determine wether my PB Application is running on Linux, Windows or Mac OS X. There is a function called "OSVersion()" but I don't know how to handle its returncode (it's -2 when running under Linux). Has anyone a hint on how to do things right?
by lodger
Wed Jun 20, 2007 5:24 pm
Forum: Linux
Topic: [4.01] InitEngine3D
Replies: 8
Views: 5893

So this eventually means the we'll have to wait for a fixed Linux Version of PureBasic (with a working engine3d.so) or otherwise 3D doesn't work on Linux, right?!

Sad ... :(

EDIT: I've done some analyzing on my system (Ubuntu 6.10) and found an error message in the Ogre.log file. Looks like the ...
by lodger
Tue May 29, 2007 7:19 pm
Forum: Linux
Topic: Newbie Question regarding "Screen3DRequester.pb"
Replies: 2
Views: 1922

Thank you for replying so quick! :)
by lodger
Tue May 29, 2007 6:32 pm
Forum: Linux
Topic: Newbie Question regarding "Screen3DRequester.pb"
Replies: 2
Views: 1922

Newbie Question regarding "Screen3DRequester.pb"

Hello there,

I just registered and downloaded the Linux version of Purebasic 4.01. Of course, I was curious about all that 3D stuff, so I picked the camera.pb demo and wanted to run it. Unfortunately, the compiler complains about not being able to find "Screen3DRequester.pb". The file is not in the ...