Comments (8)
right now I get this when trying to compile13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(102): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(102): error C2512: 'boost::asio::windows::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(102): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(107): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(107): error C2512: 'boost::asio::windows::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(107): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(115): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(115): error C2512: 'boost::asio::windows::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(115): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(120): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(120): error C2512: 'boost::asio::windows::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(120): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(131): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(133): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(240): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(241): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(240): error C2512: 'boost::asio::windows::stream_handle::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(241): error C2512: 'boost::asio::windows::stream_handle::stream_handle': no appropriate default constructor available (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(340): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(340): error C2440: '<function-style-cast>': cannot convert from 'boost::winapi::HANDLE_' to 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(340): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(341): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(341): error C2440: '<function-style-cast>': cannot convert from 'boost::winapi::HANDLE_' to 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\Program Files\boost\boost/process/detail/windows/async_pipe.hpp(341): note: No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\legionserver\src\common\Utilities\StartProcess.cpp(28): error C2039: 'initializers': is not a member of 'boost::process' 13>C:\Program Files\boost\boost/process/start_dir.hpp(43): note: see declaration of 'boost::process'
from ashamanecore.
im using cmake 3.15.4 and boost 1.67
from ashamanecore.
if i try to use a higher version of boost then cmake does not want to recognize my boost version
from ashamanecore.
check if boost path is set to C:/local/boost_1_67_0 instead of C:\local\boost_1_66_0
from ashamanecore.
im using cmake 3.15.4 and boost 1.67
try using cmake 3.15.2 and Boost 1.67 that was working for me in windows. Also your error is related to old version of boost.
you can refer to here for reference (Linux related) but same scenario #169 (comment)
from ashamanecore.
CMake Warning (dev) at dep/boost/CMakeLists.txt:41 (find_package):
So when I run cmake with 1.67 it detects boost but I get the following warning.
`Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Environment variable Boost_ROOT is set to:
C:/local/boost_1_67_0
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.`
When I run visual studios I get this:
13>C:\local\boost_1_67_0\boost/process/detail/windows/async_pipe.hpp(102): error C2039: 'get_io_context': is not a member of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp) 13>C:\local\boost_1_67_0\boost/asio/windows/stream_handle.hpp(50): note: see declaration of 'boost::asio::windows::stream_handle' (compiling source file C:\legionserver\src\common\Utilities\StartProcess.cpp)
That makes it look like it is using backslash rather than forward slash. In environment variables it is set to :
Variable name: Boost_ROOT
Variable value: C:/local/boost_1_67_0
from ashamanecore.
Nice, I had to use a very specific version of boost to get this to work.
First I had to restart after updating the system variable. Then I had to delete the copy of ashamanecore and reclone it and then I had to install boost from this exact version:
[https://sourceforge.net/projects/boost/files/boost-binaries/1.67.0/boost_1_67_0-msvc-14.1-64.exe/download]
from ashamanecore.
It should probably be included on the readme what version to use so someone does not have the same issue as me in the future. Thank you so much for the help though!!
from ashamanecore.
Related Issues (20)
- quest: Missing Mallet
- WorldServer crashed on enter Instances
- Error while importing Database HOT 5
- Compile Error HOT 4
- compile error with asio HOT 10
- Compiling Error Ubuntu Server 20.04 Asio/boost errors? HOT 1
- Error Compiling on linux do to windows dependencies. HOT 1
- Death Knight, Demon Hunter Entry Level Changes
- SQL | Fresh Database / 2020_12_18_00_world.sql ERROR HOT 1
- Scripts do not work in the Mardum location
- ERROR Build of the "worldserver.vcxproj" HOT 19
- [1146] Table 'world.updates_include' doesn't exist Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders. HOT 3
- GossipMenuItem doesn't working HOT 4
- possible to match master = 9.0.2.37474 from Trinity ? HOT 3
- WoW Client Launcher 9.0.2 HOT 3
- change realm is broken
- (Quest issue): Stop the Bombardment bug (last Branch Legion)
- Ubuntu 20.04.2 LTS - Compile Issue HOT 1
- Compilation error HOT 1
- 7.35 Problem
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 ashamanecore.