You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the latest master branch with MSVC on Windows. I had ocurl working in release 0.9.2.
$ opam exec --switch dkml dune build
File "_build/default/clibs.sexp", line 3, characters 1-93:
3 | (Y:/source/dksdk-coder/.ci/o/dkml/share/dkcoder-c/debug/lib/pkgconfig/../../lib/libcurl-d.lib)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This atom must be quoted because it is the first element of a list and
doesn't start with - or:
Double-quoting CURLLIBS is sufficient to fix my problem, but I doubt that works when CURLLIBS has multiple terms like -L/some/where -lcurl.
Anyway, simply sticking the output of pkg-config into a Dune s-exp does not guarantee a valid Dune s-exp. Dune has a Dune Configurator that handles generating s-exp correctly, but sadly that is an overhaul of the build system for ocurl.
The text was updated successfully, but these errors were encountered:
I'm using the latest master branch with MSVC on Windows. I had ocurl working in release 0.9.2.
This is from
clibs.sexp.in
that has:;; @configure_input@ (@CURLLIBS@)
with the parameters from
config.log
:CURLLIBS='Y:/source/dksdk-coder/.ci/o/dkml/share/dkcoder-c/debug/lib/pkgconfig/../../lib/libcurl-d.lib'
and that is from libcurl.pc:
Double-quoting CURLLIBS is sufficient to fix my problem, but I doubt that works when
CURLLIBS
has multiple terms like-L/some/where -lcurl
.Anyway, simply sticking the output of
pkg-config
into a Dune s-exp does not guarantee a valid Dune s-exp. Dune has a Dune Configurator that handles generating s-exp correctly, but sadly that is an overhaul of the build system for ocurl.The text was updated successfully, but these errors were encountered: