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

link error with the code for part1 #8

Closed
frankieD3 opened this issue May 4, 2020 · 1 comment
Closed

link error with the code for part1 #8

frankieD3 opened this issue May 4, 2020 · 1 comment

Comments

@frankieD3
Copy link

Hi,
I recently updated to Rust 1.43 while typing in your code(slow but that is the way to learn) and compiling to perform checks. I started getting the following link errors on Windows 10 and do not know how to proceed at this point.

libspirv_cross-540902a585abd075.rlib(wrapper.o) : error LNK2001: unresolved external symbol __CxxFrameHandler4
libspirv_cross-540902a585abd075.rlib(spirv_msl.o) : error LNK2001: unresolved external symbol __CxxFrameHandler4
F:\users\fdemi\rust\Graphics\gfx-hal\gfx_hal_try1\target\debug\deps\gfx_hal_tutorials.exe : fatal error LNK1120: 1 unresolved externals

I know that _CXX** are windows symbols.

I am learning Rust while taking your tutorials. I do notice the rlib's have a bit of a different format.

Not sure how to proceed. Maybe see how to rollback Rust to an earlier version?

@frankieD3
Copy link
Author

To solve this see gfx-rs/wgpu#464 . Essentially cc-rs is picking out the wrong version of VS. Go back to an older version of cc by cargo update -p cc --precise 1.0.50

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

1 participant