hi, 

I tried to build Gem under Windows 7 with MinGW.
It failed on pix_film with this error : 

$ make
Making all in src
make[1]: Entering directory `/home/antoine/pd/externals/Gem/src'
make  all-recursive
make[2]: Entering directory `/home/antoine/pd/externals/Gem/src'
Making all in Gem
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Gem'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Gem'
Making all in RTE
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/RTE'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/RTE'
Making all in Utils
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Utils'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Utils'
Making all in Base
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Base'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Base'
Making all in plugins
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/plugins'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/plugins'
Making all in Controls
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Controls'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Controls'
Making all in Geos
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Geos'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Geos'
Making all in Manips
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Manips'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Manips'
Making all in Nongeos
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Nongeos'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Nongeos'
Making all in openGL
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/openGL'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/openGL'
Making all in Particles
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Particles'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Particles'
Making all in Pixes
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Pixes'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.
./src  -I../../src -DGEM_INTERNAL -DGLEW_BUILD  -DPD -I/home/antoine/pd/pd.git//
src  -g -O2 -freg-struct-return -mms-bitfields -O3 -falign-loops -falign-functio
ns -falign-jumps -funroll-loops -ffast-math -mmmx -MT libPixes_la-pix_film.lo -M
D -MP -MF .deps/libPixes_la-pix_film.Tpo -c -o libPixes_la-pix_film.lo `test -f
'pix_film.cpp' || echo './'`pix_film.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNA
L -DGLEW_BUILD -DPD -I/home/antoine/pd/pd.git//src -g -O2 -freg-struct-return -m
ms-bitfields -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -f
fast-math -mmmx -MT libPixes_la-pix_film.lo -MD -MP -MF .deps/libPixes_la-pix_fi
lm.Tpo -c pix_film.cpp  -DDLL_EXPORT -DPIC -o .libs/libPixes_la-pix_film.o
pix_film.cpp: In constructor 'pix_film::pix_film(t_symbol*)':
pix_film.cpp:192:46: error: no matching function for call to 'ptw32_handle_t::pt
w32_handle_t(int)'
pix_film.cpp:192:46: note: candidates are:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
 ptw32_handle_t::ptw32_handle_t()
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
   candidate expects 0 arguments, 1 provided
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
 ptw32_handle_t::ptw32_handle_t(const ptw32_handle_t&)
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
   no known conversion for argument 1 from 'int' to 'const ptw32_handle_t&'
pix_film.cpp: In member function 'virtual void pix_film::closeMess()':
pix_film.cpp:268:15: error: no match for 'operator=' in '((pix_film*)this)->pix_
film::m_thread_id = 0'
pix_film.cpp:268:15: note: candidate is:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
 ptw32_handle_t& ptw32_handle_t::operator=(const ptw32_handle_t&)
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3: note:
   no known conversion for argument 1 from 'int' to 'const ptw32_handle_t&'
make[3]: *** [libPixes_la-pix_film.lo] Error 1
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Pixes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/antoine/pd/externals/Gem/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/antoine/pd/externals/Gem/src'
make: *** [all-recursive] Error 1

I tried to disable pthread by adding --disable-threads flag to ./configure but it doesn't help.
Does this flag only disable threading for make ?

note that configure with relative path to Pd doesn't work. (can't find m_pd.h)

best regards

a
--
do it yourself                      
http://antoine.villeret.free.fr