Menu

Using WxWidgets and Dev-C++

Z_K
2008-06-15
2012-09-26
  • Z_K

    Z_K - 2008-06-15

    OS: Windows XP Pro
    Dev-C++ version: 4.9.9.2

    I know there is a version called wxDev-C++, but I would prefer to use the WxWidgets that I have already installed as I use it with another compiler and I don't want it to conflict with the one wxDev-C++ uses. Is there a good tutorial to use that I will allow me to use my current wxWidgets directory and integrate it into my new projects wizard? I have seen a number of good tutorials, but they depend on downloading a specialized version just for Dev-C++.

    Z.K.

     
    • cpns

      cpns - 2008-06-15

      There should be few or no problem using wxDevCpp and an existing version, or even configuring wxDevCpp to use your preferred version, however it will have to be a MinGW/GCC build. wxDevCpp has its own web-site and forum where you might get advice.

      Dev-C++ is not a compiler. The compiler it drives is MinGW/GCC. If the existing library you have is not for MinGW/GCC, you will probably not be able to use it, and certainly not without a little work (Microsoft export libraries can be converted, but that is only useful for the DLL library, normal static libraries cannot be converted).

      You should perhaps tell us what the other compiler is. If it is not another GNU compiler, you are even less likely to have conflicts, but also at the same time you will not be able to use it with Dev-C++.

      There is no 'specialized' version for Dev-C++, there is a DevPak for wxWidgets, but that is no more than a build of wxWidgets for MinGW/GCC (that you will need in any case), and some project templates, which you can ignore if you choose. That said, last time I tried to get the DevPak to work, it would not build its own template project. That was a long time ago however; in fact it was my first ever post here.

      If you do have an appropriate build of wxWidgets, you can easily create a new project template. The structure of a template is trivially simple. Take a look in the Templates folder, and copy/modify the existing template files. They are just text files for project settings, default code, and creation of entries in the project template dialog box.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.