[PD-dev] Pdextended 0.43.1 and vista

Patrice Colet colet.patrice at free.fr
Mon Jul 18 02:59:31 CEST 2011


----- "Patrice Colet" <colet.patrice at free.fr> a écrit :

> I've got asio linking with g++ working, this is explained in here:
> 
> http://www.mail-archive.com/libtool@gnu.org/msg11308.html
> 
> # ASIO needs to go after PORTAUDIO in order for it to link properly
> if ASIO
> # automake hack to force linking with g++
> SUBDIRS = ../asio
> # Dummy C++ source to cause C++ linking.
> nodist_EXTRA_libpd_la_SOURCES = dummy.cxx
> pd_LDADD += ../asio/libasio.la
> pd_LINK = $(CXXLINK)
> endif
> 
> if WINDOWS
> lib_LTLIBRARIES += libpd.la 
> libpd_la_SOURCES     = $(pd_sources)
> libpd_la_LDFLAGS     = -no-undefined
> LIBS += -lwsock32 -lwinmm -lole32 -lpthreadGC2 -ldl
> pd_CFLAGS +=  -DUSEAPI_MMIO -DPD_INTERNAL
> pd_SOURCES += s_audio_mmio.c s_midi_mmio.c
> pd_LDADD += libpd.la
> bin_SCRIPTS = 
> endif
> 
> now how can we fix startup/libdir.dll?
> 
> when starting pd, console shows:
> 
> C:/msys/1.0/home/patko/pd-extended/0.43/packages/win32_inno/build/startup/libdir:
> can't load startup library'!
> 
> 

I've tried in packages make install command after doing this into packages/win32_inno/Makefile:

--- Makefile.old        2011-07-18 00:55:45 +0000
+++ Makefile    2011-07-18 00:20:44 +0000
@@ -57,14 +57,14 @@
        @echo "win32_inno install succeeded!"
 
 build_pd:
-       cd $(pd_src)/src && $(MAKE) -f makefile.mingw
+       $(MAKE) -C $(packages_src) $(DEST_PATHS)
 
 PD_NAME=Pd
 pd_install: build_pd
 # the autoconf/MinGW setup doesn't compile the extras yet
 #      $(MAKE) -C $(pd_src)/src $(DEST_PATHS) bin
 #      -$(MAKE) -C $(pd_src)/src $(DEST_PATHS) install
-       $(MAKE) -C $(pd_src)/src -f makefile.mingw $(DEST_PATHS) install
+       $(MAKE) -C $(packages_src) $(DEST_PATHS) install
 # install notes.txt into the help browser
        install -d $(DESTDIR)$(manualsdir)/$(PD_NAME)
        install -p $(pd_src)/src/notes.txt $(DESTDIR)$(manualsdir)/$(PD_NAME)


the build system stops after popping this error:

ln -s ../extra/libdir/libdir.dll \
                /home/patko/pd-extended/0.43/packages/build/startup/libdir.dll
ln: creating symbolic link `/home/patko/pd-extended/0.43/packages/build/startup/libdir.dll' to `../extra/libdir/libdir.dll': No such file or directory
make: *** [pd_install] Error 1

> 
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev

-- 
Patrice Colet 



More information about the Pd-dev mailing list