3.5.0 can't compile on my iMac
#1
Lightbulb 
Hello,

Unfortunately, the last version 3.5.0 doesn't compile on my iMac 27 under macOS High Sierra.

I get the following error message:

Code: (Select All)
c++  -w -std=gnu++11 -I./internal/c/libqb/include -I./internal/c/parts/core/src/ -I./internal/c/parts/core/glew/include/ -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE -DDEPENDENCY_LOADFONT  internal/c/libqb/src/http.cpp -c -o internal/c/libqb/src/http.o
Code: (Select All)
internal/c/libqb/src/http.cpp:98:51: error: use of undeclared identifier 'CURLINFO_CONTENT_LENGTH_DOWNLOAD_T'; did you mean
Code: (Select All)
      'CURLINFO_CONTENT_LENGTH_DOWNLOAD'?
Code: (Select All)
    CURLcode res = curl_easy_getinfo(handle->con, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, &cl);
Code: (Select All)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code: (Select All)
                                                  CURLINFO_CONTENT_LENGTH_DOWNLOAD
Code: (Select All)
/usr/include/curl/curl.h:2546:69: note: expanded from macro 'curl_easy_getinfo'
Code: (Select All)
#define curl_easy_getinfo(handle,info,arg) curl_easy_getinfo(handle,info,arg)
Code: (Select All)
                                                                    ^
Code: (Select All)
/usr/include/curl/curl.h:2274:3: note: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' declared here
Code: (Select All)
  CURLINFO_CONTENT_LENGTH_DOWNLOAD   = CURLINFO_DOUBLE + 15,
Code: (Select All)
  ^
Code: (Select All)
1 error generated.
Code: (Select All)
make: *** [internal/c/libqb/src/http.o] Error 1
Code: (Select All)
make: *** Waiting for unfinished jobs....
Code: (Select All)
Compilation of QB64-PE failed!
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Opération terminée]


And before you ask, yes curl is installed on my system as shown bellow:

Code: (Select All)
LLast login: Tue Jan 10 02:37:43 on ttys001
Code: (Select All)
i-Mac-27:~ Philippe$ curl -V
Code: (Select All)
curl 7.87.0 (x86_64-apple-darwin17.7.0) libcurl/7.87.0 (SecureTransport) OpenSSL/1.1.1s zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.4 libssh2/1.10.0 nghttp2/1.51.0 librtmp/2.3
Code: (Select All)
Release-Date: 2022-12-21
Code: (Select All)
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Code: (Select All)
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
Code: (Select All)
i-Mac-27:~ Philippe$


Any idea what is wrong? Sad

TIA for your help. Wink
Cheers.
Fifi

Note: I didn't modify nor remove any file of the complete QB64PE 4.5.1 project.
Before to send the arrow of truth, dip the head in a honey pot (Cheyenne saying).
Don't tell my Mom I'm on iMac with macOS, she thinks I work on PC with Windows. Tongue
Reply


Messages In This Thread
3.5.0 can't compile on my iMac - by Fifi - 01-10-2023, 01:50 AM
RE: 3.5.0 can't compile on my iMac - by Fifi - 01-10-2023, 11:24 PM



Users browsing this thread: 4 Guest(s)