Hello. I don't have any problem to use CUnit on Linux but on Windows it's a real challenge... I've installed MinGW correctly, check the PATH environement variable (C:\MinGW\bin;) and I use Windows PowerShell to go to the CUnit directory. I can perform the command sh .\configure and all the step is correctly executed. After that, I try the make command but it fails with the error :
PS C:\Users\cyrill.gremaud\Downloads\CUnit-2.1-2> make
/c/Users/cyrill.gremaud/Downloads/CUnit-2.1-2/"C:/MinGW/msys/1.0/bin/make.exe" all-recursive
/bin/sh: /c/Users/cyrill.gremaud/Downloads/CUnit-2.1-2/C:/MinGW/msys/1.0/bin/make.exe: No such file or directory
make.exe": *** [all] Error 127
I've look into the FAQ, the forum, my best friend Google but I don't find the solution. Thanks for your help.
Anonymous
Have also problems with this. Tried with configure and make as decribed in README:
Looks like building with configure and make is not supported. Will have to try ftjam.
If anybody has thsi running on mingw, please let me know what's wrong...
Martin
Last edit: Martin Pischky 2016-01-17
Hallo,
got it running this way:
Now I can compile exe files with static linked cunit lib. The installation is done in /usr/local wich maps to C:\MinGW\msys\1.0\local on my system. Documentation ist in C:\MinGW\msys\1.0\local\doc\CUnit\index.html
Looks like /usr/local/include and /usr/local/lib are not default search paths for mingw, so add:
to your makefile.
HTH
Martin
Last edit: Martin Pischky 2016-01-19