Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use Google Test on MinGW?

google mingw Test
0
Posted

Can I use Google Test on MinGW?

0

We haven’t tested this ourselves, but Per Abrahamsen reported that he was able to compile and install Google Test successfully when using MinGW from Cygwin. You’ll need to configure it with: PATH/TO/configure CC=”gcc -mno-cygwin” CXX=”g++ -mno-cygwin” You should be able to replace the -mno-cygwin option with direct links to the real MinGW binaries, but we haven’t tried that. Caveats: • There are many warnings when compiling. • make check will produce some errors as not all tests for Google Test itself are compatible with MinGW. We also have reports on successful cross compilation of Google Test MinGW binaries on Linux using these instructions on the WxWidgets site. Please contact googletestframework@googlegroups.com if you are interested in improving the support for MinGW.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123