<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 32: Compiling error on Windows 7 64 bits and MinGW</title><link>https://sourceforge.net/p/cunit/support-requests/32/</link><description>Recent changes to 32: Compiling error on Windows 7 64 bits and MinGW</description><atom:link href="https://sourceforge.net/p/cunit/support-requests/32/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 19 Jan 2016 11:36:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cunit/support-requests/32/feed.rss" rel="self" type="application/rss+xml"/><item><title>#32 Compiling error on Windows 7 64 bits and MinGW</title><link>https://sourceforge.net/p/cunit/support-requests/32/?limit=25#559b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
got it running this way:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;tar xjf CUnit-2.1-3.tar.bz2

&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;CUnit-2.1-3

&lt;span class="nv"&gt;$ &lt;/span&gt;./bootstrap /usr/local
libtoolize: putting auxiliary files in &lt;span class="sb"&gt;`&lt;/span&gt;.&lt;span class="s1"&gt;'&lt;/span&gt;
&lt;span class="s1"&gt;[...]&lt;/span&gt;
&lt;span class="s1"&gt;config.status: executing libtool commands&lt;/span&gt;

&lt;span class="s1"&gt;$ make&lt;/span&gt;
&lt;span class="s1"&gt;make  all-recursive&lt;/span&gt;
&lt;span class="s1"&gt;[...]&lt;/span&gt;
&lt;span class="s1"&gt;c:\mingw\include\io.h:301:1: error: unknown type name '&lt;/span&gt;off64_t&lt;span class="s1"&gt;'&lt;/span&gt;
&lt;span class="s1"&gt; __CRT_INLINE off64_t lseek64 (int, off64_t, int);&lt;/span&gt;
&lt;span class="s1"&gt; ^&lt;/span&gt;
&lt;span class="s1"&gt;[...]&lt;/span&gt;
&lt;span class="s1"&gt;c:\mingw\bin\strip.exe: '&lt;/span&gt;./AutomatedTest.exe&lt;span class="err"&gt;'&lt;/span&gt;: No such file
../../libtool: line 9535: ./AutomatedTest.exe: No such file or directory
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;

&lt;span class="nv"&gt;$ &lt;/span&gt;make install
Making install in CUnit
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;

&lt;span class="nv"&gt;$ &lt;/span&gt;ls /usr/local/include/CUnit/
Automated.h  CUError.h  CUnit_intl.h  MyMem.h   TestRun.h
Basic.h      CUnit.h    Console.h     TestDB.h  Util.h

&lt;span class="nv"&gt;$ &lt;/span&gt;ls /usr/local/lib/
libcunit.a  libcunit.la  pkgconfig
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;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&lt;/p&gt;
&lt;p&gt;Looks like /usr/local/include and /usr/local/lib are not default search paths for mingw, so add:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;CUNIT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/usr/local
&lt;span class="err"&gt;...&lt;/span&gt; &lt;span class="err"&gt;gcc&lt;/span&gt; &lt;span class="s2"&gt;"-I$(CUNIT)/include"&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
&lt;span class="err"&gt;...&lt;/span&gt; &lt;span class="err"&gt;gcc&lt;/span&gt; &lt;span class="s2"&gt;"-L$(CUNIT)/lib"&lt;/span&gt; &lt;span class="err"&gt;...&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;to your makefile.&lt;/p&gt;
&lt;p&gt;HTH&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Pischky</dc:creator><pubDate>Tue, 19 Jan 2016 11:36:47 -0000</pubDate><guid>https://sourceforge.net22904c076ab5e5882a28aadc50582ea79ee3729a</guid></item><item><title>#32 Compiling error on Windows 7 64 bits and MinGW</title><link>https://sourceforge.net/p/cunit/support-requests/32/?limit=25#6644</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Have also problems with this. Tried with configure and make as decribed in README:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;tar xjf CUnit-2.1-3.ta
&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;CUnit-2.1-3
&lt;span class="nv"&gt;$ &lt;/span&gt;aclocal
&lt;span class="nv"&gt;$ &lt;/span&gt;autoconf
&lt;span class="nv"&gt;$ &lt;/span&gt;automake --add-missing
&lt;span class="nv"&gt;$ &lt;/span&gt;automake
configure.in:161: required file &lt;span class="sb"&gt;`&lt;/span&gt;./ltmain.sh&lt;span class="s1"&gt;' not found&lt;/span&gt;
&lt;span class="s1"&gt;CUnit/Sources/Framework/Makefile.am:20: `%'&lt;/span&gt;-style pattern &lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt; nsion
configure.in:211: required file &lt;span class="sb"&gt;`&lt;/span&gt;config.h.in&lt;span class="s1"&gt;' not found&lt;/span&gt;
&lt;span class="s1"&gt;$ autoheader&lt;/span&gt;
&lt;span class="s1"&gt;$ automake&lt;/span&gt;
&lt;span class="s1"&gt;configure.in:161: required file `./ltmain.sh'&lt;/span&gt; not found
CUnit/Sources/Framework/Makefile.am:20: &lt;span class="sb"&gt;`&lt;/span&gt;%&lt;span class="s1"&gt;'-style pattern [...] nsion&lt;/span&gt;
&lt;span class="s1"&gt;$ ./configure &lt;/span&gt;
&lt;span class="s1"&gt;[...]&lt;/span&gt;
&lt;span class="s1"&gt;config.status: executing libtool commands&lt;/span&gt;
&lt;span class="s1"&gt;sed: can'&lt;/span&gt;t &lt;span class="nb"&gt;read&lt;/span&gt; ./ltmain.sh: No such file or directory
sed: can&lt;span class="err"&gt;'&lt;/span&gt;t &lt;span class="nb"&gt;read &lt;/span&gt;libtoolT: No such file or directory
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Looks like building with configure and make is not supported. Will have to try ftjam.&lt;/p&gt;
&lt;p&gt;If anybody has thsi running on mingw, please let me know what's wrong...&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Pischky</dc:creator><pubDate>Sun, 17 Jan 2016 17:43:33 -0000</pubDate><guid>https://sourceforge.netdf670d1c6a6eb22bdc4bf9fbcf3f64b1aa088e5d</guid></item><item><title>Compiling error on Windows 7 64 bits and MinGW</title><link>https://sourceforge.net/p/cunit/support-requests/32/</link><description>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&gt; 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.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 12 Nov 2012 13:56:36 -0000</pubDate><guid>https://sourceforge.net7b9a35c728abbf9211b008d8dca973a015437f25</guid></item></channel></rss>