Re: How to deploy single exe application (?)

2021-11-29 Thread Willem via Digitalmars-d-learn
On Monday, 29 November 2021 at 07:29:35 UTC, Mike Parker wrote: `DerelictSDL2.load()` cannot load curl. It is not a generic dll loader. It only loads SDL and doesn't know anything about curl or any other library. In order to dynamically load curl like this, you need a binding that supports

Re: How to deploy single exe application (?)

2021-11-28 Thread Willem via Digitalmars-d-learn
On Sunday, 28 November 2021 at 16:12:42 UTC, Imperatorn wrote: Did you try the import solution? I think so ... below is my test program. It executes OK - but it is not using the imported libcurl dll. Many Thanks. == app.d ``` import std.stdio; import std.uuid; import std

Re: How to deploy single exe application (?)

2021-11-28 Thread Willem via Digitalmars-d-learn
On Monday, 15 November 2021 at 21:53:04 UTC, pilger wrote: On Monday, 15 November 2021 at 21:16:14 UTC, Willem wrote: Any feedback / pointers on where to start would be greatly appreciated. https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable Many Thanks all for the r

How to deploy single exe application (?)

2021-11-15 Thread Willem via Digitalmars-d-learn
Using D -- I have created a simple command line utility that download some info via a https API and save it in a sqlite3 database file. To use the exe on another windows machine, I need to copy over the relevant sqlite3 and curl DLL files. Question: Is there a way to create a single .exe with

Re: Error: Could not open 'libcmt.lib'

2021-10-26 Thread Willem via Digitalmars-d-learn
On Monday, 25 October 2021 at 20:00:06 UTC, Dr Machine Code wrote: On Monday, 25 October 2021 at 15:43:06 UTC, Willem wrote: I was able to resolve above issues by following the install guide by DrIggy @ https://www.youtube.com/watch?v=fuJBj_tgsR8 Thanks for posting it. Willem A friend of mi

Re: Error: Could not open 'libcmt.lib'

2021-10-25 Thread Willem via Digitalmars-d-learn
I was able to resolve above issues by following the install guide by DrIggy @ https://www.youtube.com/watch?v=fuJBj_tgsR8 Thanks for posting it. Willem

Error: Could not open 'libcmt.lib'

2021-10-25 Thread Willem via Digitalmars-d-learn
Just starting out new with D. Up until now I have been using Python and a bit of OCaml. Error when linking: "lld-link: error: could not open 'libcmt.lib': no such file or directory" What I did: I installed the complete D setup in my Windows 10 PC -- including VS 2019. From the command li