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 on win10 #939

Open
weiby3 opened this issue Nov 28, 2020 · 3 comments
Open

failed to build on win10 #939

weiby3 opened this issue Nov 28, 2020 · 3 comments

Comments

@weiby3
Copy link

@weiby3 weiby3 commented Nov 28, 2020

Bevy version

0.3.0

Operating system & version

Windows 10

Got the following link error when build bevy-snake

glslang.glsltospirv.lib(intermOut.obj) : error LNK2019: unresolved external symbol __imp__fpclass referenced in function "void __cdecl glslang::OutputDouble(class TInfoSink &,double,enum glslang::TOutputTraverser::EExtraOutput)" (?OutputDouble@glslang@@YAXAEAVTInfoSink@@NW4EExtraOutput@TOutputTraverser@1@@Z)
glslang.glsltospirv.lib(ParseHelper.obj) : error LNK2019: unresolved external symbol __imp_log2 referenced in function "double __cdecl log2<int,0>(int)" (??$log2@H$0A@@@YANH@Z)
fatal error LNK1120: 2 unresolved externals
@cart
Copy link
Contributor

@cart cart commented Nov 28, 2020

I'm guessing this is another case of #788. Can you try installing Visual Studio 2019 build tools?

Lets leave this issue open until we've updated the Bevy Setup part of The Book to include a note that VS2019 build tools are a dependency on Windows.

@weiby3
Copy link
Author

@weiby3 weiby3 commented Nov 29, 2020

I had used vs2019 build tools.
I had searched that issue, and know vs2019 is required.
So I open this issue.

@ccoenen
Copy link

@ccoenen ccoenen commented Dec 8, 2020

I ran into the same (or a similar) issue while following the bevy book getting started guide on windows 10. This happened right after adding DefaultPlugins

Should we add the vs 2019 build tools to the book somewhere?

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.