bph bph - 19 days ago 10x
C Question

Building CUnit on Windows

Has anyone managed to build the CUnit library for Windows?

I want to run the same unit tests under Windows that I have currently developed under linux, so I need a windows version of the cunit shared library to link to

I'm struggling badly

have MinGW and MinGW MSYS tools installed so have a gcc compiler and Make and all that

but trying the standard:

make install

fails on

I've tried installing ftjam and following the instructions in the CUnit README but its failing with:

jam -f Jambase install
Jambase: No such file or directory
don't know how to make install
...found 1 target(s)...
...can't find 1 target(s)...

fast running out of ideas here - any assistance gratefully receveived


The answer above is wrong. The correct answer is as follows:


automake --add-missing 


./configure --prefix=/mingw


make install