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 <[email protected]> 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 <[email protected] > <mailto:[email protected]>> 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, [email protected] >> <mailto:[email protected]> wrote: >> >> Message: 1 >> Date: Sun, 21 Feb 2021 17:51:39 +0100 >> From: Pierre Guillot <[email protected] >> <mailto:[email protected]>> >> To: pd-dev <[email protected] <mailto:[email protected]>> >> Subject: Re: [PD-dev] Problem with the error function >> Message-ID: >> <CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snv9_g3pxp3o+r...@mail.gmail.com >> <mailto:CALPKkhofbAgTPjohGMyvNFt3bau4yh=a+snv9_g3pxp3o+r...@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/>
_______________________________________________ Pd-dev mailing list [email protected] https://lists.puredata.info/listinfo/pd-dev
