[PD-dev] Problem with the error function

Dan Wilcox danomatika at gmail.com
Mon Feb 22 18:04:28 CET 2021


Well, "expert" or not, nobody can remember all the details and we can potentially save someone pain later.

> On Feb 22, 2021, at 6:03 PM, Pierre Guillot <guillotpierre6 at gmail.com> wrote:
> 
> IMO, it could be useful! ...but perhaps I didn't find this solution earlier because I'm not an expert on the linking mechanism and it would have been obvious for somebody with strong basics knowledge about it.
> 
> Le lun. 22 févr. 2021 à 15:45, Dan Wilcox <danomatika at gmail.com <mailto:danomatika at gmail.com>> a écrit :
> Do you think it would be useful to add this to the libpd README or a wiki page?
> 
>> On Feb 22, 2021, at 12:00 PM, pd-dev-request at lists.iem.at <mailto:pd-dev-request at lists.iem.at> wrote:
>> 
>> Message: 1
>> Date: Sun, 21 Feb 2021 17:51:39 +0100
>> From: Pierre Guillot <guillotpierre6 at gmail.com <mailto:guillotpierre6 at gmail.com>>
>> To: pd-dev <pd-dev at iem.at <mailto:pd-dev at iem.at>>
>> Subject: Re: [PD-dev] Problem with the error function
>> Message-ID:
>> 	<CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snV9_G3pxp3o+RkKw at mail.gmail.com <mailto:CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snV9_G3pxp3o+RkKw at mail.gmail.com>>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Finally, I think I found the solution. I simply have to use
>> "-Wl,-Bsymbolic" option for the linker (not only for Pd/libpd but also for
>> the VST/LV2 libraries).
>> 
>> set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic")
>> set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-Bsymbolic")
>> 
>> Hope this helps someone else :)
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20210222/bdaebb1c/attachment-0001.htm>


More information about the Pd-dev mailing list