C++ Linux programming...
-
Thanks, Where can I find a good quickstart tutorial about that ? Thanks, greetings Braulio
-
Thanks for the info ! So KDevelop now is the point to start ( or that Kylix then is really free ??? cool !). Do you know where can I find a quick start tutorial for KDevelop and Qt? programming. Thanks Braulio
http://www.trolltech.com/products/qt/[^] There are some licensing issues with Qt. I think there are some tutorials at that website, otherwise google will help. ;) B.
-
Hi, Where to start with Linux programming, I would like to so something windowed (like the apps and that stuff that we can do with Visual Studio), but... no idea what's going on now on Linux... I've heard that there is an IDE quite similar to Visual Studio IDE, but I've heard as well, that if you program a thing for KDE, then may it won't work for another linux windows environment and... :-( Well... can you tell me some point to start ?, Thanks Braulio Ps.: I've heard as well that some people is making the .net stuff for linux ???
Consider using wxWindows. wxWindows is a portable C++ GUI framework which you can use on Windows, Linux, Mac, ... You can develop your program in Visual Studio and port the code to another platform, build it and run it. wxWindows classes are similar to MFC classes, so it's easy to get started.
-
Hi, Where to start with Linux programming, I would like to so something windowed (like the apps and that stuff that we can do with Visual Studio), but... no idea what's going on now on Linux... I've heard that there is an IDE quite similar to Visual Studio IDE, but I've heard as well, that if you program a thing for KDE, then may it won't work for another linux windows environment and... :-( Well... can you tell me some point to start ?, Thanks Braulio Ps.: I've heard as well that some people is making the .net stuff for linux ???
You have Kdevelop [^] , it's getting better with the age and kylix 3, the open version is free :-D , it produces native linux execs , but it's a pain in the butt to make it work correctly on a non linux supported linux distribution , for instance they only support RedHat 7.2 ... now the fun part is if you want to make it work correctly on RedHat 8.0 for instance , let's for a ride ;) Step 1: After you downloaded and registered with Borland , you get the kylix files and the reg file ... Now the fun begins ... Step 2: Do not install it with the default "sh setup.sh" if you install as root, the rpm manager has a bug on redhat(and on others latest distributions also) , so do a install without it like this: "sh setup.sh -m" , the steps of instalation are equal and the instalation works . Step 3: If you don't downloaded the Kylix open update 2 from borland , do it, it resolves a serious bug with locales (resources,etc...) Step 4: Now that you thought that the fun was over , it starts all over again , you must upgrade the linux kernel !!!! The damn dialogs on Kylix are always freezing ... Step 5: Go to ftp.kernel.org/pu/linux/[^] and download the latest stable linux kernel - 2.4.19 Kernel upgrade : 1. Download the kernel tarball to home directory ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.gz 2. log to superuser "su - root" 3. copy the downloaded kernel tarball to /usr/src/ "cp linux-2.4.19.tar.gz /usr/src/" 4. change to the directory you copied the kernel to "cd /usr/src/" 5. uncompress the kernel tarball "gzip -cd linux-2.4.19.tar.gz | tar xfv -" 6. delete the symbolic link and create it again to the 2.4.19 kernel "rm linux-2.4" "ln -s linux-2.4.19 linux-2.4" 7. change directory to linux-2.4 "cd /usr/src/linux-2.4" 8. make sure you have no stale .o files and dependencies lying around "make mrproper" Workaround about a bug in the visual kernel config (xconfig) !!!!!! This one also bited me hard ... linux-2.4.18-14 is the kernel used by RedHat 8 9. "cp /usr/src/linux-2.4.18-14/configs/kernel-linux-2.14.18-i386.config .config" -> this will create a local .
-
good old MOTIF, that the way to go I think. It might look pretty bad but as far as I know as long as you have X-Windows, you can run the apps. There is a freebie version of MOTIF out somewhere, I used to have to use it at university, one whole year of it. excuse the bad grammar, birthday today and quite drunk already :D
I used Motif when I was in college, and a few years ago rescued the whole Motif reference book series (more or less 8 books, roughly 8000 pages worth) that was headed for the dumpster (still shrinkwrapped!) So is this stuff still worth hanging on to, in the somewhat unlikely event that I might someday write something for Linux? My understanding is that using Motif buys you independence both from Gnome and KDE. Is this right? (This is probably getting dangerously close to a "What is Motif, and what is its place in 2002?" FAQ)...
-
Daniel Desormeaux wrote: Whatever happened to "Next/Next/Next/Finish"? Yeah! Since I currently work in a *nix environment I'm getting used to it :omg: , I losing some bad habits from the Windows world :laugh: Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech
-
You have Kdevelop [^] , it's getting better with the age and kylix 3, the open version is free :-D , it produces native linux execs , but it's a pain in the butt to make it work correctly on a non linux supported linux distribution , for instance they only support RedHat 7.2 ... now the fun part is if you want to make it work correctly on RedHat 8.0 for instance , let's for a ride ;) Step 1: After you downloaded and registered with Borland , you get the kylix files and the reg file ... Now the fun begins ... Step 2: Do not install it with the default "sh setup.sh" if you install as root, the rpm manager has a bug on redhat(and on others latest distributions also) , so do a install without it like this: "sh setup.sh -m" , the steps of instalation are equal and the instalation works . Step 3: If you don't downloaded the Kylix open update 2 from borland , do it, it resolves a serious bug with locales (resources,etc...) Step 4: Now that you thought that the fun was over , it starts all over again , you must upgrade the linux kernel !!!! The damn dialogs on Kylix are always freezing ... Step 5: Go to ftp.kernel.org/pu/linux/[^] and download the latest stable linux kernel - 2.4.19 Kernel upgrade : 1. Download the kernel tarball to home directory ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.gz 2. log to superuser "su - root" 3. copy the downloaded kernel tarball to /usr/src/ "cp linux-2.4.19.tar.gz /usr/src/" 4. change to the directory you copied the kernel to "cd /usr/src/" 5. uncompress the kernel tarball "gzip -cd linux-2.4.19.tar.gz | tar xfv -" 6. delete the symbolic link and create it again to the 2.4.19 kernel "rm linux-2.4" "ln -s linux-2.4.19 linux-2.4" 7. change directory to linux-2.4 "cd /usr/src/linux-2.4" 8. make sure you have no stale .o files and dependencies lying around "make mrproper" Workaround about a bug in the visual kernel config (xconfig) !!!!!! This one also bited me hard ... linux-2.4.18-14 is the kernel used by RedHat 8 9. "cp /usr/src/linux-2.4.18-14/configs/kernel-linux-2.14.18-i386.config .config" -> this will create a local .
-
Daniel Desormeaux wrote: Whatever happened to "Next/Next/Next/Finish"? Yeah! Since I currently work in a *nix environment I'm getting used to it :omg: , I losing some bad habits from the Windows world :laugh: Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech
IMHO that's one of the reasons I don't see Linux taking over the desktop anytime soon--the current attitude is, "oh well, you get used to it" and the Linux zealots don't have much of an incentive to improve anything beyond that. If they want Linux to take over the desktop (or even simply make inroads), they *need* to achieve the "Next/Next/Next/Finish" usability level--they need to start by putting this higher on their priority list... My two cents anyway...
-
IMHO that's one of the reasons I don't see Linux taking over the desktop anytime soon--the current attitude is, "oh well, you get used to it" and the Linux zealots don't have much of an incentive to improve anything beyond that. If they want Linux to take over the desktop (or even simply make inroads), they *need* to achieve the "Next/Next/Next/Finish" usability level--they need to start by putting this higher on their priority list... My two cents anyway...
Daniel Desormeaux wrote: they *need* to achieve the "Next/Next/Next/Finish" usability level--they need to start by putting this higher on their priority list... They are trying , but it will be a very,very long run , the kind of problems on linux that can happen are way more that n*log2n problems than on windows ... X| X| X| Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech
-
You have Kdevelop [^] , it's getting better with the age and kylix 3, the open version is free :-D , it produces native linux execs , but it's a pain in the butt to make it work correctly on a non linux supported linux distribution , for instance they only support RedHat 7.2 ... now the fun part is if you want to make it work correctly on RedHat 8.0 for instance , let's for a ride ;) Step 1: After you downloaded and registered with Borland , you get the kylix files and the reg file ... Now the fun begins ... Step 2: Do not install it with the default "sh setup.sh" if you install as root, the rpm manager has a bug on redhat(and on others latest distributions also) , so do a install without it like this: "sh setup.sh -m" , the steps of instalation are equal and the instalation works . Step 3: If you don't downloaded the Kylix open update 2 from borland , do it, it resolves a serious bug with locales (resources,etc...) Step 4: Now that you thought that the fun was over , it starts all over again , you must upgrade the linux kernel !!!! The damn dialogs on Kylix are always freezing ... Step 5: Go to ftp.kernel.org/pu/linux/[^] and download the latest stable linux kernel - 2.4.19 Kernel upgrade : 1. Download the kernel tarball to home directory ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.gz 2. log to superuser "su - root" 3. copy the downloaded kernel tarball to /usr/src/ "cp linux-2.4.19.tar.gz /usr/src/" 4. change to the directory you copied the kernel to "cd /usr/src/" 5. uncompress the kernel tarball "gzip -cd linux-2.4.19.tar.gz | tar xfv -" 6. delete the symbolic link and create it again to the 2.4.19 kernel "rm linux-2.4" "ln -s linux-2.4.19 linux-2.4" 7. change directory to linux-2.4 "cd /usr/src/linux-2.4" 8. make sure you have no stale .o files and dependencies lying around "make mrproper" Workaround about a bug in the visual kernel config (xconfig) !!!!!! This one also bited me hard ... linux-2.4.18-14 is the kernel used by RedHat 8 9. "cp /usr/src/linux-2.4.18-14/configs/kernel-linux-2.14.18-i386.config .config" -> this will create a local .
Hi Joao ! That was the thing I was afraid of... I had a similar experience one time trying to download some Apache JSP stuff, and make it work in a Mandrake version :-( So... It seems that with KDevelop it can happen the same ?, problems to install it, problems to make work your app on any linux machine :-( Greetings Braulio
-
Hi Joao ! That was the thing I was afraid of... I had a similar experience one time trying to download some Apache JSP stuff, and make it work in a Mandrake version :-( So... It seems that with KDevelop it can happen the same ?, problems to install it, problems to make work your app on any linux machine :-( Greetings Braulio
Braulio Díez wrote: So... It seems that with KDevelop it can happen the same ?, problems to install it, problems to make work your app on any linux machine Well, the problem is minor, since all the latest distributions already have KDE 3 with Kdevelop from the origin, so it's painfullness :-D Cheers,Joao Vaz And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9 Remember just because a good thing comes to an end, doesn't mean that the next one can't be better.-Chris Meech
-
Thanks, Where can I find a good quickstart tutorial about that ? Thanks, greetings Braulio
-
Hi Joao ! That was the thing I was afraid of... I had a similar experience one time trying to download some Apache JSP stuff, and make it work in a Mandrake version :-( So... It seems that with KDevelop it can happen the same ?, problems to install it, problems to make work your app on any linux machine :-( Greetings Braulio
Not very likely that you will have any problems with Kdevelop. It ships with almost every Linux distribution.
As far as Kylix 3 is concerned, I have had no trouble installing it on SuSE 8.0 and on Debian.
I highly recommend using the Debian distribution. It doesn't have a graphical installation tool, and some of the system is not as automated as either RedHat, Mandrake, nor SuSE... BUT, it has the best system update mechanism, consists of over 10,000 packages (including Apache JSP, Kdevelop, and Anjuta), have the least trouble using new third party software with (I run Win4Lin and Kylix 3). Once I setup a Debian system, there is no maintenance for me to do... none. I run a Debian workstation here at work that I have not had to reboot (even after weekly automated upgrades to the system) for anything.
There is a price to pay for this god-like efficiency, though. You install Linux, you become a UNIX system administrator instantly, without training, without previous experience to draw from, and your only help comes from either the "install support" that ships with the product or the internet. Nevertheless, this can be a good experience if you prepare yourself for it, and dump all notions that your new Linux system is going to be just like Windows.
As far as Quickstarts on programming KDE / QT, there is material for that that installs with Kdevelop. You can read and search the docs within the IDE.