Menu

Unit++ on Windows

Help
2004-11-11
2013-04-15
  • Brad Adkins

    Brad Adkins - 2004-11-11

    I would like to compile and install Unit++ using MinGW. The Configure script has me stymied. How can I run the Configure script on Windows to build/install Unit++. Or does anyone have a windows makefile that works with GNU g++. Best Regards, Brad Adkins.

     
    • Claus Dræby

      Claus Dræby - 2004-11-11

      Hi Brad.

      Even though I am not not much of a Windows users, I have the following advice:

      Plan a:
      Installing cygwin should allow you to run the configure script under windows. This is basically uniw under windows and should just work. I havn't tried it though, so there might be unforseen problems...

      Plan b:
      Make a Makefile by copying and editing Makefile.in. Just replace the @variable@ in the first lines with appropriate values.

      Plan c:
      Use some window IDE and set up a project with all the files from the project. Every file that starts with Test_ are the unit++ tests for unit++, all the rest of the .cc files should go into a library *(libunit++, or whatever the naming convention for a library named unit++ is under windows), and that and the include files places at an appropriate place in the files system.

      If you end up with somethings that works I would like to hear about it `-)

      Best regards,
      Azhrarn, aka Claus

       
    • Brad Adkins

      Brad Adkins - 2004-11-11

      Thank you very much for the very nice detailed reply. I will give these suggestions a try and will certainly post the results here if I am successful. BA.

       
    • Brad Adkins

      Brad Adkins - 2004-11-11

      My makefile knowledge is weak but I was able to successfully build using "Plan b". I had to install the header files and resulting library file by hand to my MinGW path, and I did not try to build with Qt support but it appears to have been successful. I am now following the novice tutorial by Mats Wolpers and have his first example program running. Cheers! BA.

       

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.