QB64 Phoenix Edition
Compile failure Debian 12 - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: Compile failure Debian 12 (/showthread.php?tid=3535)



Compile failure Debian 12 - bigriverguy - 03-15-2025

When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1


RE: Compile failure Debian 12 - tantalus - 03-15-2025

Looks like you're missing the dev package for libcurl.

You need to install the matching dev package to the flavour of libcurl4 you have installed (if installed).

If you have already installed the GNU flavour then install...
libcurl4-gnutls-dev

If you have already installed the NSS flavour then install...
libcurl4-nss-dev

If you have already installed the OpenSSL flavour then install...
libcurl4-openssl-dev

Hope this helps.


RE: Compile failure Debian 12 - Cloudiex - 03-18-2025

(03-15-2025, 06:03 AM)bigriverguy Wrote: When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1
Parece que te falta `libcurl-dev`. Instálalo con:

```
sudo apt-get install libcurl4-openssl-dev
```

Y luego prueba de nuevo. ¡Debería funcionar.