Comments (2)
Hi!
There is the result of a my check with Visual Studio 2022 Community Edition:
C:\home\eao197\sandboxes\restinio.github\dev\cmake_build_ninja>cmake -G Ninja ..
-- The CXX compiler identification is MSVC 19.39.33520.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SET C++17 BY DEFAULT
-- RESTINIO_INSTALL: ON
-- RESTINIO_TEST: ON
-- RESTINIO_SAMPLE: ON
-- RESTINIO_BENCHMARK: ON
-- RESTINIO_WITH_SOBJECTIZER: ON
-- RESTINIO_DEP_STANDALONE_ASIO: find
-- RESTINIO_DEP_BOOST_ASIO: find
-- RESTINIO_DEP_LLHTTP: local
-- RESTINIO_DEP_FMT: local
-- RESTINIO_DEP_EXPECTED_LITE: local
-- RESTINIO_DEP_CATCH2: local
-- RESTINIO_DEP_SOBJECTIZER: local
-- RESTINIO_ASIO_SOURCE: standalone
-- RESTINIO_FMT_TARGET: will be decided dynamically
-- Defining RESTinio dependencies...
-- Finding ASIO package...
-- asio libraries:
-- asio include dir: C:/home/eao197/sandboxes/restinio.github/dev/asio/include
========================================
-- Add subdirectory nodejs/llhttp
-- The C compiler identification is MSVC 19.39.33520.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
--
--
-- Project configure summary:
--
-- CMake build type .................: DEBUG
-- Install prefix ...................: C:/Program Files (x86)/restinio_root
-- Build shared library .............: OFF
-- Build static library .............: ON
--
========================================
========================================
-- Add subdirectory fmt
-- Version: 10.1.0
-- Build type: Debug
========================================
========================================
-- Add subdirectory expected-lite
-- Project 'expected_lite', package 'expected-lite' version: '0.6.3'
========================================
========================================
-- Add subdirectory so_5
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- RESTINIO_SOBJECTIZER_LIB_LINK_NAME: sobjectizer::StaticLib
========================================
========================================
adding restinio-helpers
========================================
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- Could NOT find PCRE (missing: PCRE_LIBRARY PCRE_INCLUDE_DIR)
-- Could NOT find PCRE2 (missing: PCRE2_LIBRARY PCRE2_INCLUDE_DIR)
-- Could NOT find PCRE2 (missing: PCRE2_LIBRARY PCRE2_INCLUDE_DIR)
========================================
-- Defining restinio target...
-- RESTINIO_VERSION: 0.7.2
-- RESTINIO_SOVERSION: 0.7
-- RESTINIO_VERSION: 0.7.2
-- restinio target will depend on 'asio::asio' target
-- restinio target will depend on 'llhttp::llhttp' target
-- restinio target will depend on 'fmt::fmt' target
-- restinio target will depend on 'nonstd::expected-lite' target
========================================
========================================
-- Add subdirectory catch2
========================================
-- Configuring done (6.9s)
-- Generating done (0.6s)
-- Build files have been written to: C:/home/eao197/sandboxes/restinio.github/dev/cmake_build_ninja
C:\home\eao197\sandboxes\restinio.github\dev\cmake_build_ninja>cmake --build . --parallel 3
[366/366] Linking CXX executable bin\_bench.restinio.single_handler_so5_timer.exe
C:\home\eao197\sandboxes\restinio.github\dev\cmake_build_ninja>cmake --version
cmake version 3.28.0-msvc1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The CMake and Ninja are from VS.
from restinio.
Well, thanks!
When I turned ninja.exe from CLion's distibution to VS Community's executable, I was able to successfully start building RESTinio-0.7.1 with bundled mingw compiler and bundled cmake.
However, if interested, you still can check building 0.7.1 version against CLion's 2022.3.3 ninja.exe (1.10.2). With it 0.6.19 version was being built almost ok.
from restinio.
Related Issues (20)
- Compilation of express router tests fails on VC++ 19 (VisualStudio 2022) HOT 1
- HTTPS not working
- <algorithm> isn't included in easy_parser.hpp
- Any chance std::fopen() call can be changed to std::fopen_s()? HOT 14
- New overload for sendfile and std::filesystem::path?
- CMake configure fails when using boost asio via find HOT 9
- vcpkg should have a variant with RESTinio+Boost.Asio HOT 1
- There should be operator<< for http_status_code_t
- static_if_impl has to be replaced with if constexpr
- There is no such type as generic_request_handler_t
- build system regression: RESTINIO_USE_EXTERNAL_SOBJECTIZER no longer available HOT 3
- allow using catch2 from system HOT 8
- Slow compilation HOT 2
- HTTP/2 and HTTP/3 HOT 1
- Do not use SO_REUSEADDR on Window by default
- Question: How to get http_server_t<> address HOT 2
- display webpage of directory listing HOT 1
- Many tests fail: failed to start server on 127.0.0.1:8086: bind: Address already in use HOT 1
- Fails to find system Catch2: include could not find requested file: Catch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restinio.