<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'</div>
<div>make all-recursive</div><div>make[2]: Entering directory `/home/antoine/pd/externals/Gem/src'</div><div>Making all in Gem</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Gem'</div>
<div>
UNUSED SOURCES:</div><div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Gem'</div><div>Making all in RTE</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/RTE'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/RTE'</div><div>Making all in Utils</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Utils'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Utils'</div><div>Making all in Base</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Base'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Base'</div><div>Making all in plugins</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/plugins'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/plugins'</div><div>Making all in Controls</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Controls'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Controls'</div><div>Making all in Geos</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Geos'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Geos'</div><div>Making all in Manips</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Manips'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Manips'</div><div>Making all in Nongeos</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Nongeos'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Nongeos'</div><div>Making all in openGL</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/openGL'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/openGL'</div><div>Making all in Particles</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Particles'</div><div>UNUSED SOURCES:</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Particles'</div><div>Making all in Pixes</div><div>make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Pixes'</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>'pix_film.cpp' || echo './'`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 'pix_film::pix_film(t_symbol*)':</div><div>pix_film.cpp:192:46: error: no matching function for call to 'ptw32_handle_t::pt</div>
<div>w32_handle_t(int)'</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&)</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 'int' to 'const ptw32_handle_t&'</div>
<div>pix_film.cpp: In member function 'virtual void pix_film::closeMess()':</div><div>pix_film.cpp:268:15: error: no match for 'operator=' in '((pix_film*)this)->pix_</div><div>film::m_thread_id = 0'</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& ptw32_handle_t::operator=(const ptw32_handle_t&)</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 'int' to 'const ptw32_handle_t&'</div><div>make[3]: *** [libPixes_la-pix_film.lo] Error 1</div>
<div>make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Pixes'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/antoine/pd/externals/Gem/src'</div><div>make[1]: *** [all] Error 2</div>
<div>make[1]: Leaving directory `/home/antoine/pd/externals/Gem/src'</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'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't work. (can'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>