Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. C++ Linux programming...

C++ Linux programming...

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioc++linuxquestion
30 Posts 15 Posters 35 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Stephane Rodriguez

    For the System.Windows.Forms.* they use the WINE WIN32 emulator [^]instead of native code (said it's too hard). I am afraid to hear more bad news about this project in the future.


    Back to real work : D-22.

    P Offline
    P Offline
    Paul Watson
    wrote on last edited by
    #4

    .S.Rod. wrote: I am afraid to hear more bad news about this project in the future. Agreed. But at least they are trying and something will be better than nothing.

    Paul Watson
    Bluegrass
    Cape Town, South Africa

    Ray Cassick wrote:
    Well I am not female, not gay and I am not Paul Watson

    S 1 Reply Last reply
    0
    • P Paul Watson

      .S.Rod. wrote: I am afraid to hear more bad news about this project in the future. Agreed. But at least they are trying and something will be better than nothing.

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Ray Cassick wrote:
      Well I am not female, not gay and I am not Paul Watson

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #5

      as a MS faire-valoir only, sadly.


      Back to real work : D-22.

      1 Reply Last reply
      0
      • S Stephane Rodriguez

        For the System.Windows.Forms.* they use the WINE WIN32 emulator [^]instead of native code (said it's too hard). I am afraid to hear more bad news about this project in the future.


        Back to real work : D-22.

        S Offline
        S Offline
        Senkwe Chanda
        wrote on last edited by
        #6

        :laugh: To be fair, it's one of the most intersting open source projects I'm aware of. I saw a screenshot of mono's implementation of ADO.NET accessing MS SQL Server 2000 on XP. I thought that was impressive :-) ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff

        1 Reply Last reply
        0
        • S Stephane Rodriguez

          For the System.Windows.Forms.* they use the WINE WIN32 emulator [^]instead of native code (said it's too hard). I am afraid to hear more bad news about this project in the future.


          Back to real work : D-22.

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #7

          .S.Rod. wrote: the WINE WIN32 emulator Wine Is Not an Emulator They're quite good at behaving like a native Win32 API and you'd gain nothing going native, because WINE has a neglictible overhead. lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik

          D 1 Reply Last reply
          0
          • B Braulio Dez

            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 ???

            I Offline
            I Offline
            I dont want to be here
            wrote on last edited by
            #8

            Braulio Díez wrote: 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... The IDE you have heard of is KDevelop. I have not used it myself, but I hear its quite good, but nowhere near VS. If you develop for KDE, then you are most likely creating windowed apps with QT, so you will need the QTlibs installed on any environment your programs needs to run in. In my experience there is never any guarantees that a compiled application will run outside the environment it's been compiled for, when you are dealing with linux. --- -"Minds are like parachutes. They only work when open."

            C 1 Reply Last reply
            0
            • I I dont want to be here

              Braulio Díez wrote: 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... The IDE you have heard of is KDevelop. I have not used it myself, but I hear its quite good, but nowhere near VS. If you develop for KDE, then you are most likely creating windowed apps with QT, so you will need the QTlibs installed on any environment your programs needs to run in. In my experience there is never any guarantees that a compiled application will run outside the environment it's been compiled for, when you are dealing with linux. --- -"Minds are like parachutes. They only work when open."

              C Offline
              C Offline
              carrie
              wrote on last edited by
              #9

              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

              D 1 Reply Last reply
              0
              • B Braulio Dez

                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 ???

                M Offline
                M Offline
                markkuk
                wrote on last edited by
                #10

                KDE progrms will run on other desktop environments if the necessary libraries are available. If you write your program using the Qt library, it can be ported to Windows and Mac systems. Or you can develop your Qt program on Windows with Visual Studio IDE and then recompile it on Linux.

                B 1 Reply Last reply
                0
                • B Braulio Dez

                  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 ???

                  B Offline
                  B Offline
                  Barry Lapthorn
                  wrote on last edited by
                  #11

                  QT or GTK for window libraries, KDevelop for the IDE Mono or dotgnu for .net type thing. B.

                  B 1 Reply Last reply
                  0
                  • D Daniel Turini

                    .S.Rod. wrote: the WINE WIN32 emulator Wine Is Not an Emulator They're quite good at behaving like a native Win32 API and you'd gain nothing going native, because WINE has a neglictible overhead. lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik

                    D Offline
                    D Offline
                    Davy Mitchell
                    wrote on last edited by
                    #12

                    I've seen screenshots of WINE running IE and IE updating itself via MS Windows Update. Clever stuff - often goes wrong on Windows :) Davy Weblog, Ramblings and more... www.latedecember.com

                    1 Reply Last reply
                    0
                    • B Braulio Dez

                      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 ???

                      T Offline
                      T Offline
                      thawes
                      wrote on last edited by
                      #13

                      _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..._

                      I learned C++ on Linux and Solaris. Only in the last couple of years have I been using MSVC. Although I have grown to like MSVC, I do not consider it a good replacement for a solid shell environment (on *NIX).

                      Let me clear one thing up, the Linux windowing environment (the X Windows System) is not tied to the operating system. In fact, I currently develop my programs on Linux and re-compile them on Solaris without changing any code (so long as I have a KDE development environment running on Solaris). You can run programs developed in Kdevelop in any X Windows environment on the same platform. I run such programs in Solaris' CDE environment.

                      Kdevelop is not as advanced as MSVC. It is getting there, and is probably the best available for now. Some other contenders to watch for:

                      KDEStudio Gold (http://www.thekompany.com)
                      Is similar to Kdevelop but is a commercial product with better "intellisense-like" behaviour than Kdevelop's.

                      Anjuta (http://www.anjuta.org)
                      Is Gnome-based. Good product but still no stable release.

                      Kylix 3
                      This is Borland's free C++ Builder and Delphi for Linux. What is nice about these IDE's is that they produce project files and code that can be immediately used with the Windows versions of their products without modification. Excellent cross-platform product.

                      Mono for Linux (http://www.go-mono.org) is still under heavy development. There are no Visual Studio .Net - like IDE's for this, but Microsoft's own products are said to work with it.

                      B 1 Reply Last reply
                      0
                      • M markkuk

                        KDE progrms will run on other desktop environments if the necessary libraries are available. If you write your program using the Qt library, it can be ported to Windows and Mac systems. Or you can develop your Qt program on Windows with Visual Studio IDE and then recompile it on Linux.

                        B Offline
                        B Offline
                        Braulio Dez
                        wrote on last edited by
                        #14

                        Thanks, Where can I find a good quickstart tutorial about that ? Thanks, greetings Braulio

                        L M 2 Replies Last reply
                        0
                        • B Barry Lapthorn

                          QT or GTK for window libraries, KDevelop for the IDE Mono or dotgnu for .net type thing. B.

                          B Offline
                          B Offline
                          Braulio Dez
                          wrote on last edited by
                          #15

                          Thanks, any good link to a quick start tutorial ? Thanks greetings Braulio

                          B 1 Reply Last reply
                          0
                          • T thawes

                            _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..._

                            I learned C++ on Linux and Solaris. Only in the last couple of years have I been using MSVC. Although I have grown to like MSVC, I do not consider it a good replacement for a solid shell environment (on *NIX).

                            Let me clear one thing up, the Linux windowing environment (the X Windows System) is not tied to the operating system. In fact, I currently develop my programs on Linux and re-compile them on Solaris without changing any code (so long as I have a KDE development environment running on Solaris). You can run programs developed in Kdevelop in any X Windows environment on the same platform. I run such programs in Solaris' CDE environment.

                            Kdevelop is not as advanced as MSVC. It is getting there, and is probably the best available for now. Some other contenders to watch for:

                            KDEStudio Gold (http://www.thekompany.com)
                            Is similar to Kdevelop but is a commercial product with better "intellisense-like" behaviour than Kdevelop's.

                            Anjuta (http://www.anjuta.org)
                            Is Gnome-based. Good product but still no stable release.

                            Kylix 3
                            This is Borland's free C++ Builder and Delphi for Linux. What is nice about these IDE's is that they produce project files and code that can be immediately used with the Windows versions of their products without modification. Excellent cross-platform product.

                            Mono for Linux (http://www.go-mono.org) is still under heavy development. There are no Visual Studio .Net - like IDE's for this, but Microsoft's own products are said to work with it.

                            B Offline
                            B Offline
                            Braulio Dez
                            wrote on last edited by
                            #16

                            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

                            B 1 Reply Last reply
                            0
                            • B Braulio Dez

                              Thanks, any good link to a quick start tutorial ? Thanks greetings Braulio

                              B Offline
                              B Offline
                              Barry Lapthorn
                              wrote on last edited by
                              #17

                              Try http://www.gtk.org/[^] - there is a tutorial section. I don't think there's much for mono and the like, but then, it's .net, so why not look here :) B.

                              1 Reply Last reply
                              0
                              • B Braulio Dez

                                Thanks, Where can I find a good quickstart tutorial about that ? Thanks, greetings Braulio

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #18

                                www.trolltech.com My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers

                                1 Reply Last reply
                                0
                                • B Braulio Dez

                                  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

                                  B Offline
                                  B Offline
                                  Barry Lapthorn
                                  wrote on last edited by
                                  #19

                                  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.

                                  1 Reply Last reply
                                  0
                                  • B Braulio Dez

                                    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 ???

                                    F Offline
                                    F Offline
                                    F Braem
                                    wrote on last edited by
                                    #20

                                    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.

                                    1 Reply Last reply
                                    0
                                    • B Braulio Dez

                                      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 ???

                                      J Offline
                                      J Offline
                                      Joao Vaz
                                      wrote on last edited by
                                      #21

                                      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 .

                                      D B 2 Replies Last reply
                                      0
                                      • C carrie

                                        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

                                        D Offline
                                        D Offline
                                        dandy72
                                        wrote on last edited by
                                        #22

                                        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)...

                                        1 Reply Last reply
                                        0
                                        • D dandy72

                                          :wtf: Nice. Whatever happened to "Next/Next/Next/Finish"?

                                          J Offline
                                          J Offline
                                          Joao Vaz
                                          wrote on last edited by
                                          #23

                                          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

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups