<div dir="ltr">hi, <div><br></div><div>I tried to build Gem under Windows 7 with MinGW.</div><div>It failed on pix_film with this error : </div><div><br></div><div><div>$ make</div><div>Making all in src</div><div>make[1]: Entering directory `/home/antoine/pd/externals/Gem/src&#39;</div>


<div>make  all-recursive</div><div>make[2]: Entering directory `/home/antoine/pd/externals/Gem/src&#39;</div><div>Making all in Gem</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Gem&#39;</div>

<div>
UNUSED SOURCES:</div><div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Gem&#39;</div><div>Making all in RTE</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/RTE&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/RTE&#39;</div><div>Making all in Utils</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Utils&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Utils&#39;</div><div>Making all in Base</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Base&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Base&#39;</div><div>Making all in plugins</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/plugins&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/plugins&#39;</div><div>Making all in Controls</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Controls&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Controls&#39;</div><div>Making all in Geos</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Geos&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Geos&#39;</div><div>Making all in Manips</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Manips&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Manips&#39;</div><div>Making all in Nongeos</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Nongeos&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Nongeos&#39;</div><div>Making all in openGL</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/openGL&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/openGL&#39;</div><div>Making all in Particles</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Particles&#39;</div><div>UNUSED SOURCES:</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Particles&#39;</div><div>Making all in Pixes</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Pixes&#39;</div><div>/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.</div>


<div>./src  -I../../src -DGEM_INTERNAL -DGLEW_BUILD  -DPD -I/home/antoine/pd/pd.git//</div><div>src  -g -O2 -freg-struct-return -mms-bitfields -O3 -falign-loops -falign-functio</div><div>ns -falign-jumps -funroll-loops -ffast-math -mmmx -MT libPixes_la-pix_film.lo -M</div>


<div>D -MP -MF .deps/libPixes_la-pix_film.Tpo -c -o libPixes_la-pix_film.lo `test -f</div><div>&#39;pix_film.cpp&#39; || echo &#39;./&#39;`pix_film.cpp</div><div>libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNA</div>


<div>L -DGLEW_BUILD -DPD -I/home/antoine/pd/pd.git//src -g -O2 -freg-struct-return -m</div><div>ms-bitfields -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -f</div><div>fast-math -mmmx -MT libPixes_la-pix_film.lo -MD -MP -MF .deps/libPixes_la-pix_fi</div>


<div>lm.Tpo -c pix_film.cpp  -DDLL_EXPORT -DPIC -o .libs/libPixes_la-pix_film.o</div><div>pix_film.cpp: In constructor &#39;pix_film::pix_film(t_symbol*)&#39;:</div><div>pix_film.cpp:192:46: error: no matching function for call to &#39;ptw32_handle_t::pt</div>


<div>w32_handle_t(int)&#39;</div><div>pix_film.cpp:192:46: note: candidates are:</div><div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div><div> ptw32_handle_t::ptw32_handle_t()</div>


<div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div><div>   candidate expects 0 arguments, 1 provided</div><div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div>


<div> ptw32_handle_t::ptw32_handle_t(const ptw32_handle_t&amp;)</div><div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div><div>   no known conversion for argument 1 from &#39;int&#39; to &#39;const ptw32_handle_t&amp;&#39;</div>


<div>pix_film.cpp: In member function &#39;virtual void pix_film::closeMess()&#39;:</div><div>pix_film.cpp:268:15: error: no match for &#39;operator=&#39; in &#39;((pix_film*)this)-&gt;pix_</div><div>film::m_thread_id = 0&#39;</div>


<div>pix_film.cpp:268:15: note: candidate is:</div><div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div><div> ptw32_handle_t&amp; ptw32_handle_t::operator=(const ptw32_handle_t&amp;)</div>


<div>c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:</div><div>   no known conversion for argument 1 from &#39;int&#39; to &#39;const ptw32_handle_t&amp;&#39;</div><div>make[3]: *** [libPixes_la-pix_film.lo] Error 1</div>


<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Pixes&#39;</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/antoine/pd/externals/Gem/src&#39;</div><div>make[1]: *** [all] Error 2</div>


<div>make[1]: Leaving directory `/home/antoine/pd/externals/Gem/src&#39;</div><div>make: *** [all-recursive] Error 1</div></div><div><br></div><div>I tried to disable pthread by adding --disable-threads flag to ./configure but it doesn&#39;t help.</div>

<div>Does this flag only disable threading for make ?</div><div><br></div><div>note that configure with relative path to Pd doesn&#39;t work. (can&#39;t find m_pd.h)</div>
<div><br></div><div>best regards</div><div><br></div><div>a</div><div><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>


</div></div>