3.50 Log

Linux specific forum
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Oh, it's soooooooo lonely here! Anyway, I finally got around to trying 3.50 and thought it may be a good idea to keep a log for the benefit of others who may give it ago. I'll update this as and when. I should mention first that I'm using Mandrake 8.2.

23/02/03 - 2000 - Installation

Weird! Discovered I had installed 3.30 somewhere in my murky past but completely forgot! So I decided just to follow 3.50's installation instructions without any clean-out. First up, a glance at the README... always read the README... it's it's sole purpose in life after all. It's says it's the fifth public release but is still "incomplete", worrying, I'll have to keep that in mind.

So I need gcc - check. But any particular version? No mention so I assume anything but 2.96 (*never ever use this version*). GTK+ 1.2 Devel - check. SDL 1.2 Devel - check. All set so now to consult INSTALL. Followed instructions, ran pbcompiler and got expected output. Refer's me back to the README so I comply... and after several loops I take a rest to watch 24 (back anon)... oh and the XFiles.

OK, back now. On to the PureBasicGuide.html to see what's what. "Specialised libraries" and full support for the Linux API mentioned but I can't find any more info so I'll come back to these at a later date. A quick glance at TODO (text file) doesn't show too much missing and I think some of the things, eg ThreadPriority(), could be done by other means. I'll leave it to others to decide how critical these missing/ incomplete functions are. For me the 3D stuff IS important but the lack of it is understandable at this stage. Anyway, one of my first real tests is going to be getting GLFW working from PB (already done on Windows) and I'll be building my 3D stuff on top of that until OGRE integration matures.

Later this week I am going to look into code editors to use with PB but for now I have to settle for the shell. Back to the guide and into the Reference Manual and onto "Using the SHELL compiler". The info is Windows specific so at least remember to use "-h" instead of "/?". The "-s" option looks interesting if I want to compile from a code editor but I don't see any reference info - maybe it's on the website somewhere? I now have enough info to run the examples so I'll finish today's log with a quick rundown of some of these. One quick note: CAPITALS!!! Correct me if I'm wrong but don't most people avoid their use? Not a problem on Windows I know, but on Linux it's a pain.

"Quick" tests of files in the Examples/Sources directory...

Arithmetic.pb - eh? Compiles ok. Run exe, no output. Check source, no output generated - intentional. Ok, not an inspired example but it works.

AsmInline.pb - Line 16: 'VALUE' is not a valid operator. Retry with "-i" and ok. Would be nice if a "compiler options" section could be included in the source file.

CDAudio.pb - (not tested)
File.pb - OK
FileSystem.pb - Left commented section as-is for now. OK
Gadget.pb - OK

GadgetFull.pb - Seems OK but not sure if "borderless" is working or what all the dropdowns are suppose to do.

Image.pb - Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 168 error_code 8 request_code 62 minor_code 0

Keyboard.pb - OK
LinkedList.pb - OK

Linux_API.pb - "gcc: PureBasic.o: No such file or directory" - aww schuks!
Menu.pb - OK (not sure "cool" applies though!)
Misc.pb - OK

Module.pb - Fails as expected, no MIDAS. Checked PB website but cannot find a link to it.

PBTest.pb - Not really a source file. Generated by one of the previous examples.

Requester.pb - All ok except PathRequester.
Sound.pb - OK
Sprite.pb - OK
String.pb - OK
WaponezII.pb - OK
Window.pb - OK

Later... no tomorrow... oh it IS tomorrow! TTFN
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Thanks for using the Linux version. It remembers me than some people heavely requested it and I don't hear them anymore here... About the MIDAS library, I will add a link on the PureBasic site soon. For me the Linux version is quite useable but I don't have time to make major development on it. Feel free to post more informations/suggestions here.


Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Fred, would you like to comment on the problem with Linux_API.pb? My gcc set-up seems ok but it looks like the compiler isn't producing anything.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.
Originally posted by fred

Thanks for using the Linux version. It remembers me than some people heavely requested it and I don't hear them anymore here...
Fred, you wanted an e-mail from interested users and I did,
but I never got the 3.5 Linux version from you per e-mail.
So I'm still waiting...

BTW:
In the mail I sent you I suggested, that including the gcc linker in PureBasic for Linux would be a good idea - or not?


Have a nice day...

Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

bump!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Reading through previous posts I get the impression that all Linux related questions are eventually left hanging. Maybe this explains why there is so little interest. Today I finally had time to give it a good testing but due to lack of response I got nowhere. So the Linux log ends before it really gets started and my next project, which was to be Linux based, gets put on hold.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Still no 'Full Linux Version' in my mailbox...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Hum, I should have skipped your email franco.. I will check again. Dmoc: I answered on IRC yesterday but you left it to soon. About the API call, there is only 2 supported for now: malloc and free which is not a big deal for now. Better try to use the regular command set if you want to make something with PB.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Hi Fred, even malloc and free don't appear to work if the Linux_API.pb example is anything to go
by. I don't have Linux booted at the moment so could you tell me if libraries (OpenLibrary(),
etc) are actually functional on Linux?

PS: Sorry about IRC, like I said I'm a newbie
Post Reply