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

[BUG] BCryptGenRandom reference in function, error in building #1488

Closed
Snimm opened this issue Mar 7, 2023 · 2 comments
Closed

[BUG] BCryptGenRandom reference in function, error in building #1488

Snimm opened this issue Mar 7, 2023 · 2 comments

Comments

@Snimm
Copy link

Snimm commented Mar 7, 2023

Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].

To get the version of CCExtractor, you can use --version.

Please check all that apply and remove the ones that do not.

CCExtractor version: 0,94

Necessary information

  • Is this a regression (i.e. did it work before)? {YES/NO}
  • What platform did you use? {Window}

Additional information

I used the method given in the compilation guide for windows to build the project with visual studio.
I got the following error:

1>ccx_rust.lib(std-c9a71bd02014cc03.std.7378dd35-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_BCryptGenRandom referenced in function _ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize17h880969def9aa54ebE
1>ccx_rust.lib(std-c9a71bd02014cc03.std.7378dd35-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_BCryptOpenAlgorithmProvider referenced in function _ZN3std3sys7windows4rand12fallback_rng17h3d523479d385cd68E
1>ccx_rust.lib(std-c9a71bd02014cc03.std.7378dd35-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol __imp_BCryptCloseAlgorithmProvider referenced in function _ZN3std3sys7windows4rand12fallback_rng17h3d523479d385cd68E
1>G:\ccex-github\ccextractor-master\ccextractor-master\windows\x64\Debug\ccextractorwin.exe : fatal error LNK1120: 3 unresolved externals
1>Done building project "ccextractor.vcxproj" -- FAILED.```

I know that the windows build is failing but this is a different error than the one I found in CI. 
@PunitLodha
Copy link
Member

This should've been fixed by #1480. Please check again, and let us know if the issue persists

@cfsmp3
Copy link
Contributor

cfsmp3 commented Mar 17, 2023

Closing since we think it's fixed. @Snimm feel free to reopen if needed.

@cfsmp3 cfsmp3 closed this as completed Mar 17, 2023
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