Re: Error with _curl_
- Posted by euphoric (admin) Apr 20, 2018
- 1275 views
jmduro said...
You seem to be missing following includes in curl_demo.exw:
include std/filesys.e -- for SLASH and file_exists include std/io.e -- write_file include lib/_common_.e -- for log_printf include lib/_curl_constants_.e -- for CURL_xxx constants
Jean-Marc
OK, implemented those into the demo file, but now getting this:
C:\eu_include\lib\demo\curl_demo.ex:154 <0074>:: Errors resolving the following references: 'with_debug' (curl_demo.ex:18) has not been declared. 'with_debug' (curl_demo.ex:17) has not been declared. 'curl_post' (curl_demo.ex:70) has not been declared. 'HTTP_STATUS' (curl_demo.ex:73) has not been declared. 'HTTP_BODY' (curl_demo.ex:74) has not been declared. 'HTTP_BODY' (curl_demo.ex:76) has not been declared. 'curl_put' (curl_demo.ex:90) has not been declared. 'HTTP_STATUS' (curl_demo.ex:93) has not been declared. 'HTTP_BODY' (curl_demo.ex:94) has not been declared. 'HTTP_BODY' (curl_demo.ex:96) has not been declared. 'curl_patch' (curl_demo.ex:110) has not been declared. 'HTTP_STATUS' (curl_demo.ex:113) has not been declared. 'HTTP_BODY' (curl_demo.ex:114) has not been declared. 'HTTP_BODY' (curl_demo.ex:116) has not been declared. 'curl_get' (curl_demo.ex:130) has not been declared. 'HTTP_STATUS' (curl_demo.ex:132) has not been declared. 'HTTP_BODY' (curl_demo.ex:133) has not been declared. 'HTTP_BODY' (curl_demo.ex:135) has not been declared. 'curl_delete' (curl_demo.ex:149) has not been declared. 'HTTP_STATUS' (curl_demo.ex:151) has not been declared. 'HTTP_BODY' (curl_demo.ex:152) has not been declared. 'HTTP_BODY' (curl_demo.ex:154) has not been declared. puts(1, "Result:\n" & res[HTTP_BODY] & "\n")
I'm trying to run with Euphoria 4.1 for Windows, both 32-bit and 64-bit versions.