dkml bytecode installation on windows, utop returns "module spcifi est introuvable" error
Hello, i just gave a dkml installation on windows. I launch utop and get this error :
DkML 2.1.0: Open source. Full-stack OCaml. https://diskuv.com/dkmlbook/ DkSDK: 30 day risk free. C/C++/Java/Swift and OCaml. https://diskuv.com/pricing
Fatal error: cannot load shared library dllxdg_stubs Reason: Le module spcifi est introuvable.
thanks
You are using a prerelease of DkML 2.1.0 ... I am testing out the final fixes today (Pacific Time). I'll update this ticket when it is ready for you.
Try:
-
winget install Microsoft.VisualStudio.2019.BuildTools --override "--wait --passive --installPath C:\VS --addProductLang En-us --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" -
winget install Git.Gitif you don't have Git for Windows - Install Windows 64-bit Native Installer (unsigned)
Hello, I could indeed install the given windows 64-bit native installer (and deinstall the failed installation by removing the folder %LOCALAPPDATA%\Programs\DkMLByte folder). However, VisualStudio and Git are software I can not install without admin privileges. But I will see with my organisation for this matter. Thanks
Ask your administrator to install:
winget install Microsoft.VisualStudio.2019.BuildTools --override "--wait --passive --installPath C:\VS --addProductLang En-us --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
winget install Git.Git
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: roromino @.> Sent: Saturday, December 9, 2023 7:08:07 AM To: diskuv/dkml-installer-ocaml @.> Cc: Jonah Beckford @.>; Assign @.> Subject: Re: [diskuv/dkml-installer-ocaml] dkml bytecode installation on windows, utop returns "module spcifi est introuvable" error (Issue #84)
Hello, I could indeed install the given windows 64-bit native installer (and deinstall the failed installation by removing the folder %LOCALAPPDATA%\Programs\DkMLByte folder). However, VisualStudio and Git are software I can not install without admin privileges. But I will see with my organisation for this matter. Thanks
— Reply to this email directly, view it on GitHubhttps://github.com/diskuv/dkml-installer-ocaml/issues/84#issuecomment-1848434708, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREG4PPEFLHPSSAPU2WHNH3YIR5FPAVCNFSM6AAAAABAC446VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGQZTINZQHA. You are receiving this because you were assigned.Message ID: @.***>
You have a diligent and good admin. You will need both Visual Studio Build Tools (mandatory) and Visual Studio Code (optional but highly recommended). If you cannot get a license for Visual Studio Build Tools, then you will not be able to use DkML.
But … I want to make sure you have the latest information:
- I was recommending Microsoft.VisualStudio.2019.BuildTools. But Microsoft.VisualStudio.2022.BuildTools should also work, and that comes with a better license: https://devblogs.microsoft.com/cppblog/updates-to-visual-studio-build-tools-license-for-c-and-cpp-open-source-projects/. Basically, if you are using BuildTools with DkML (which is open-source) and use open-source packages (which DkML downloads by default), you can use that license. You only need a paid Professional/Enterprise license (or Visual Studio 2022 Community) to develop your own C/C++ code. * First, tell me if you want to try this option. Then I can test out which exact command line options you (or your admin) should use to install it. Once I’ve tested it you can use that command for yourself.
- Advanced: What if you need all the OCaml open-source packages, but additionally there are one or two non-open-source libraries that the Visual Studio 2022 Build Tools license doesn’t accept? You can have me pre-compile those non-open-source licenses directly into DkML. That is an undocumented benefit every DkSDK subscriber gets (https://diskuv.com/pricing/), and it is relatively cheap to get a DkSDK subscription for two months. * First, tell me which libraries are causing you problems with a private email to @.@.>. Then I can tell you if I can pre-compile those packages for you.
Thanks.
From: roromino @.> Sent: Thursday, December 14, 2023 5:37 AM To: diskuv/dkml-installer-ocaml @.> Cc: Jonah Beckford @.>; Assign @.> Subject: Re: [diskuv/dkml-installer-ocaml] dkml bytecode installation on windows, utop returns "module spcifi est introuvable" error (Issue #84)
Hello, Due tu licence problems, my admin told me I could not install Visual Studio, and suggested visual studio code. You suggest in this thread to use Visual Studio (winget install Microsoft.VisualStudio.2019.BuildTools), as told in https://gitlab.com/dkml/distributions/dkml/-/releases , but I saw that https://diskuv.com/dkmlbook/beyond_basics/#integrated-development-environment-ide suggests to use visual studio code, which I could install without admin privileges. Thanks
winget install -e --id Microsoft.VisualStudioCode
— Reply to this email directly, view it on GitHubhttps://github.com/diskuv/dkml-installer-ocaml/issues/84#issuecomment-1855868225, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AREG4PLEMWGEKTOTC2OGR53YJL6HNAVCNFSM6AAAAABAC446VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVHA3DQMRSGU. You are receiving this because you were assigned.Message ID: @.@.>>