[PD-dev] [leapmotion] 2.3.1 linking failure on Windows

William Brent william.brent at gmail.com
Thu Jan 5 21:55:15 CET 2023


Incredibly helpful, thanks very much Christof. For now I'll be lazy and
distribute on deken with the mess of libs ;)

On Thu, Jan 5, 2023 at 10:52 AM Christof Ressi <info at christofressi.com>
wrote:

> Thanks!
>
> I would say, distribute everything *except kernel32.dll* (this one is
> always present on Windows)
>
> ucrtbase(d).dll (Universal C Runtime) is always present on Windows 10, but
> not necessarily on older Windows versions.
>
> BTW, ucrtbased.dll is the debug version of ucrtbase.dll (without 'd').
>
> Alternatively, you might also try to link statically with the /MT option:
>
>
> https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170
>
> Christof
> On 05.01.2023 21:31, William Brent wrote:
>
> Thanks for all the tips Christof, here's a Dropbox link to a .zip of the
> external: https://www.dropbox.com/s/v45itm3lrwsxaax/leapmotion.zip?dl=0
>
>
> On Thu, Jan 5, 2023 at 10:21 AM Christof Ressi <info at christofressi.com>
> wrote:
>
>> > so...just one last question (hopefully): what's the best practice for
>> > packaging an external like this? The dependencies are:
>>
>> kernel32.dll is always present and must not be distributed.
>>
>> msvcp140d.dll, ucrtbase.dll and vcruntime140*.dll are Microsoft C
>> runtime libraries.
>>
>> Can you send me the binaries, so I can quickly have a look myself?
>>
>> > Would a .bat script be a good idea so that all of these could be
>> > copied to Windows/System32?
>>
>> Anything, but not this! The days of copying stuff into System32 are -
>> fortunately - long gone :-)
>>
>> Christof
>>
>>
>>
>>
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at lists.iem.at
>> https://lists.puredata.info/listinfo/pd-dev
>>
>
>
> --
> William Brent
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230105/5bb7deec/attachment.htm>


More information about the Pd-dev mailing list