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

Cant build #975

Open
2 of 5 tasks
Burdaas opened this issue Nov 24, 2024 · 2 comments
Open
2 of 5 tasks

Cant build #975

Burdaas opened this issue Nov 24, 2024 · 2 comments
Labels
Priority: Critical Represents a risk to live servers Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Burdaas
Copy link

Burdaas commented Nov 24, 2024

Priority

Critical

Area

  • Data
  • Source
  • Docker
  • Other

What happened?

When I try to compile in opengl or directX I get an error: _Thrd_sleep_for openal32.lib file but when I compile in debug everything is fine

What OS are you seeing the problem on?

Windows

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Burdaas Burdaas added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Nov 24, 2024
@github-actions github-actions bot added Priority: Critical Represents a risk to live servers Status: Pending Test This PR or Issue requires more testing labels Nov 24, 2024
@gesior
Copy link
Contributor

gesior commented Nov 27, 2024

Tested it. I have similar problem.

  • first compiled OpenGL x64, it updated vcpkg to 2024-11-20 vcpkg.json changes. It worked.
  • changed to Debug x64, it again updated some vcpkg packages. It worked.
  • then switched back to OpenGL x64, now it does not run anything about vcpkg (thinks it's valid version?) and fails to compile with some error about invalid version of 'protobuf'.
  • then switched to OpenGL x32, it updated some vcpkg packages and compiled, but OpenGL x64 does not work anymore after Debug x64 compilation.

To fix this:

  • close Visual Studio
  • open vc17 folder
  • remove folders: generated , otclient and vcpkg_installed
  • open Visual Studio

It works, but it starts vcpkg packages compilation again, so it takes extra 15 minutes.
I could not find a reason, why Debug build updates something in OpenGL/DX build, but somehow OpenGL/DX build does not notice it.

@eemarwell
Copy link

eemarwell commented Dec 6, 2024

Tested it. I have similar problem.

  • first compiled OpenGL x64, it updated vcpkg to 2024-11-20 vcpkg.json changes. It worked.
  • changed to Debug x64, it again updated some vcpkg packages. It worked.
  • then switched back to OpenGL x64, now it does not run anything about vcpkg (thinks it's valid version?) and fails to compile with some error about invalid version of 'protobuf'.
  • then switched to OpenGL x32, it updated some vcpkg packages and compiled, but OpenGL x64 does not work anymore after Debug x64 compilation.

To fix this:

  • close Visual Studio
  • open vc17 folder
  • remove folders: generated , otclient and vcpkg_installed
  • open Visual Studio

It works, but it starts vcpkg packages compilation again, so it takes extra 15 minutes. I could not find a reason, why Debug build updates something in OpenGL/DX build, but somehow OpenGL/DX build does not notice it.

I've done this before and not worked. I keep having issues with co_composed.hpp of ASIO.

I'm having this issue when trying to build with Debug X64:
1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_81FQWGX7QBM0PW9Z.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_81FQWGX7QBM0PW9Z.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_GNR8XYJ2WMONXNO4.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_GNR8XYJ2WMONXNO4.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_UXATHFX5SNBO5532.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_UXATHFX5SNBO5532.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_4SSTV198UYE1LR6D.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_4SSTV198UYE1LR6D.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_HTTHZLFR9MUNMTOV.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_HTTHZLFR9MUNMTOV.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_VGGEO367OCY08T3O.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_VGGEO367OCY08T3O.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_HGREZH8T8VMHTI56.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_HGREZH8T8VMHTI56.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_22888G70ODJG8RNA.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_22888G70ODJG8RNA.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_TZ2ATP8TE95ILRTT.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_TZ2ATP8TE95ILRTT.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(161,33): error C3546: '...': there are no parameter packs available to expand (compiling source file x64\OpenGL\unity_DSH70HX1S5XLZVFS.cpp) 1>D:\Downloads\otserver\otclient-main\otclient-main\vc17\vcpkg_installed\x64-windows-static\include\asio\co_composed.hpp(162,2): message : see reference to class template instantiation 'asio::detail::co_composed_state_return<Executors,Handler,asio::detail::co_composed_returns<Signatures...>>' being compiled (compiling source file x64\OpenGL\unity_DSH70HX1S5XLZVFS.cpp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical Represents a risk to live servers Status: Pending Test This PR or Issue requires more testing Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants