Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build with Boost 1.77.0 #2

Open
yurybura opened this issue Sep 5, 2021 · 5 comments
Open

Failed to build with Boost 1.77.0 #2

yurybura opened this issue Sep 5, 2021 · 5 comments

Comments

@yurybura
Copy link

yurybura commented Sep 5, 2021

I'm working for update Boost for VCPKG (PR microsoft/vcpkg#19556).
I've detected a problem to build qwtw library on x64-windows:
failure logs for x64-windows.zip
Could you help?

@ig-or
Copy link
Owner

ig-or commented Nov 14, 2021

Sorry I didn't looked here for some time.. Will try to look into this

@JackBoosY
Copy link

Any progress?

@ig-or
Copy link
Owner

ig-or commented Aug 31, 2022

Or, sorry, looks like I moved qwtw to C++20. For me it looks like the C version is not what is expected..

:\buildtrees\qwtw\src\a3c4e419e6-2b585e179b.clean\qwtw\qwtest2.cpp(155): error C2039: 'chrono_literals': is not a member of 'std'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\fstream(26): note: see declaration of 'std'
D:\buildtrees\qwtw\src\a3c4e419e6-2b585e179b.clean\qwtw\qwtest2.cpp(155): error C2871: 'chrono_literals': a namespace with this name does not exist
D:\buildtrees\qwtw\src\a3c4e419e6-2b585e179b.clean\qwtw\qwtest2.cpp(156): error C2039: 'this_thread': is not a member of 'std'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\fstream(26): note: see declaration of 'std'
D:\buildtrees\qwtw\src\a3c4e419e6-2b585e179b.clean\qwtw\qwtest2.cpp(156): error C3083: 'this_thread': the symbol to the left of a '::' must be a type
D:\buildtrees\qwtw\src\a3c4e419e6-2b585e179b.clean\qwtw\qwtest2.cpp(156): error C2039: 'sleep_for': is not a member of 'std'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\fstream(26): note: see declaration of 'std'

@JackBoosY
Copy link

our CI passed this item(VS2022) but I can repro the same issue locally (VS2017).

@ig-or
Copy link
Owner

ig-or commented Aug 31, 2022

yes, it looks like VS2022 is using C++20, and VS2017 is previous version.. Will try to repro this locally, maybe there will be some solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants