[PD] readanysf for windows? (again)

Hans-Christoph Steiner hans at at.or.at
Thu Apr 28 19:48:25 CEST 2011


sed is used for getting the version from the mylibrary-meta.pd file.   
In this case, its optional.

.hc

On Apr 28, 2011, at 10:33 AM, august wrote:

>
> Will it also handle C++ externals?
>
> I tried to implement it for readanysf, but had problems with
>
> "sed"
>
> sed: invalid option -- 'm'
>
>
>
>>
>> It builds each object as a single .pd_linux/.dll  If there is just
>> one object in your library, there is basically no diference ;)
>>
>> hc
>>
>> On Apr 28, 2011, at 9:38 AM, august wrote:
>>
>>>
>>> Isn't that template just for libraries?
>>>
>>> what about single externals?
>>>
>>>>
>>>> Maybe the symbol EXTERN/exporting stuff isn't quite right?  For an
>>>> example to learn from, I think the Makefile template is your best
>>>> bet:
>>>>
>>>> http://puredata.info/docs/developer/MakefileTemplate
>>>>
>>>> .hc
>>>>
>>>> On Apr 27, 2011, at 11:15 PM, Patrice Colet wrote:
>>>>
>>>>> After resolving two dozens undefined references I finally have
>>>>> readanysf compiled.
>>>>> Curiously gmerlin_avdec needs a prepended link of each used  
>>>>> library.
>>>>>
>>>>> The link flags must be at the end, like in attached file.
>>>>>
>>>>> I had to copy missing dll's into pd/bin along with other libs
>>>>> provided py pd-extended and gridflow,
>>>>>
>>>>> libdca-0.dll libgavl-1.dll libiconv-2.dll libintl-8.dll
>>>>> libtheora-0.dll lib-tiff-3.dll
>>>>>
>>>>> it seems it's still not the good way to compile because pd
>>>>> complains:
>>>>>
>>>>>
>>>>> load_object: Symbol "readanysf_tilde_setup" not found
>>>>>
>>>>>
>>>>> ----- "august" <august at alien.mur.at> a écrit :
>>>>>
>>>>>> Yeah perhaps it will be easier with the pd-extended makefiles.  I
>>>>>> really
>>>>>> have no idea how windows handles linking and I also don't have
>>>>>> experience with pd-extended builds.
>>>>>>
>>>>>>
>>>>>> One problem you might have with my makefile that I didn't
>>>>>> see before
>>>>>> is
>>>>>> that I test to see if the system is linux.  If so, I set
>>>>>> appropriate
>>>>>> flags.  If not, I assume you have a mac and set other flags.
>>>>>>
>>>>>>
>>>>>> I've attached a Makefile.win that might work for you.  I made it
>>>>>> blindly
>>>>>> since I don't have a windows setup.
>>>>>>
>>>>>> You should only need to edit these two lines:
>>>>>> 	GAVLPREFIX=/usr/local
>>>>>> 	PD_INCLUDES=/usr/include
>>>>>>
>>>>>> Maybe something else is needed, but I can't say.  It should
>>>>>> be simple
>>>>>> enough to build from.
>>>>>>
>>>>>> best -august.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I've tried to hack the makefile but have pain to get it  
>>>>>>> compiling
>>>>>> the dll because of linking problems...
>>>>>>> I guess it would be easier by using pd-extended externals  
>>>>>>> Makefile
>>>>>> for resolving differences between os
>>>>>>>
>>>>>>> ----- "august" <august at alien.mur.at> a écrit :
>>>>>>>
>>>>>>>> well, if you already have gavl and gmerlin-avdecoder, you  
>>>>>>>> should
>>>>>> only
>>>>>>>> need to download and compile readanysf~
>>>>>>>>
>>>>>>>> the Makefile is there already.  If I am not mistaken, you would
>>>>>> only
>>>>>>>> need to copy and modify the pd_linux target so that it  
>>>>>>>> creates a
>>>>>>>> readanysf~.dll instead of a readanysf~.pd_linux
>>>>>>>>
>>>>>>>> ...and then package it in a bundle so that it is usable for
>>>>>> windows
>>>>>>>> users.  ...that will be the hard part I imagine.
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hello, I've applied this patch then gmerlin-avdecoder compiles
>>>>>> fine
>>>>>>>> on mingw
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>> http://www.mail-archive.com/gmerlin-general@lists.sourceforge.net/msg00322.html
>>>>>>>>>
>>>>>>>>> now we need the makefile ;)
>>>>>>>>>
>>>>>>>>> ----- "Hans-Christoph Steiner" <hans at at.or.at> a écrit :
>>>>>>>>>
>>>>>>>>>> We just need someone to get all of the required libraries
>>>>>> building
>>>>>>>> on
>>>>>>>>>> Windows/MinGW.  gmerlin-avdecoder is required, then the more
>>>>>>>> codec
>>>>>>>>>> libs,
>>>>>>>>>> the better, but it'll work without any of them, it just won't
>>>>>> open
>>>>>>>> as
>>>>>>>>>> many files.  Once we have that, making a Windows build of
>>>>>>>>>> [readanysf~]
>>>>>>>>>> will be easy.
>>>>>>>>>>
>>>>>>>>>> .hc
>>>>>>>>>>
>>>>>>>>>> On Wed, 27 Apr 2011 13:56 +0200, "matteo sisti sette"
>>>>>>>>>> <matteosistisette at gmail.com> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Is there anything similar to readanysf~ available for
>>>>>> Windows?
>>>>>>>> I
>>>>>>>>>> would
>>>>>>>>>>> like to be able to read the audio from mov video files.
>>>>>>>>>>>
>>>>>>>>>>> I've found some very old threads about failed attempts to
>>>>>> port
>>>>>>>>>>> readanysf~ to windows.
>>>>>>>>>>> Has there been any success since then? Anybody that has
>>>>>> been
>>>>>>>> able
>>>>>>>>>> to
>>>>>>>>>>> compile it for windows and could share the compiled binary?
>>>>>>>>>>>
>>>>>>>>>>> Or any similar external?
>>>>>>>>>>>
>>>>>>>>>>> thanks
>>>>>>>>>>> m.
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>>> Matteo Sisti Sette
>>>>>>>>>>> matteosistisette at gmail.com
>>>>>>>>>>> http://www.matteosistisette.com
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Pd-list at iem.at mailing list
>>>>>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Pd-list at iem.at mailing list
>>>>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Patrice Colet
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Pd-list at iem.at mailing list
>>>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 	-------------------
>>>>>>>> 	http://aug.ment.org
>>>>>>>
>>>>>>> -- 
>>>>>>> Patrice Colet
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pd-list at iem.at mailing list
>>>>>>> UNSUBSCRIBE and account-management ->
>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>
>>>>>> -- 
>>>>>> 	-------------------
>>>>>> 	http://aug.ment.org
>>>>>
>>>>> -- 
>>>>> Patrice Colet
>>>>> <Makefile.mingw>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> Access to computers should be unlimited and total.  - the hacker
>>>> ethic
>>>>
>>>>
>>>
>>> -- 
>>> 	-------------------
>>> 	http://aug.ment.org
>>>
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> If nature has made any one thing less susceptible than all others of
>> exclusive property, it is the action of the thinking power called an
>> idea, which an individual may exclusively possess as long as he
>> keeps it to himself; but the moment it is divulged, it forces itself
>> into the possession of everyone, and the receiver cannot dispossess
>> himself of it.            - Thomas Jefferson
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
> -- 
> 	-------------------
> 	http://aug.ment.org
>



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

As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously.         - Benjamin Franklin





More information about the Pd-list mailing list