and this is the build log and it seems all related to stuff contained in various
#ifndef PDMAC_VERSION
so nothing regarding Windows dll


fremen@fremenCPU MINGW64 ~/shifter
$ make
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: using Pd API C:\Program Files/Pd/src/m_pd.h
++++ info: making target all in lib shifter
++++ info: making shifter~.o in lib shifter
cc -DPD -I "C:\Program Files/Pd/src" -DMSW -DNT -DPD_LONGINTTYPE=__int64    -Wall -Wextra -Wshadow -Winline -Wstrict-aliasing
-O3 -ffast-math -funroll-loops -fomit-frame-pointer -march=core2 -msse -msse2 -msse3 -mfpmath=sse -o shifter~.o -c shifter~.c
shifter~.c: In function 'shifter_new':
shifter~.c:207:33: warning: unused parameter 's' [-Wunused-parameter]
  207 |     void *shifter_new(t_symbol *s, int argc, t_atom *argv) {
      |                       ~~~~~~~~~~^
shifter~.c: In function 'shifter_tilde_setup':
shifter~.c:558:35: warning: cast between incompatible function types from 'void * (*)(t_symbol *, int,  t_atom *)' {aka 'void * (*)(struct _symbol *, int,  struct _atom *)'} to 'void
* (*)(void)' [-Wcast-function-type]
  558 |                                   (t_newmethod)shifter_new,
      |                                   ^
At top level:
shifter~.c:94:17: warning: 'proxy_class' defined but not used [-Wunused-variable]
   94 | static t_class *proxy_class;
      |                 ^~~~~~~~~~~
++++ info: linking objects in shifter~.dll for lib shifter
cc -static-libgcc -shared -Wl,--enable-auto-import "C:\Program Files/Pd/bin/pd.dll"    -o shifter~.dll shifter~.o
++++info: target all in lib shifter completed




On Fri, Dec 4, 2020 at 11:27 PM alfonso santimone <alfonso.santimone@gmail.com> wrote:
thanks, now i can build with msys2 and test in pd win10 64bit.
best
a.



On Fri, Dec 4, 2020 at 11:20 PM IOhannes m zmölnig <zmoelnig@iem.at> wrote:
On 12/3/20 7:37 AM, Julián Villegas wrote:
> Thanks Christof for your suggestion,
>
> I finally had time to change the Makefile, I think it should work now:

apart from the suggested change to remove the binary artifacts, please,
pretty please, change your makefile to:

# use a settable path to Makefile.pdlibbuilder

```
PDLIBBUILDER_DIR=.
include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder
```

# don't hardcode paths to executables

- your doxygen binary is *very* macOS specific
- /usr/local/bin/aclocal should be in the PATH anyhow, so hardcoding its
full path doesn't have any purpose apart from breaking installations in
/usr/bin/

so please do something like:

```
DOXYGEN=/Applications/Doxygen.app/Contents/Resources/doxygen

doc:
        ${DOXYGEN} Doxyfile.cnf
        astyle --style=java --suffix=none --errors-to-stdout *.c *.h
```

mgfsrda
IOhannes

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list