Hi list,
Just an fyi and question about building flext on winxp using mingw:
from build.txt:
"Please be aware that the build system might have difficulties handling paths with spaces."
Unclear whether this statement only applies to the directory in which you are building
flext or everything including your installation of pd. If it is the latter then this is confused by
the fact that config-win-pd-mingw seems to point by default to %ProgramFiles%\pd which
is guaranteed to have spaces in it.
also from buildsys\config-win-pd-mingw:
# path to pthreads headers (PD comes with some in the src folder)
as far as I can tell this simply isn't true except for an old branch of pd where the header file
no longer even exists. But the bigger problem is that mingw itself doesn't
come with support for pthreads. However, there is a third party library here:
http://sourceware.org/pthreads-win32/
Unfortunately when I a) put the pthread.h header file in path-to-pd\include, and b) put the
executable + library files in path-to-pd\ I get errors at the end of the compilation that it
can't find _imp__* (below). If I set LDFLAGS to -static then I still get an error that it can't find -lpd
at the very end.
I don't see any other options in the notes or build instructions.
Downloaded flext using:
svn co https://svn.grrrr.org/ext/trunk/flext flext
This is with 0.43.4-extended-20130111.
-Jonathan
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fll
ib.cpp -o pd-mingw\release-shared\fllib.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flx
let.cpp -o pd-mingw\release-shared\flxlet.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fla
ttr.cpp -o pd-mingw\release-shared\flattr.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fla
ttr_ed.cpp -o pd-mingw\release-shared\flattr_ed.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fls
upport.cpp -o pd-mingw\release-shared\flsupport.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flu
til.cpp -o pd-mingw\release-shared\flutil.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fla
tom.cpp -o pd-mingw\release-shared\flatom.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fla
tom_pr.cpp -o pd-mingw\release-shared\flatom_pr.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flt
hr.cpp -o pd-mingw\release-shared\flthr.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flt
imer.cpp -o pd-mingw\release-shared\fltimer.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fls
imd.cpp -o pd-mingw\release-shared\flsimd.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flo
ut.cpp -o pd-mingw\release-shared\flout.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fla
tom_part.cpp -o pd-mingw\release-shared\flatom_part.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/fli
tem.cpp -o pd-mingw\release-shared\flitem.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flm
eth.cpp -o pd-mingw\release-shared\flmeth.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flm
sg.cpp -o pd-mingw\release-shared\flmsg.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flp
roxy.cpp -o pd-mingw\release-shared\flproxy.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flq
ueue.cpp -o pd-mingw\release-shared\flqueue.opp
source/flqueue.cpp:47:14: warning: declaration 'struct flext_shared::MsgBundle'
does not declare anything [enabled by default]
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flb
ind.cpp -o pd-mingw\release-shared\flbind.opp
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -D_WIN32_WINNT=0x500
-mms-bitfields -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_SHARED -DFL
EXT_EXPORTS -DFLEXT_SYS=2 -DPD -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/p
d"/src -I"%ProgramFiles%/pd"/include -I"%ProgramFiles%/pd"/include/pd source/flm
ap.cpp -o pd-mingw\release-shared\flmap.opp
g++ -shared -Wl,-S -L"%ProgramFiles%\pd"\bin -L"%ProgramFiles%\pd"/bin -o pd-min
gw\release-shared\libflext-pd.dll pd-mingw\release-shared\flbase.opp pd-mingw
release-shared\flext.opp pd-mingw\release-shared\flbuf.opp pd-mingw\release-shar
ed\fldsp.opp pd-mingw\release-shared\fllib.opp pd-mingw\release-shared\flxlet.op
p pd-mingw\release-shared\flattr.opp pd-mingw\release-shared\flattr_ed.opp pd-mi
ngw\release-shared\flsupport.opp pd-mingw\release-shared\flutil.opp pd-mingw\rel
ease-shared\flatom.opp pd-mingw\release-shared\flatom_pr.opp pd-mingw\release-sh
ared\flthr.opp pd-mingw\release-shared\fltimer.opp pd-mingw\release-shared\flsim
d.opp pd-mingw\release-shared\flout.opp pd-mingw\release-shared\flatom_part.opp
pd-mingw\release-shared\flitem.opp pd-mingw\release-shared\flmeth.opp pd-mingw\r
elease-shared\flmsg.opp pd-mingw\release-shared\flproxy.opp pd-mingw\release-sha
red\flqueue.opp pd-mingw\release-shared\flbind.opp pd-mingw\release-shared\flmap
.opp -lpd
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0xa0): undefined refe
rence to _imp__pthread_self' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1f): undefined reference to
_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x3d): undefined reference to
_imp__sched_get_priority_min' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x54): undefined reference to
_imp__sched_get_priority_max'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7b): undefined reference to
_imp__pthread_setschedparam' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x586): undefined reference t o
_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x59e): undefined reference t
o _imp__pthread_mutex_lock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x5bf): undefined reference t o
_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x731): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x74b): undefined reference t o
_imp__pthread_attr_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x75c): undefined reference t
o _imp__pthread_attr_setdetachstate' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x794): undefined reference t o
_imp__pthread_mutex_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7a8): undefined reference t
o _imp__pthread_cond_init' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7c8): undefined reference t o
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7d8): undefined reference t
o _imp__pthread_cond_wait' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7e1): undefined reference t o
_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x84c): undefined reference t
o _imp__pthread_create' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x952): undefined reference t o
_imp__pthread_mutex_destroy'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xb7a): undefined reference t
o _imp__pthread_mutex_init' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xb8d): undefined reference t o
_imp__pthread_attr_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xb9e): undefined reference t
o _imp__pthread_attr_setdetachstate' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xbbf): undefined reference t o
_imp__pthread_create'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xbf0): undefined reference t
o _imp__pthread_attr_destroy' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc86): undefined reference t o
_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xd1b): undefined reference t
o _imp__pthread_cond_signal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1137): undefined reference to
_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1231): undefined reference
to _imp__pthread_cond_signal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x137f): undefined reference to
_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x13fd): undefined reference
to _imp__pthread_equal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1589): undefined reference to
_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x15b6): undefined reference
to _imp__pthread_mutex_lock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x15d5): undefined reference to
_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x15f0): undefined reference
to _imp__pthread_self' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1606): undefined reference to
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1636): undefined reference
to _imp__pthread_mutex_unlock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1652): undefined reference to
_imp__pthread_equal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x190a): undefined reference
to _imp__pthread_equal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b13): undefined reference to
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b3a): undefined reference
to _imp__pthread_mutex_unlock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b4f): undefined reference to
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b76): undefined reference
to _imp__pthread_mutex_unlock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b8f): undefined reference to
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b95): undefined reference
to _imp__pthread_self' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1c15): undefined reference to
_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1fee): undefined reference
to _imp__pthread_cond_signal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2008): undefined reference to
_imp__pthread_cancel'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2207): undefined reference
to _imp__pthread_cond_signal' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x236d): undefined reference to
_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x238c): undefined reference
to _imp__sched_get_priority_min' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x23a3): undefined reference to
_imp__sched_get_priority_max'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x23ca): undefined reference
to _imp__pthread_setschedparam' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2420): undefined reference to
_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x245f): undefined reference
to _imp__pthread_getschedparam' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2486): undefined reference to
_imp__pthread_setschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2606): undefined reference
to _imp__pthread_mutex_lock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2616): undefined reference to
_imp__pthread_cond_wait'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2621): undefined reference
to _imp__pthread_mutex_unlock' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x26c0): undefined reference to
_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x26d8): undefined reference
to _imp__pthread_cond_timedwait' pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x26e3): undefined reference to
_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0xab): undefined reference to
_imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0xcc): undefined reference to
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x137): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x15a): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x1cf): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x1f2): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x261): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x284): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x30e): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x331): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x3ef): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x410): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x49b): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x4bc): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x51d): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x53e): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x59d): undefined reference t
o _imp__pthread_self' pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x5be): undefined reference t o
_imp__pthread_equal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xd): undefined reference
to _imp__pthread_cond_destroy' pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x1a): undefined referenc e to
_imp__pthread_mutex_destroy'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x2e): undefined referenc
e to _imp__pthread_mutex_destroy' pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x645): undefined referen ce to
_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x80d): undefined referen
ce to _imp__pthread_cond_signal' pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xa64): undefined referen ce to
_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xcbe): undefined referen
ce to _imp__pthread_cond_signal' pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xf14): undefined referen ce to
_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x11da): more undefined r
eferences to _imp__pthread_cond_signal' follow pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x3409): undefined refere nce to
_imp__pthread_self'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text.startup+0x213): undefined
reference to _imp__pthread_mutex_init' pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text.startup+0x228): undefined reference to
_imp__pthread_cond_init'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text.startup+0x259): undefined
reference to _imp__pthread_mutex_destroy' collect2: ld returned 1 exit status mingw32-make[1]: *** [pd-mingw\release-shared\libflext-pd.dll] Error 1 mingw32-make[1]: Leaving directory
C:/flext/flext'
mingw32-make: *** [build-release-shared] Error 2
C:\flext\flext>
On Tue, 2013-05-07 at 22:30 -0700, Jonathan Wilkes wrote:
Hi list, Just an fyi and question about building flext on winxp using mingw:
from build.txt: "Please be aware that the build system might have difficulties handling paths with spaces."
Unclear whether this statement only applies to the directory in which you are building flext or everything including your installation of pd. If it is the latter then this is confused by the fact that config-win-pd-mingw seems to point by default to % ProgramFiles%\pd which is guaranteed to have spaces in it.
With English locale, yes. If you have a Windows in German Language, this path might indeed does not contain spaces. Considering the author of flext is German speaking, he might not have anticipated this very issue.
Just a guess.
Roman
Actually i have encountered this issue, but haven't had the time and nerve to deal with it in the Windows batch file "language". It's a quite tricky issue and i am not sure it is really solvable. But contributions are welcome! gr~~~
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 08:46 schrieb Roman Haefeli:
On Tue, 2013-05-07 at 22:30 -0700, Jonathan Wilkes wrote:
Hi list, Just an fyi and question about building flext on winxp using mingw:
from build.txt: "Please be aware that the build system might have difficulties handling paths with spaces."
Unclear whether this statement only applies to the directory in which you are building flext or everything including your installation of pd. If it is the latter then this is confused by the fact that config-win-pd-mingw seems to point by default to % ProgramFiles%\pd which is guaranteed to have spaces in it.
With English locale, yes. If you have a Windows in German Language, this path might indeed does not contain spaces. Considering the author of flext is German speaking, he might not have anticipated this very issue.
Just a guess.
Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had the time and nerve to deal with it in the Windows batch file "language". It's a quite tricky issue and i am not sure it is really solvable. But contributions are welcome! gr~~~
Hi Thomas, I tried putting the pd-extended install in a root directory with no spaces and I still get the errors listed in the previous email.
The build instructions say that mingw on windows is a tested configuration. I'm using the only pthreads implementation for mingw I can find which is at: http://sourceware.org/pthreads-win32/
I've got the header in path-to-pd/include and the dll/lib stuff in path-to-pd/bin. I've even tried renaming to pthread.dll but it doesn't make a difference.
Which pthreads implementation did you use to test mingw? Do you have a copy of the libs/headers you can send me?
-Jonathan
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 08:46 schrieb Roman Haefeli:
On Tue, 2013-05-07 at 22:30 -0700, Jonathan Wilkes wrote:
Hi list, Just an fyi and question about building flext on winxp using mingw:
from build.txt: "Please be aware that the build system might have difficulties handling paths with spaces."
Unclear whether this statement only applies to the directory in which you are building flext or everything including your installation of pd. If it is the latter then this is confused by the fact that config-win-pd-mingw seems to point by default to % ProgramFiles%\pd which is guaranteed to have spaces in it.
With English locale, yes. If you have a Windows in German Language, this path might indeed does not contain spaces. Considering the author of flext is German speaking, he might not have anticipated this very issue.
Just a guess.
Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org; Roman Haefeli reduzent@gmail.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 1:09 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had the time and
nerve
to deal with it in the Windows batch file "language". It's a
quite
tricky issue and i am not sure it is really solvable. But contributions are
welcome!
Found it in: buildsys/win/pd/gnumake-mingw
The -lpthreadVC flag must come last. (Not sure how you got it to compile that way.)
But with the newest version of mingw-get-inst the real solution is to remove the entire ifdef around setting those flags because pthread is included with mingw (contrary to the mingw documentation which explicitly says its missing).
Also the -mno-cygwin flag is no longer supported and will break the compilation so it must be removed.
-Jonathan
Hi Jonathan,
thanks for your feedback - i have to admit i haven't run mingw (or
even Windows) for years. It's almost a surprise that it still works
with some tweaking.
I would be thankful for a diff to patch the flext build system
according to your findings.
gr~~~
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 23:28 schrieb Jonathan Wilkes:
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org; Roman Haefeli reduzent@gmail.com Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 1:09 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had the time and
nerve
to deal with it in the Windows batch file "language". It's a
quite
tricky issue and i am not sure it is really solvable. But
contributions arewelcome!
Found it in: buildsys/win/pd/gnumake-mingw
The -lpthreadVC flag must come last. (Not sure how you got it to
compile that way.)But with the newest version of mingw-get-inst the real solution is
to remove the entire ifdef around setting those flags because pthread is included with
mingw (contrary to the mingw documentation which explicitly says its missing).Also the -mno-cygwin flag is no longer supported and will break the
compilation so it must be removed.-Jonathan
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Jonathan Wilkes jancsika@yahoo.com Cc: Roman Haefeli reduzent@gmail.com; "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 5:40 PM Subject: Re: [PD] problems with building flext with mingw
Hi Jonathan, thanks for your feedback - i have to admit i haven't run mingw (or even Windows) for years. It's almost a surprise that it still works with some tweaking. I would be thankful for a diff to patch the flext build system according to your findings. gr~~~
Once I get through it and compile a few externals successfully I'll send you one. The nice thing with mingw is that it's _min_imal and-- if I understand it-- you can use the binaries without needing to have mingw (or cygwin) installed on the system. Plus its free beer/freedom. :)
-Jonathan
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 23:28 schrieb Jonathan Wilkes:
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org; Roman Haefeli
Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 1:09 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had the
time and
nerve
to deal with it in the Windows batch file "language".
It's a
quite
tricky issue and i am not sure it is really solvable. But contributions are
welcome!
Found it in: buildsys/win/pd/gnumake-mingw
The -lpthreadVC flag must come last. (Not sure how you got it to compile that way.)
But with the newest version of mingw-get-inst the real solution is to remove the entire ifdef around setting those flags because pthread is included with mingw (contrary to the mingw documentation which explicitly says its missing).
Also the -mno-cygwin flag is no longer supported and will break the compilation so it must be removed.
-Jonathan
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 9:24 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Jonathan Wilkes jancsika@yahoo.com Cc: Roman Haefeli reduzent@gmail.com; "pd-list@iem.at"
Sent: Wednesday, May 8, 2013 5:40 PM Subject: Re: [PD] problems with building flext with mingw
Hi Jonathan, thanks for your feedback - i have to admit i haven't run mingw (or even Windows) for years. It's almost a surprise that it still works with some tweaking. I would be thankful for a diff to patch the flext build system according to your findings.
Hm... wouldn't you be better off simply removing all the configuration stuff that forces the user to specify where to find pthread stuff? If it now comes with mingw shouldn't your source code simply be able to have <pthread.h> or whatever and it "just works"?
I'll post a guide later today (or possibly tomorrow) which will show the hacks I'm making. Basically I specify "C:\MinGW\include" for the headers, etc., which of course is inflexible and wouldn't work if the install path changes.
-Jonathan
gr~~~
Once I get through it and compile a few externals successfully I'll send you one. The nice thing with mingw is that it's _min_imal and-- if I understand it-- you can use the binaries without needing to have mingw (or cygwin) installed on the system. Plus its free beer/freedom. :)
-Jonathan
-- Thomas Grill http://grrrr.org
Am 08.05.2013 um 23:28 schrieb Jonathan Wilkes:
----- Original Message -----
From: Jonathan Wilkes jancsika@yahoo.com To: Thomas Grill gr@grrrr.org; Roman Haefeli
Cc: "pd-list@iem.at" pd-list@iem.at Sent: Wednesday, May 8, 2013 1:09 PM Subject: Re: [PD] problems with building flext with mingw
----- Original Message -----
From: Thomas Grill gr@grrrr.org To: Roman Haefeli reduzent@gmail.com Cc: pd-list@iem.at Sent: Wednesday, May 8, 2013 3:23 AM Subject: Re: [PD] problems with building flext with mingw
Actually i have encountered this issue, but haven't had
the
time and
nerve
to deal with it in the Windows batch file
"language".
It's a
quite
tricky issue and i am not sure it is really solvable. But contributions are
welcome!
Found it in: buildsys/win/pd/gnumake-mingw
The -lpthreadVC flag must come last. (Not sure how you got it to compile that way.)
But with the newest version of mingw-get-inst the real solution is to remove the entire ifdef around setting those flags because pthread is included with mingw (contrary to the mingw documentation which explicitly says its missing).
Also the -mno-cygwin flag is no longer supported and will break the compilation so it must be removed.
-Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
From: Roman Haefeli reduzent@gmail.com To: pd-list@iem.at Sent: Wednesday, May 8, 2013 2:46 AM Subject: Re: [PD] problems with building flext with mingw
On Tue, 2013-05-07 at 22:30 -0700, Jonathan Wilkes wrote:
Hi list, Just an fyi and question about building flext on winxp using mingw: from build.txt: "Please be aware that the build system might have difficulties handling paths with spaces." Unclear whether this statement only applies to the directory in which you are building flext or everything including your installation of pd. If it is the latter then this is confused by the fact that config-win-pd-mingw seems to point by default to % ProgramFiles%\pd which is guaranteed to have spaces in it.
With English locale, yes. If you have a Windows in German Language, this path might indeed does not contain spaces. Considering the author of flext is German speaking, he might not have anticipated this very issue.
Just a guess.
Ah, thanks. I'll try (temporarily) removing the spaces and see what happens.
-Jonathan
Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list