Page 1 of 1
Learning to write for Linux
Posted: Sat Oct 21, 2006 9:48 pm
by Don_Seglio
Hello, I'm a relatively newbie with Linux and moving away from Windows. I would like to start learning programming for Linux and I'm wondering if there are any good books or web sites the you would recommend for me to learn Linux programming.
Unfortunatly I did not notice that the Visual Designer was not available for Linux so all the interfacing to the user is going to have to be done by hand rather through a drag and drop system.
I also own a MAC and would like to be able to write software that will recompile in a Mac without too much teaking.
Thanks
Posted: Sat Oct 21, 2006 10:45 pm
by dell_jockey
Hi Don_Seglio
you've come to the right place! Welcome!
For Linux and Mac, PureBasic is available in version 3.94. On Win32, release 4.0 is the latest.
'73
ex PE1OKN
New PureBasic user
Posted: Sun Oct 22, 2006 12:48 am
by Don_Seglio
I purchased a copy of PureBasic yesterday for use in writting little tools or small to medium size programs that I could move across platforms.
I'm hoping to use common multi-platform libraries such as SDL for multimedia, but I don't know what is available for thing like TCP/IP sockets, UDP, Windowing gadgets...etc.
Most of what I have written has been with Borland Delphi for Windows and I did not have to concern myself with such details, it was all handled for me. Maybe I don't know what I'm talking about and PureBasic already has interfaces to multi-OS libraries to do the things I need.
I will be doing GUI's, reading and writing sound files, as high as 192KHz sampling rates, and interfacing to C Math libraries. And I want this software to work for Windows, Linux, and OSX.
Posted: Sun Oct 22, 2006 1:23 am
by Don_Seglio
Here is a sample of what the application would look like or close in principle.
http://www.hpsdr.com/Public/Photos/PowerSDR.JPG
The center area with the graph would be constantly updated, is usually set it to at least 8 times a second.
Posted: Sun Oct 22, 2006 10:36 am
by WishMaster
This shouldn't be a problem.
Just read the help chapter
Gadgets 
Posted: Mon Oct 23, 2006 11:08 am
by thamarok
Welcome to the forums Don_Seglio!
The Linux version is soon going on 4.0. Just wait a little as the alpha version (which is avalaible only for people with special access

) is quite stable and a beta is soon coming.
If you have any problems or need help in coding, just ask your question here and it will get answered pretty quickly.
I am a Debian Developer myself, and I have made great small and big projects with PureBasic for Linux.
Best regards, Thamarok.
Posted: Mon Oct 23, 2006 1:43 pm
by Don_Seglio
Thanks for your reply.
Looking forward to see Version 4.0
Posted: Mon Oct 23, 2006 8:34 pm
by garretthylltun
thamarok wrote:the alpha version (which is avalaible only for people with special access

) is quite stable and a beta is soon coming.
By chance would you know what windowing library 4.0 is now using? Same
as before? or GTK2, FLTK, Other?
Thanks,
-Garrett
Posted: Mon Oct 23, 2006 11:06 pm
by walker
It will be GTK2 used by default....

Posted: Tue Oct 24, 2006 11:07 am
by thamarok
garretthylltun wrote:thamarok wrote:the alpha version (which is avalaible only for people with special access

) is quite stable and a beta is soon coming.
By chance would you know what windowing library 4.0 is now using? Same
as before? or GTK2, FLTK, Other?
Thanks,
-Garrett
GTK2 as walker said.
And with my experience, I can say that the Alpha release is stable enough for a big project as many bugs are ironed out very quickly.
Having that said, the Beta release should be very stable so I assume that Don_Seglio won't have a problem starting on smaller or bigger projects.
Posted: Tue Oct 24, 2006 1:06 pm
by Don_Seglio
I'm hoping it's stable enough so I can start testing and see how fast PureBasic is. From the little programs that I have played with it seems like it is fairly fast.
What I want to do for now is besides using PureBasic to write little tools for the different OS's that I use is;
Use PureBasic to create a Visual interface and glue logic to a highly optimized existing C/Assembler library that does real-time DSP audio processing.
That library is available for Windows, Linux and OS X, so hopefully carefully written code for one platform will work for the others.
My personal goal is to move away from Windows and use Linux and OS X only. There is no big rush there since all my main PC's are on Linux and Windows is already almost out of use. I would like the final product to still run under Windows to be able to share it with the vast majority of friends that are running Windows.
So far I'm pretty encouraged that PureBasic will be capable of doing what I want out of it. Since I will share the source code it might add a few users to PureBasic also.
Posted: Fri Oct 27, 2006 9:40 pm
by don.seglio
I just downloaded Version 4 Beta and things are looking up. Even though it does not have the Visual Designer yet, I took the code generated from a small test of the Windows Visual Designer and it compiled and ran fine, happy days!