On Jul 17, 2011, at 8:59 PM, Patrice Colet wrote:


----- "Patrice Colet" <colet.patr...@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


That should work since that happens every night when building with the makefile.mingw. I'll try that once we get the other changes into the git.

Do you want to make a git patch for the fixes you've done so far? That way you're name will be in the git history, so you'll get credit.

.hc



----------------------------------------------------------------------------

'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink- collar temp pool day. - “Hijab Scene #2", by Mohja Kahf



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

Reply via email to