We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am unable to resolve VS2017 C++ linker issue with ADL and Algorithms. Please advise.
1>adl.obj : error LNK2001: unresolved external symbol "bool opt_reorder" (?opt_reorder@@3_NA) 1>adl.obj : error LNK2001: unresolved external symbol "int opt_hysteresis" (?opt_hysteresis@@3Ha) 1>adl.obj : error LNK2001: unresolved external symbol "int opt_overheattemp" (?opt_overheattemp@@3Ha) 1>adl.obj : error LNK2001: unresolved external symbol "int opt_targettemp" (?opt_targettemp@@3Ha) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl equihash_calc_mid_hash(unsigned __int64 * const,unsigned char *)" (?equihash_calc_mid_hash@@YAXQEA_KPEAE@Z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl yescrypt_regenhash(struct work *)" (?yescrypt_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl cryptonight_regenhash(struct work *)" (?cryptonight_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl precalc_hash_blakecoin(struct _dev_blk_ctx *,unsigned int *,unsigned int *)" (?precalc_hash_blakecoin@@YAXPEAU_dev_blk_ctx@@Peai1@Z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl equihash_regenhash(struct work *)" (?equihash_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl blake256_regenhash(struct work *)" (?blake256_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl blakecoin_regenhash(struct work *)" (?blakecoin_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl ethash_regenhash(struct work *)" (?ethash_regenhash@@YAXPEAUwork@@@z) 1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl precalc_hash_blake256(struct _dev_blk_ctx *,unsigned int *,unsigned int *)" (?precalc_hash_blake256@@YAXPEAU_dev_blk_ctx@@Peai1@Z) 1>driver-opencl.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl equihash_verify_sol(struct work *,struct sols_s *,int)" (?equihash_verify_sol@@YAIPEAUwork@@PEAUsols_s@@h@Z) 1>driver-opencl.obj : error LNK2001: unresolved external symbol "bool __cdecl init_sysfs_hwcontrols(int)" (?init_sysfs_hwcontrols@@YA_NH@Z) 1>sgminer.obj : error LNK2001: unresolved external symbol "void __cdecl eth_gen_cache(struct pool *)" (?eth_gen_cache@@YAXPEAUpool@@@z) 1>sgminer.obj : error LNK2001: unresolved external symbol "int __cdecl add_var_int(unsigned char *,unsigned __int64)" (?add_var_int@@YAHPEAE_K@Z) 1>sgminer.obj : error LNK2001: unresolved external symbol "bool __cdecl set_coinbasetxn(struct pool *,unsigned int,unsigned __int64,unsigned __int64,char const *)" (?set_coinbasetxn@@YA_NPEAUpool@@I_K1PEBD@Z) 1>sgminer.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl EthCalcEpochNumber(unsigned char *)" (?EthCalcEpochNumber@@YAIPEAE@Z) 1>sgminer.obj : error LNK2001: unresolved external symbol "void __cdecl sysfs_cleanup(int)" (?sysfs_cleanup@@Yaxh@Z) 1>util.obj : error LNK2001: unresolved external symbol "double eth2pow256" (?eth2pow256@@3na)
The text was updated successfully, but these errors were encountered:
Could you resolve the issue?
Sorry, something went wrong.
Found any solution to this? Even with Windows 7 + VS 2013 express I get the same exact errors.
Plus ADL_SDK 6 is nowhere to be found. Tried with SKD 7.0 and also tried the header files from this repo: https://github.com/magnumripper/od6fan
I'm not a c++ dev and I don't understand the errors and whats involved.
No branches or pull requests
I am unable to resolve VS2017 C++ linker issue with ADL and Algorithms. Please advise.
1>adl.obj : error LNK2001: unresolved external symbol "bool opt_reorder" (?opt_reorder@@3_NA)
1>adl.obj : error LNK2001: unresolved external symbol "int opt_hysteresis" (?opt_hysteresis@@3Ha)
1>adl.obj : error LNK2001: unresolved external symbol "int opt_overheattemp" (?opt_overheattemp@@3Ha)
1>adl.obj : error LNK2001: unresolved external symbol "int opt_targettemp" (?opt_targettemp@@3Ha)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl equihash_calc_mid_hash(unsigned __int64 * const,unsigned char *)" (?equihash_calc_mid_hash@@YAXQEA_KPEAE@Z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl yescrypt_regenhash(struct work *)" (?yescrypt_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl cryptonight_regenhash(struct work *)" (?cryptonight_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl precalc_hash_blakecoin(struct _dev_blk_ctx *,unsigned int *,unsigned int *)" (?precalc_hash_blakecoin@@YAXPEAU_dev_blk_ctx@@Peai1@Z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl equihash_regenhash(struct work *)" (?equihash_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl blake256_regenhash(struct work *)" (?blake256_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl blakecoin_regenhash(struct work *)" (?blakecoin_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl ethash_regenhash(struct work *)" (?ethash_regenhash@@YAXPEAUwork@@@z)
1>algorithm.obj : error LNK2001: unresolved external symbol "void __cdecl precalc_hash_blake256(struct _dev_blk_ctx *,unsigned int *,unsigned int *)" (?precalc_hash_blake256@@YAXPEAU_dev_blk_ctx@@Peai1@Z)
1>driver-opencl.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl equihash_verify_sol(struct work *,struct sols_s *,int)" (?equihash_verify_sol@@YAIPEAUwork@@PEAUsols_s@@h@Z)
1>driver-opencl.obj : error LNK2001: unresolved external symbol "bool __cdecl init_sysfs_hwcontrols(int)" (?init_sysfs_hwcontrols@@YA_NH@Z)
1>sgminer.obj : error LNK2001: unresolved external symbol "void __cdecl eth_gen_cache(struct pool *)" (?eth_gen_cache@@YAXPEAUpool@@@z)
1>sgminer.obj : error LNK2001: unresolved external symbol "int __cdecl add_var_int(unsigned char *,unsigned __int64)" (?add_var_int@@YAHPEAE_K@Z)
1>sgminer.obj : error LNK2001: unresolved external symbol "bool __cdecl set_coinbasetxn(struct pool *,unsigned int,unsigned __int64,unsigned __int64,char const *)" (?set_coinbasetxn@@YA_NPEAUpool@@I_K1PEBD@Z)
1>sgminer.obj : error LNK2001: unresolved external symbol "unsigned int __cdecl EthCalcEpochNumber(unsigned char *)" (?EthCalcEpochNumber@@YAIPEAE@Z)
1>sgminer.obj : error LNK2001: unresolved external symbol "void __cdecl sysfs_cleanup(int)" (?sysfs_cleanup@@Yaxh@Z)
1>util.obj : error LNK2001: unresolved external symbol "double eth2pow256" (?eth2pow256@@3na)
The text was updated successfully, but these errors were encountered: