SyntaxBoom

Languages & Coding => BlitzMax (NG/Vanilla variants) => Topic started by: statto on Sep 05, 2025, 06:57 PM

Title: bah.libcurl
Post by: statto on Sep 05, 2025, 06:57 PM
Hello everyone!

I'm trying to compile some old code and I think it'll work, but it uses bah.libcurl, which is no longer available.

I've removed the offending code for now, but does anyone have a solution on how to implement curl in BMxNG in 2025?

Thanks in advance!
Title: Re: bah.libcurl
Post by: Baggey on Sep 05, 2025, 07:25 PM
Well need to see some code?

If you need help  :D
Title: Re: bah.libcurl
Post by: Jackdaw on Sep 06, 2025, 07:51 AM
Quote from: statto on Sep 05, 2025, 06:57 PMI've removed the offending code for now, but does anyone have a solution on how to implement curl in BMxNG in 2025?
If bah.libcurl was still available, it would be well out of date, and you would be better off writing your own module to wrap the current version of libcurl. You can cheat a little
to build the libcurl and openssl libraries using vcpkg (https://vcpkg.io/en/).
Title: Re: bah.libcurl
Post by: Henri on Sep 06, 2025, 02:43 PM
Hi,

libcurl is part of bmx-ng, found under net.mod

-Henri
Title: Re: bah.libcurl
Post by: _PJ_ on Oct 10, 2025, 11:54 AM
I can confirm that the libcurl version in the current BlitzMax-NG
works.
If you're having issues, maybe it's the certificates need updating?