nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

Can not build solution #292

Open okarpov opened 7 years ago

okarpov commented 7 years ago

Hello,

finally i got the following errors:

3>MinerFactory.obj : error LNK2001: unresolved external symbol "public: static void cdecl cpu_tromp_sse2::solve(char const ,unsigned int,char const ,unsigned int,class std::function<bool cdecl(void)>,class std::function<void cdecl(class std::vector<unsigned int,class std::allocator > const &,unsigned int64,unsigned char const *)>,class std::function<void __cdecl(void)>,struct cpu_tromp_sse2 &)" (?solve@cpu_tromp_sse2@@SAXPEBDI0IV?$function@$$A6A_NXZ@std@@V?$function@$$A6AXAEBV?$vector@IV?$allocator@I@std@@@std@@_KPEBE@Z@3@V?$function@$$A6AXXZ@3@AEAU1@@Z)

3>MinerFactory.obj : error LNK2001: unresolved external symbol "public: static void __cdecl cpu_tromp_sse2::stop(struct cpu_tromp_sse2 &)" (?stop@cpu_tromp_sse2@@SAXAEAU1@@Z)

3>MinerFactory.obj : error LNK2001: unresolved external symbol "public: static void __cdecl cpu_tromp_sse2::start(struct cpu_tromp_sse2 &)" (?start@cpu_tromp_sse2@@SAXAEAU1@@Z)

okarpov commented 7 years ago

does it mean I should remove _USRDLL ?

okarpov commented 7 years ago

removing _USRDLL gives errors like:

unresolved external symbol pthread_barrier_init nheqminer-master\nheqminer\cpu_tromp_SSE2.lib(cpu_tromp.obj)

okarpov commented 7 years ago

upgrading from vs2013 to vs2015 could be the problem?