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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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.
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.