Learning to write for Linux

Linux specific forum
Don_Seglio
New User
New User
Posts: 7
Joined: Sat Oct 21, 2006 8:37 pm
Location: NW Arkansas, USA
Contact:

Learning to write for Linux

Post 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
Don Seglio (Cecil)
KD5NWA
www.hpsdr.com www.qrpradio.com

"Sacred Cows make the best Hamburger!" Don Seglio Batuna
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post 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
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Don_Seglio
New User
New User
Posts: 7
Joined: Sat Oct 21, 2006 8:37 pm
Location: NW Arkansas, USA
Contact:

New PureBasic user

Post 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.
Don Seglio (Cecil)
KD5NWA
www.hpsdr.com www.qrpradio.com

"Sacred Cows make the best Hamburger!" Don Seglio Batuna
Don_Seglio
New User
New User
Posts: 7
Joined: Sat Oct 21, 2006 8:37 pm
Location: NW Arkansas, USA
Contact:

Post 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.
Don Seglio (Cecil)
KD5NWA
www.hpsdr.com www.qrpradio.com

"Sacred Cows make the best Hamburger!" Don Seglio Batuna
WishMaster
Enthusiast
Enthusiast
Posts: 277
Joined: Fri Jun 17, 2005 7:13 pm
Location: Franconia
Contact:

Post by WishMaster »

This shouldn't be a problem.
Just read the help chapter Gadgets :wink:
Image Image
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post 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 :wink: ) 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.
Don_Seglio
New User
New User
Posts: 7
Joined: Sat Oct 21, 2006 8:37 pm
Location: NW Arkansas, USA
Contact:

Post by Don_Seglio »

Thanks for your reply.

Looking forward to see Version 4.0
Don Seglio (Cecil)
KD5NWA
www.hpsdr.com www.qrpradio.com

"Sacred Cows make the best Hamburger!" Don Seglio Batuna
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Post by garretthylltun »

thamarok wrote:the alpha version (which is avalaible only for people with special access :wink: ) 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
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

It will be GTK2 used by default.... 8)
thamarok
Enthusiast
Enthusiast
Posts: 282
Joined: Wed Sep 06, 2006 1:37 pm

Post by thamarok »

garretthylltun wrote:
thamarok wrote:the alpha version (which is avalaible only for people with special access :wink: ) 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.
Don_Seglio
New User
New User
Posts: 7
Joined: Sat Oct 21, 2006 8:37 pm
Location: NW Arkansas, USA
Contact:

Post 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.
Don Seglio (Cecil)
KD5NWA
www.hpsdr.com www.qrpradio.com

"Sacred Cows make the best Hamburger!" Don Seglio Batuna
don.seglio
New User
New User
Posts: 3
Joined: Fri Oct 27, 2006 6:15 pm
Location: NW Arkansas, USA

Post 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!
Post Reply