Bitcoin Forum
May 02, 2024, 01:31:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
  Print  
Author Topic: Ufasoft Miner - Windows/Linux, x86/x64, SSE2/OpenCL, Open Source  (Read 630809 times)
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
March 24, 2012, 08:14:11 AM
 #761

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.

no there isnt yet, i already asked ufasoft for such a feature.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
1714613488
Hero Member
*
Offline Offline

Posts: 1714613488

View Profile Personal Message (Offline)

Ignore
1714613488
Reply with quote  #2

1714613488
Report to moderator
1714613488
Hero Member
*
Offline Offline

Posts: 1714613488

View Profile Personal Message (Offline)

Ignore
1714613488
Reply with quote  #2

1714613488
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714613488
Hero Member
*
Offline Offline

Posts: 1714613488

View Profile Personal Message (Offline)

Ignore
1714613488
Reply with quote  #2

1714613488
Report to moderator
1714613488
Hero Member
*
Offline Offline

Posts: 1714613488

View Profile Personal Message (Offline)

Ignore
1714613488
Reply with quote  #2

1714613488
Report to moderator
Nyaaan
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile WWW
March 24, 2012, 10:10:10 AM
 #762

What language is this coded in? Delphi?
fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
March 24, 2012, 11:49:37 AM
Last edit: March 24, 2012, 06:58:24 PM by fred0
 #763

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.
Just try repeating the -o parameter in your command line for an additional pool.
For example:
bitcoin-miner -o http://user1:password@www.poool1.com:8332 -o http://user2:password@www.poool2.com:8332

[Edit] This is wrong, and will not work!
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
March 24, 2012, 04:43:54 PM
 #764

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.
Just try repeating the -o parameter in your command line for an additional pool.
For example:
bitcoin-miner -o http://user1:password@www.poool1.com:8332 -o http://user2:password@www.poool2.com:8332

there is no such feature.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
March 24, 2012, 06:55:11 PM
 #765

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.
Just try repeating the -o parameter in your command line for an additional pool.
For example:
bitcoin-miner -o http://user1:password@www.poool1.com:8332 -o http://user2:password@www.poool2.com:8332

there is no such feature.
Sorry I thought I remembered doing it...you are right, I am wrong...this feature is not implemented in ufasoft miner....
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
March 24, 2012, 07:07:27 PM
 #766

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.
Just try repeating the -o parameter in your command line for an additional pool.
For example:
bitcoin-miner -o http://user1:password@www.poool1.com:8332 -o http://user2:password@www.poool2.com:8332

there is no such feature.
Sorry I thought I remembered doing it...you are right, I am wrong...this feature is not implemented in ufasoft miner....
you can do it like this with poclbm Smiley no reason to excuse!

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
March 24, 2012, 07:14:22 PM
 #767

Is there a way to do failover with Ufasoft Miner? I've not seen a setting that would indicate it would but wanted to be sure.
some incorrect info
there is no such feature.
Sorry I thought I remembered doing it...you are right, I am wrong...this feature is not implemented in ufasoft miner....
you can do it like this with poclbm Smiley no reason to excuse!
I prefer that I did NOT spread incorrect information...there is already enough of that on the interwebs  Smiley
antares
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
April 03, 2012, 12:38:36 AM
 #768

It's just a stub for future.
CUDA code is present in the .tar, but never tried to build in under linux.

how much work will it be to enable the cuda part?
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
April 03, 2012, 03:01:17 AM
 #769

It's just a stub for future.
CUDA code is present in the .tar, but never tried to build in under linux.

how much work will it be to enable the cuda part?
Not much. My Linux PC have not PCI-E slot. So I can't test CUDA/OpenCL implementation.

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
April 03, 2012, 04:55:10 AM
 #770

OpenCL dosnt woorks too under linux. If you got time (which you actually dont have ufasoft) i can give u a machine where u can test CUDA+OCL.

greetings

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Zoiner
Member
**
Offline Offline

Activity: 74
Merit: 10



View Profile
April 04, 2012, 04:22:09 PM
 #771

Hi Ufasoft

I have been using bitcoin-miner for a while and just switched to win7 64 bit.

One pool (eclipse)

"bitcoin-miner-64.exe -a 1 -t 0 -o http://eu.eclipsemc.com:8337 -u x -p x"

works fine  although it tells me it is using a machine core as well as the GPU, despite "-t 0"

but bitparking

"bitcoin-miner-64.exe -a 1 -t 0 -o http://mmpool.bitparking.com:15098 -u x -p x"

gives an error:

"bitcoin-miner has stopped working
Windows is collecting more information about the problem.  This might take several minutes...."

It then says

"A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available."

I click close program and get nothing of course.

I get the effect whether I invoke the program in a command box or as a BAT file.
I have tried different aggression to no avail.
The bitparking account is fine since I can mine on it with Phoenix.
The instructions used to work when I had the 32bit OS.

Can you help?

https://vircurex.com/welcome/index?referral_id=648-281
The QR code in my picture is not me but a worthwhile software.
LWwhT53CdLsSaenoMy2AqhwsxL5MMFmwWY
djinfected
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
April 17, 2012, 02:49:06 PM
 #772

Just wanted to warn you that Microsoft Security Essentials is saying that your miners are malware as of April 16th, 2012. I wrote a report to Microsoft saying this was untrue but it will probably not suffice to take your miners off of the definitions.
greatwolf
Full Member
***
Offline Offline

Activity: 230
Merit: 100


View Profile
April 17, 2012, 03:35:28 PM
 #773

Is this just for ufasoft or is it for any bitcoin miner?
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
April 17, 2012, 03:44:25 PM
 #774

Is this just for ufasoft or is it for any bitcoin miner?

Most AntiVirus programs flag most Bitcoin mining programs as malware.  This is old news.

But I appreciate it when folks put in a report to the AV vendors to try and correct this.
Thanks,
Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
aspirez
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 06, 2012, 10:21:08 AM
 #775

Hello,

I'm trying to compile ufasoft with VS 2010, but i get the following error

\ufasoft_bitcoin-miner-0.29\el/libext.h(107): fatal error C1083: Cannot open include file: 'sys/cdefs.h': No such file or directory


can somebody tell me how to solve that?
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
May 06, 2012, 11:05:29 AM
Last edit: May 06, 2012, 04:43:31 PM by ufasoft
 #776

\ufasoft_bitcoin-miner-0.29\el/libext.h(107): fatal error C1083: Cannot open include file: 'sys/cdefs.h': No such file or directory
replace error code line to following:


Code:
#ifdef _MSC_VER
# ifdef __cplusplus
# define __BEGIN_DECLS extern "C" {
# define __END_DECLS }
# else
# define __BEGIN_DECLS
# define __END_DECLS
# endif
#else
#    include "sys/cdefs.h"
#endif

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
aspirez
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 06, 2012, 08:33:34 PM
 #777

Thanks for the answer!

I replace the above code but now i get the following errors


1>miner.obj : error LNK2019: unresolved external symbol "class Ext::Blob __cdecl Coin::CalcSha256Midstate(struct Ext::ConstBuf const &)" (?CalcSha256Midstate@Coin@@YA?AVBlob@Ext@@ABUConstBuf@3@@Z) referenced in function "public: static class Coin::BitcoinWorkData __cdecl Coin::BitcoinWorkData::FromJson(class Ext::String const &,enum Coin::enum_HashAlgo::E)" (?FromJson@BitcoinWorkData@Coin@@SA?AV12@ABVString@Ext@@W4E@enum_HashAlgo@2@@Z)

>ufasoft_bitcoin-miner-0.29\Debug\bitcoin-miner.exe : fatal error LNK1120: 1 unresolved externals

I'll be very thankful if you help me!
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
May 06, 2012, 09:41:55 PM
 #778


1>miner.obj : error LNK2019: unresolved external symbol "class Ext::Blob __cdecl Coin::CalcSha256Midstate(struct Ext::ConstBuf const &)" (?CalcSha256Midstate@Coin@@YA?

Add src\util.cpp to the project.

Thank you for your errors report. I'm fixing them in the .vcxproj for next Source code release.

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
aspirez
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 06, 2012, 11:27:14 PM
 #779

Thanks again Smiley

I sucessfully build /cpu/  miner after adding  util.cpp.

Now i set "Exclude from project" to false at the .cpp-s  in "GPU support" and i'm trying  to build it again Roll Eyes
I added all of the necessary  files from the  SDK-s but again, i received errors at the linker.


Code:
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ext::Gpu::CuEngine::Init(void)" (?Init@CuEngine@Gpu@Ext@@QAEXXZ) referenced in function "public: __thiscall Coin::CudaArchitecture::CudaArchitecture(void)" (??0CudaArchitecture@Coin@@QAE@XZ)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: int __thiscall Ext::Gpu::CuDevice::GetAttribute(enum CUdevice_attribute_enum)" (?GetAttribute@CuDevice@Gpu@Ext@@QAEHW4CUdevice_attribute_enum@@@Z) referenced in function __catch$?FillDevices@CudaArchitecture@Coin@@UAEXAAVBitcoinMiner@2@@Z$0
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: class Ext::String __thiscall Ext::Gpu::CuDevice::get_Name(void)" (?get_Name@CuDevice@Gpu@Ext@@QAE?AVString@3@XZ) referenced in function __catch$?FillDevices@CudaArchitecture@Coin@@UAEXAAVBitcoinMiner@2@@Z$0
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: class Ext::Gpu::CuDevice __thiscall Ext::Gpu::CuEngine::GetDevice(int)" (?GetDevice@CuEngine@Gpu@Ext@@QAE?AVCuDevice@23@H@Z) referenced in function __catch$?FillDevices@CudaArchitecture@Coin@@UAEXAAVBitcoinMiner@2@@Z$0
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: int __thiscall Ext::Gpu::CuEngine::DeviceCount(void)" (?DeviceCount@CuEngine@Gpu@Ext@@QAEHXZ) referenced in function __catch$?FillDevices@CudaArchitecture@Coin@@UAEXAAVBitcoinMiner@2@@Z$0
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: class Ext::Gpu::CuKernel __thiscall Ext::Gpu::CuModule::GetFunction(class Ext::String const &)" (?GetFunction@CuModule@Gpu@Ext@@QAE?AVCuKernel@23@ABVString@3@@Z) referenced in function "public: __thiscall Coin::CudaTask::CudaTask(class Coin::GpuMiner &,class Ext::Gpu::CuEngine &,class Ext::Gpu::CuDevice const &)" (??0CudaTask@Coin@@QAE@AAVGpuMiner@1@AAVCuEngine@Gpu@Ext@@ABVCuDevice@45@@Z)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: static class Ext::Gpu::CuModule __cdecl Ext::Gpu::CuModule::FromData(void const *)" (?FromData@CuModule@Gpu@Ext@@SA?AV123@PBX@Z) referenced in function "public: __thiscall Coin::CudaTask::CudaTask(class Coin::GpuMiner &,class Ext::Gpu::CuEngine &,class Ext::Gpu::CuDevice const &)" (??0CudaTask@Coin@@QAE@AAVGpuMiner@1@AAVCuEngine@Gpu@Ext@@ABVCuDevice@45@@Z)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "void __cdecl Ext::Gpu::CuCheck(enum cudaError_enum)" (?CuCheck@Gpu@Ext@@YAXW4cudaError_enum@@@Z) referenced in function "public: __thiscall Coin::CudaTask::CudaTask(class Coin::GpuMiner &,class Ext::Gpu::CuEngine &,class Ext::Gpu::CuDevice const &)" (??0CudaTask@Coin@@QAE@AAVGpuMiner@1@AAVCuEngine@Gpu@Ext@@ABVCuDevice@45@@Z)
1>miner-cuda.obj : error LNK2001: unresolved external symbol _cuMemAlloc
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: class Ext::Gpu::CuContext __thiscall Ext::Gpu::CuDevice::CreateContext(unsigned int)" (?CreateContext@CuDevice@Gpu@Ext@@QAE?AVCuContext@23@I@Z) referenced in function "public: __thiscall Coin::CudaTask::CudaTask(class Coin::GpuMiner &,class Ext::Gpu::CuEngine &,class Ext::Gpu::CuDevice const &)" (??0CudaTask@Coin@@QAE@AAVGpuMiner@1@AAVCuEngine@Gpu@Ext@@ABVCuDevice@45@@Z)
1>miner-cuda.obj : error LNK2001: unresolved external symbol _cuMemFree
1>miner-cuda.obj : error LNK2001: unresolved external symbol _cuMemcpyDtoH
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ext::Gpu::CuKernel::Launch(int,int)" (?Launch@CuKernel@Gpu@Ext@@QAEXHH@Z) referenced in function "public: virtual void __thiscall Coin::CudaTask::Run(void)" (?Run@CudaTask@Coin@@UAEXXZ)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ext::Gpu::CuKernel::SetBlockShape(int,int,int)" (?SetBlockShape@CuKernel@Gpu@Ext@@QAEXHHH@Z) referenced in function "public: virtual void __thiscall Coin::CudaTask::Run(void)" (?Run@CudaTask@Coin@@UAEXXZ)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ext::Gpu::CuKernel::ParamSetSize(unsigned int)" (?ParamSetSize@CuKernel@Gpu@Ext@@QAEXI@Z) referenced in function "public: virtual void __thiscall Coin::CudaTask::Run(void)" (?Run@CudaTask@Coin@@UAEXXZ)
1>miner-cuda.obj : error LNK2019: unresolved external symbol "public: void __thiscall Ext::Gpu::CuKernel::ParamSetv(int,void *,unsigned int)" (?ParamSetv@CuKernel@Gpu@Ext@@QAEXHPAXI@Z) referenced in function "public: virtual void __thiscall Coin::CudaTask::Run(void)" (?Run@CudaTask@Coin@@UAEXXZ)
1>miner-cuda.obj : error LNK2001: unresolved external symbol _cuMemcpyHtoD
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetPlatformIDs@12 referenced in function "public: static class std::vector<class Ext::Cl::Platform,class std::allocator<class Ext::Cl::Platform> > __cdecl Ext::Cl::Platform::GetAll(void)" (?GetAll@Platform@Cl@Ext@@SA?AV?$vector@VPlatform@Cl@Ext@@V?$allocator@VPlatform@Cl@Ext@@@std@@@std@@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetPlatformInfo@20 referenced in function "public: class Ext::String __thiscall Ext::Cl::Platform::get_Vendor(void)const " (?get_Vendor@Platform@Cl@Ext@@QBE?AVString@3@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetDeviceIDs@24 referenced in function "public: class std::vector<class Ext::Cl::Device,class std::allocator<class Ext::Cl::Device> > __thiscall Ext::Cl::Platform::GetDevices(unsigned __int64)const " (?GetDevices@Platform@Cl@Ext@@QBE?AV?$vector@VDevice@Cl@Ext@@V?$allocator@VDevice@Cl@Ext@@@std@@@std@@_K@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetDeviceInfo@20 referenced in function "public: class Ext::Blob __thiscall Ext::Cl::Device::GetInfo(unsigned int)const " (?GetInfo@Device@Cl@Ext@@QBE?AVBlob@3@I@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetEventInfo@20 referenced in function "public: enum Ext::Cl::enum_ExecutionStatus::E __thiscall Ext::Cl::Event::get_Status(void)" (?get_Status@Event@Cl@Ext@@QAE?AW4E@enum_ExecutionStatus@23@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clSetEventCallback@16 referenced in function "public: void __thiscall Ext::Cl::Event::SetCallback(void (__stdcall*)(struct _cl_event *,int,void *),void *)" (?SetCallback@Event@Cl@Ext@@QAEXP6GXPAU_cl_event@@HPAX@Z1@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clWaitForEvents@8 referenced in function "void __cdecl Ext::Cl::Wait(class Ext::Cl::Event const &)" (?Wait@Cl@Ext@@YAXABVEvent@12@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueNDRangeKernel@36 referenced in function "public: class Ext::Cl::Event __thiscall Ext::Cl::CommandQueue::Enqueue(class Ext::Cl::Kernel const &,class Ext::Cl::NDRange const &)" (?Enqueue@CommandQueue@Cl@Ext@@QAE?AVEvent@23@ABVKernel@23@ABVNDRange@23@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueTask@20 referenced in function "public: class Ext::Cl::Event __thiscall Ext::Cl::CommandQueue::Enqueue(class Ext::Cl::Kernel const &)" (?Enqueue@CommandQueue@Cl@Ext@@QAE?AVEvent@23@ABVKernel@23@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueReadBuffer@36 referenced in function "public: class Ext::Cl::Event __thiscall Ext::Cl::CommandQueue::EnqueueRead(class Ext::Cl::Buffer const &,void *,unsigned int)" (?EnqueueRead@CommandQueue@Cl@Ext@@QAE?AVEvent@23@ABVBuffer@23@PAXI@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueWriteBuffer@36 referenced in function "public: class Ext::Cl::Event __thiscall Ext::Cl::CommandQueue::EnqueueWrite(class Ext::Cl::Buffer const &,void const *,unsigned int)" (?EnqueueWrite@CommandQueue@Cl@Ext@@QAE?AVEvent@23@ABVBuffer@23@PBXI@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueMarker@8 referenced in function "public: class Ext::Cl::Event __thiscall Ext::Cl::CommandQueue::EnqueueMarker(void)" (?EnqueueMarker@CommandQueue@Cl@Ext@@QAE?AVEvent@23@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clEnqueueBarrier@4 referenced in function "public: void __thiscall Ext::Cl::CommandQueue::EnqueueBarrier(void)" (?EnqueueBarrier@CommandQueue@Cl@Ext@@QAEXXZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateContext@24 referenced in function "public: void __thiscall Ext::Cl::Context::Create(class std::map<int,int,struct std::less<int>,class std::allocator<struct std::pair<int const ,int> > > const &,class Ext::Cl::Device const &)" (?Create@Context@Cl@Ext@@QAEXABV?$map@HHU?$less@H@std@@V?$allocator@U?$pair@$$CBHH@std@@@2@@std@@ABVDevice@23@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateContextFromType@24 referenced in function "public: void __thiscall Ext::Cl::Context::CreateFromType(class std::map<int,int,struct std::less<int>,class std::allocator<struct std::pair<int const ,int> > > const &,unsigned __int64)" (?CreateFromType@Context@Cl@Ext@@QAEXABV?$map@HHU?$less@H@std@@V?$allocator@U?$pair@$$CBHH@std@@@2@@std@@_K@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateCommandQueue@20 referenced in function "public: class Ext::Cl::CommandQueue __thiscall Ext::Cl::Context::CreateCommandQueue(class Ext::Cl::Device const &,unsigned __int64)" (?CreateCommandQueue@Context@Cl@Ext@@QAE?AVCommandQueue@23@ABVDevice@23@_K@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateBuffer@24 referenced in function "public: class Ext::Cl::Buffer __thiscall Ext::Cl::Context::CreateBuffer(void *,unsigned int,unsigned __int64)" (?CreateBuffer@Context@Cl@Ext@@QAE?AVBuffer@23@PAXI_K@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetContextInfo@20 referenced in function "public: class std::vector<class Ext::Cl::Device,class std::allocator<class Ext::Cl::Device> > __thiscall Ext::Cl::Context::get_Devices(void)const " (?get_Devices@Context@Cl@Ext@@QBE?AV?$vector@VDevice@Cl@Ext@@V?$allocator@VDevice@Cl@Ext@@@std@@@std@@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateProgramWithSource@20 referenced in function "public: void __thiscall Ext::Cl::Program::CreateFromSources(class Ext::Cl::Context &,class std::vector<class Ext::String,class std::allocator<class Ext::String> > const &)" (?CreateFromSources@Program@Cl@Ext@@QAEXAAVContext@23@ABV?$vector@VString@Ext@@V?$allocator@VString@Ext@@@std@@@std@@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateProgramWithBinary@28 referenced in function "public: static class Ext::Cl::Program __cdecl Ext::Cl::Program::FromBinary(class Ext::Cl::Context &,class Ext::Cl::Device const &,struct Ext::ConstBuf const &)" (?FromBinary@Program@Cl@Ext@@SA?AV123@AAVContext@23@ABVDevice@23@ABUConstBuf@3@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetProgramBuildInfo@24 referenced in function "public: void __thiscall Ext::Cl::Program::Build(class Ext::Cl::Device &)" (?Build@Program@Cl@Ext@@QAEXAAVDevice@23@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clBuildProgram@24 referenced in function "public: void __thiscall Ext::Cl::Program::Build(class Ext::Cl::Device &)" (?Build@Program@Cl@Ext@@QAEXAAVDevice@23@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clCreateKernel@12 referenced in function "public: class Ext::Cl::Kernel __thiscall Ext::Cl::Program::CreateKernel(class Ext::String const &)" (?CreateKernel@Program@Cl@Ext@@QAE?AVKernel@23@ABVString@3@@Z)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clGetProgramInfo@20 referenced in function "public: class std::vector<struct Ext::Cl::ProgramBinary,class std::allocator<struct Ext::Cl::ProgramBinary> > __thiscall Ext::Cl::Program::get_Binaries(void)" (?get_Binaries@Program@Cl@Ext@@QAE?AV?$vector@UProgramBinary@Cl@Ext@@V?$allocator@UProgramBinary@Cl@Ext@@@std@@@std@@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseEvent@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_event *>::~ResourceWrapper<struct _cl_event *>(void)" (??1?$ResourceWrapper@PAU_cl_event@@@Ext@@QAE@XZ)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clReleaseEvent@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseMemObject@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_mem *>::~ResourceWrapper<struct _cl_mem *>(void)" (??1?$ResourceWrapper@PAU_cl_mem@@@Ext@@QAE@XZ)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clReleaseMemObject@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseCommandQueue@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_command_queue *>::~ResourceWrapper<struct _cl_command_queue *>(void)" (??1?$ResourceWrapper@PAU_cl_command_queue@@@Ext@@QAE@XZ)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clReleaseCommandQueue@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseContext@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_context *>::~ResourceWrapper<struct _cl_context *>(void)" (??1?$ResourceWrapper@PAU_cl_context@@@Ext@@QAE@XZ)
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseKernel@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_kernel *>::~ResourceWrapper<struct _cl_kernel *>(void)" (??1?$ResourceWrapper@PAU_cl_kernel@@@Ext@@QAE@XZ)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clReleaseKernel@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clReleaseProgram@4 referenced in function "public: __thiscall Ext::ResourceWrapper<struct _cl_program *>::~ResourceWrapper<struct _cl_program *>(void)" (??1?$ResourceWrapper@PAU_cl_program@@@Ext@@QAE@XZ)
1>bitcoin-gpu.obj : error LNK2001: unresolved external symbol _clReleaseProgram@4
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clReleaseProgram@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clRetainEvent@4 referenced in function "public: class Ext::ResourceWrapper<struct _cl_event *> & __thiscall Ext::ResourceWrapper<struct _cl_event *>::operator=(class Ext::ResourceWrapper<struct _cl_event *> const &)" (??4?$ResourceWrapper@PAU_cl_event@@@Ext@@QAEAAV01@ABV01@@Z)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clRetainEvent@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clRetainMemObject@4 referenced in function "public: class Ext::ResourceWrapper<struct _cl_mem *> & __thiscall Ext::ResourceWrapper<struct _cl_mem *>::operator=(class Ext::ResourceWrapper<struct _cl_mem *> const &)" (??4?$ResourceWrapper@PAU_cl_mem@@@Ext@@QAEAAV01@ABV01@@Z)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clRetainMemObject@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clRetainCommandQueue@4 referenced in function "public: class Ext::ResourceWrapper<struct _cl_command_queue *> & __thiscall Ext::ResourceWrapper<struct _cl_command_queue *>::operator=(class Ext::ResourceWrapper<struct _cl_command_queue *> const &)" (??4?$ResourceWrapper@PAU_cl_command_queue@@@Ext@@QAEAAV01@ABV01@@Z)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clRetainCommandQueue@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clRetainKernel@4 referenced in function "public: class Ext::ResourceWrapper<struct _cl_kernel *> & __thiscall Ext::ResourceWrapper<struct _cl_kernel *>::operator=(class Ext::ResourceWrapper<struct _cl_kernel *> const &)" (??4?$ResourceWrapper@PAU_cl_kernel@@@Ext@@QAEAAV01@ABV01@@Z)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clRetainKernel@4
1>ext-opencl.obj : error LNK2019: unresolved external symbol _clRetainProgram@4 referenced in function "public: class Ext::ResourceWrapper<struct _cl_program *> & __thiscall Ext::ResourceWrapper<struct _cl_program *>::operator=(class Ext::ResourceWrapper<struct _cl_program *> const &)" (??4?$ResourceWrapper@PAU_cl_program@@@Ext@@QAEAAV01@ABV01@@Z)
1>miner-opencl.obj : error LNK2001: unresolved external symbol _clRetainProgram@4
1>miner-opencl.obj : error LNK2019: unresolved external symbol _clSetKernelArg@16 referenced in function "public: virtual void __thiscall Coin::OpenclTask::Run(void)" (?Run@OpenclTask@Coin@@UAEXXZ)
1>miner-opencl.obj : error LNK2019: unresolved external symbol _clFlush@4 referenced in function "public: void __thiscall Ext::Cl::CommandQueue::Flush(void)" (?Flush@CommandQueue@Cl@Ext@@QAEXXZ)
1>C:\ufasoft_bitcoin-miner-0.29\Debug\bitcoin-miner.exe : fatal error LNK1120: 54 unresolved externals
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
May 07, 2012, 12:40:04 AM
 #780

Thanks again Smiley

I sucessfully build /cpu/  miner after adding  util.cpp.

Now i set "Exclude from project" to false at the .cpp-s  in "GPU support" and i'm trying  to build it again Roll Eyes
I added all of the necessary  files from the  SDK-s but again, i received errors at the linker.


Remove "exclude" attribute of all GPU-supporting files (some of them at "comp" branch).
or find them by Function Names and add them to project

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!