Thanks Christof for your suggestion,
I finally had time to change the Makefile, I think it should work now:
https://bitbucket.org/julovi/shifter/src/master/
Cheers,
Julian.
Thanks Julián for all the work. I tried to compile shifter~ on ubuntu studio but this was the result:
sudo make shifter~ ++++ info: using Makefile.pdlibbuilder version 0.6.0 ++++ info: making target shifter~ in lib shifter ++++ info: linking objects in shifter~.pd_linux for lib shifter cc -rdynamic -shared -fPIC -Wl,-rpath,"$ORIGIN",--enable-new-dtags -o shifter~.pd_linux shifter~.o -lc -lm shifter~.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Makefile.pdlibbuilder:884: recipe for target 'shifter~.pd_linux' failed make: *** [shifter~.pd_linux] Error 1
best, Hans
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:
https://bitbucket.org/julovi/shifter/src/master/
Cheers,
Julian.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
Hi, thanks for shifter~! Try to build on Win10 using MSYS2 MinGW64 andi have the following
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: 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 shifter~.o: file not recognized: file format not recognized collect2.exe: error: ld returned 1 exit status make: *** [Makefile.pdlibbuilder:885: shifter~.dll] Error 1
best a.
www.elgallorojorecords.bandcamp.com/ https://elgallorojorecords.bandcamp.com/ soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
On Fri, Dec 4, 2020 at 8:18 PM info@hansroels.be info@hansroels.be wrote:
Thanks Julián for all the work. I tried to compile shifter~ on ubuntu studio but this was the result:
sudo make shifter~ ++++ info: using Makefile.pdlibbuilder version 0.6.0 ++++ info: making target shifter~ in lib shifter ++++ info: linking objects in shifter~.pd_linux for lib shifter cc -rdynamic -shared -fPIC -Wl,-rpath,"$ORIGIN",--enable-new-dtags -o shifter~.pd_linux shifter~.o -lc -lm shifter~.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Makefile.pdlibbuilder:884: recipe for target 'shifter~.pd_linux' failed make: *** [shifter~.pd_linux] Error 1
best, Hans
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: https://bitbucket.org/julovi/shifter/src/master/
Cheers,
Julian.
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 12/4/20 10:24 PM, alfonso santimone wrote:
Hi, thanks for shifter~! Try to build on Win10 using MSYS2 MinGW64 andi have the following
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: 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 shifter~.o: file not recognized: file format not recognized collect2.exe: error: ld returned 1 exit status make: *** [Makefile.pdlibbuilder:885: shifter~.dll] Error 1
i haven't checked the repository, but this sounds like a *typical* case of object-files in the respository.
the quick fix is to just run "make clean" before running "make".
the real fix is, that Julian should remove *all* files that are generated by a compiler (*.o, *.pd_darwin).
like so:
$ git rm *.o *.pd_*
$ git commit -m "removed build artifacts"
fgmards IOhannes
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
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
thanks, now i can build with msys2 and test in pd win10 64bit. best a.
www.elgallorojorecords.bandcamp.com/ https://elgallorojorecords.bandcamp.com/ soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
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
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
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
www.elgallorojorecords.bandcamp.com/ https://elgallorojorecords.bandcamp.com/ soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
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.
www.elgallorojorecords.bandcamp.com/ https://elgallorojorecords.bandcamp.com/ soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
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
Am 4. Dezember 2020 23:33:09 MEZ schrieb alfonso santimone alfonso.santimone@gmail.com:
and this is the build log and it seems all related to stuff contained in various #ifndef PDMAC_VERSION so nothing regarding Windows dll
? your build has succeeded just fine. is there a problem left?
mfg.hft.fsl IOhannes