在Windows上建立CUNIT [英] Building CUnit on Windows

查看:1529
本文介绍了在Windows上建立CUNIT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人成功地建立起了库尼特库为Windows?

Has anyone managed to build the CUnit library for Windows?

我想在Windows上运行相同的单元测试,我目前正在开发的linux,所以我需要的库尼特共享库的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

我挣扎厉害

安装MinGW和MSYS的MinGW工具,以便有一个gcc编译器以及品牌和所有的

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

但在尝试的标准:

./configure
make
make install

在失败 ./配置

我试过安装ftjam并遵照CUNIT自述文件的说明,但它与失败的:

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)...

快速运行的想法在这里 - 任何帮助感激receveived

fast running out of ideas here - any assistance gratefully receveived

推荐答案

上面的答案是错的。
正确的答案是:

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

libtoolize

automake --add-missing 

autoreconf

./configure --prefix=/mingw

make

make install

这篇关于在Windows上建立CUNIT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆