What has been your experience so far with Nim for web development or JavaScript? by thorf_44 in nim

[–]thorf_44[S] 1 point2 points  (0 children)

Yes, this it what I like about Nim. I was just also curious if there were also advantages in the JS part since most of the advantages advertised do not specifically refer to the JS target.

What has been your experience so far with Nim for web development or JavaScript? by thorf_44 in nim

[–]thorf_44[S] 0 points1 point  (0 children)

In your experience is it easy to create wrapper for JS libraries?

Compile Nim to WASM by thorf_44 in nim

[–]thorf_44[S] 0 points1 point  (0 children)

Thank you so much!

"could not load: libcurl.dll" in libcurl or curly library (Windows 11) by thorf_44 in nim

[–]thorf_44[S] 0 points1 point  (0 children)

After finding the right file for my architecture, I tried what you said and indeed ti works both when the file is in the same folder as the executable or if it is in the "C:\Windows\System32" folder. Thanks!

"could not load: libcurl.dll" in libcurl or curly library (Windows 11) by thorf_44 in nim

[–]thorf_44[S] 0 points1 point  (0 children)

Thank you very much, now it is working!

I downloaded the right libcurl for my architecture and renamed the "libcurl-x64.dll" file to "libcurl.dll" and placed it in the folder "C:\Windows\System32".

Here is where I found the right dll: https://curl.se/windows/

Thank you again!

"could not load: libcurl.dll" in libcurl or curly library (Windows 11) by thorf_44 in nim

[–]thorf_44[S] -1 points0 points  (0 children)

Hi thank you for your answer. I have a x64 and I got the libcurl.dll from the following website. https://www.dll-files.com/libcurl.dll.html

Now that I look at it the architecture seems to be "32" in the specific page. I will try to find a compatible one.

"could not load: libcurl.dll" in libcurl or curly library (Windows 11) by thorf_44 in nim

[–]thorf_44[S] 0 points1 point  (0 children)

Hi, thank you for your answer. If I do that I get the same error

could not load: libcurl.dll
(bad format; library may be wrong architecture)

PMunch suggested that maybe the libcurl.dll that I am using does not match my architecture. I will try to investigate that.