Giter Club home page Giter Club logo

libcurl-cxx-std-networking-integration's People

Contributors

ned14 avatar

Stargazers

Sebastian Goth avatar Ray Manaloto avatar  avatar Roman Puls avatar

Watchers

 avatar James Cloos avatar  avatar Ray Manaloto avatar

libcurl-cxx-std-networking-integration's Issues

Running download test: Exception thrown 'Couldn't connect to server'

Hi @ned14,

My first test this application:

OS: ArchLinux
Compiler: GCC 13.2

/build_rel/libcurl-cxx-std-networking-integration https://github.com/ned14/outcome/releases/download/v2.2.7/outcome-v2-all-sources-018620768577911c9b259275a5957525d55ad09a.tar.xz
Fetching from URL https://github.com/ned14/outcome/releases/download/v2.2.7/outcome-v2-all-sources-018620768577911c9b259275a5957525d55ad09a.tar.xz...


From URL 0x560a55e942d0 fetched:

FATAL: Exception thrown 'Couldn't connect to server'

Nex step,

diff - Update dependencies
diff --git a/asio b/asio
index be7badc..89b0a41 160000
--- a/asio
+++ b/asio
@@ -1 +1 @@
-Subproject commit be7badc31abcc395cf868de6a1e240c2350bdbf2
+Subproject commit 89b0a4138a92883ae2514be68018a6c837a5b65f
diff --git a/curl b/curl
index e052859..4600bd3 160000
--- a/curl
+++ b/curl
@@ -1 +1 @@
-Subproject commit e052859759b34d0e05ce0f17244873e5cd7b457b
+Subproject commit 4600bd3993619048feb513fb1ada8aad40e9b557
diff --git a/curl_status_codes.hpp b/curl_status_codes.hpp
index cfc9a29..21dd179 100644
--- a/curl_status_codes.hpp
+++ b/curl_status_codes.hpp
@@ -1,7 +1,7 @@
 #pragma once
 
 #if USE_EXPERIMENTAL_STD_STATUS_CODES
-#include "status-code/include/error.hpp"  // for WG21 status_code
+#include "status-code/include/status-code/error.hpp"  // for WG21 status_code
 #endif
 #include "curl/curl.h"
 
@@ -109,4 +109,4 @@ namespace curl_status_codes
     curl_global_init_t() { ::curl_global_init(CURL_GLOBAL_ALL); }
   } curl_global_init;
 
-}  // namespace curl_status_codes
\ No newline at end of file
+}  // namespace curl_status_codes
diff --git a/status-code b/status-code
index 6befe8f..ff93ad2 160000
--- a/status-code
+++ b/status-code
@@ -1 +1 @@
-Subproject commit 6befe8f7c79329b75a3b51e1ce28b5893b62b76d
+Subproject commit ff93ad2fda3d11d5a45195f92543103682c7c451

get errors:

[100%] Building C object curl/lib/CMakeFiles/libcurl_static.dir/vssh/wolfssh.c.o
[100%] Linking C static library libcurl.a
[100%] Built target libcurl_static
[100%] Building CXX object CMakeFiles/libcurl-cxx-std-networking-integration.dir/libcurl-cxx-std-networking-integration.cpp.o
In file included from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/libcurl-cxx-std-networking-integration.cpp:37:
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/curl_status_codes.hpp:51:31: error: cannot declare variable ‘curl_status_codes::curl_code_domain’ to be of abstract type ‘curl_status_codes::_curl_code_domain’
   51 |   constexpr _curl_code_domain curl_code_domain;
      |                               ^~~~~~~~~~~~~~~~
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/curl_status_codes.hpp:19:9: note:   because the following virtual functions are pure within ‘curl_status_codes::_curl_code_domain’:
   19 |   class _curl_code_domain final : public status_code_domain
      |         ^~~~~~~~~~~~~~~~~
In file included from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/status_code.hpp:28,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/status_error.hpp:28,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/generic_code.hpp:28,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/quick_status_code_from_enum.hpp:32,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/errored_status_code.hpp:28,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/error.hpp:28,
                 from /home/kassane/Documentos/libcurl-cxx-std-networking-integration/curl_status_codes.hpp:4:
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/status_code_domain.hpp:416:52: note:     ‘virtual system_error2::status_code_domain::payload_info_t system_error2::status_code_domain::payload_info() const’
  416 |   SYSTEM_ERROR2_CONSTEXPR20 virtual payload_info_t payload_info() const noexcept = 0;
      |                                                    ^~~~~~~~~~~~
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/curl_status_codes.hpp:86:32: error: cannot declare variable ‘curl_status_codes::curlm_code_domain’ to be of abstract type ‘curl_status_codes::_curlm_code_domain’
   86 |   constexpr _curlm_code_domain curlm_code_domain;
      |                                ^~~~~~~~~~~~~~~~~
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/curl_status_codes.hpp:54:9: note:   because the following virtual functions are pure within ‘curl_status_codes::_curlm_code_domain’:
   54 |   class _curlm_code_domain final : public status_code_domain
      |         ^~~~~~~~~~~~~~~~~~
/home/kassane/Documentos/libcurl-cxx-std-networking-integration/status-code/include/status-code/status_code_domain.hpp:416:52: note:     ‘virtual system_error2::status_code_domain::payload_info_t system_error2::status_code_domain::payload_info() const’
  416 |   SYSTEM_ERROR2_CONSTEXPR20 virtual payload_info_t payload_info() const noexcept = 0;
      |                                                    ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/libcurl-cxx-std-networking-integration.dir/build.make:76: CMakeFiles/libcurl-cxx-std-networking-integration.dir/libcurl-cxx-std-networking-integration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:463: CMakeFiles/libcurl-cxx-std-networking-integration.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.