[PD-dev] Was: [PD] Good sounding PD reverb patches - anyone?
Patrice Colet
pat at mamalala.org
Wed Oct 17 21:03:59 CEST 2007
hey
Claude Heiland-Allen a écrit :
> Patrice Colet wrote:
>> Peter Plessas a écrit :
>>> Hi,
>>>
>>> have a look at Thomas Musil's excellent Room Reverberation Simulation
>>> too:
>>>
>>> http://pure-data.cvs.sourceforge.net/pure-data/externals/iem/iem_roomsim/
>>>
>>>
>>> Ah, i am not sure how to find binaries for windows though...
>>>
>>
>> Hello,
>> my attempts to make a win32 binary has failed, and I couldn't find
>> out how to fix, maybe someone could give some help with reading the
>> following error message:
>
> Remove all -Werror from the Makefile. -Werror makes warnings into
> errors, which is fine if you're testing/developing, but really bad if
> you're releasing code into the wild because different versions of gcc
> have different warnings.
>
>>
>> ~/externals/iem/iem_roomsim/src
>> $ make -f makefile_win-mingw
>> gcc -Wall -W -Wshadow -Wstrict-prototypes -DPD -DNT -W3 -WX -Werror
>> -Wno-unused -mms-bitfields -Wno-parentheses -Wno-switch -O6
>> -funroll-loops -fomit-frame-pointer -I.. -I../include
>> -I/home/pat/pd/src -c -o early_reflections_3d.o early_reflections_3d.c
>> -l lpthreads -l ldl -l lm
>> early_reflections_3d.c: In function `early_reflections_3d_doit':
>> early_reflections_3d.c:247: warning: declaration of 'y0' shadows a
>> global declaration
>> c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:251:
>> warning: shadowed declaration is here
>> make: *** [early_reflections_3d.o] Error 1
>
>
> Claude
Thank you Claude for the help, I've been deeper into the compilation
of this dll, but it has not been enough, it seems I get a win32 mingw
specific error:
~/externals/iem/iem_roomsim/src
$ make -f makefile_win-mingw
:: early_reflections_3d.o early_reflections_2d.o cart2del_damp_2d.o
cart2del_damp_3d.o iem_roomsim.o
ld -r -Bshareable -o iem_roomsim.dll *.o -lpthreadGC2 -lm
c:\MinGW\bin\ld.exe: -r and -shared may not be used together
maybe someone has ever encountered this error message and fixed it?
More information about the Pd-dev
mailing list