Re: [PD-dev] Pdextended 0.43.1 and vista

2011-07-26 Thread Hans-Christoph Steiner


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.old2011-07-18 00:55:45 +
+++ Makefile2011-07-18 00:20:44 +
@@ -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


[PD-dev] [ pure-data-Patches-3299602 ] [pdp] Compilation option change for gcc 4.6

2011-07-26 Thread SourceForge.net
Patches item #3299602, was opened at 2011-05-09 15:54
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478072aid=3299602group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: [pdp] Compilation option change for gcc 4.6

Initial Comment:
A change (bugfix) in gcc 4.6 prevents pdp to compile. The fix is to replace 
-export-dynamic with -rdynamic in the Makefiles.
I did not test the change with gcc 4.5 and previous.

--

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-07-27 00:27

Message:
fixed with this commit:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revisionrevision=15168

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478072aid=3299602group_id=55736

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