CleanedBitCrack icon indicating copy to clipboard operation
CleanedBitCrack copied to clipboard

Fix build for windows

Open bodaciousbob opened this issue 3 years ago • 9 comments

Compiling in C++ gives an error in windows when making CLKeySearchDevice.

Error MSB3073 The command "type D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\ripemd160.cl D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\secp256k1.cl D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\clMath\sha256.cl keysearch.cl > bitcrack.cl D:\Downloads\CleanedBitCrack-master\CleanedBitCrack-master\tools\embedcl.exe bitcrack.cl bitcrack_cl.cpp _bitcrack_cl :VCEnd" exited with code 3. CLKeySearchDevice C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 145

bodaciousbob avatar Jan 06 '22 06:01 bodaciousbob

Bump

bodaciousbob avatar Jan 10 '22 05:01 bodaciousbob

Bump

bodaciousbob avatar Jan 16 '22 05:01 bodaciousbob

Hello, sorry for the late reply.

I do not have time to work on this but i can tell you that our windows build works as expected.

Maybe you are doing something wrong.

Take a look at appveypr status its building and pass the tests.

--

Merruk Technology, SARL. www.merruk.com

Maroc-OS avatar Jan 16 '22 19:01 Maroc-OS

Download OCL headers; download code; modify headers; build ClKeySearchDevice.

I was able to eventually build it, after cleaning up your code (bad calls, typos, etc), but the bloom filter builds at 0.0 mb.

So unfortunately your code is broken.

Cheers

bodaciousbob avatar Jan 20 '22 04:01 bodaciousbob

Also, some of your files were missing, which I had to get from the original BRichard19 repo - specifically the bitcrack.cl file, which should have been included in the CLKeySearchDevice folder.

bodaciousbob avatar Jan 20 '22 04:01 bodaciousbob

Hello, again am really sorry cause i dont really have time to spend on this atm.

First of all the code is completely working and nothing missing you can see the build status on AppVeyor and it passes the tests.

For linux and mac you can look at travis-ci also working like a charm.

For the bloom filter if i still remember it has around 512mb and its working good.

Your build is broken maybe. Please use the right visual studio version and compile the code same it is. To see differences.

On Thu, 20 Jan 2022 at 5:33 AM, bodaciousbob @.***> wrote:

Also, some of your files were missing, which I had to get from the original BRichard19 repo - specifically the bitcrack.cl file, which should have been included in the CLKeySearchDevice folder.

--


Merruk Technology, SARL. www.merruk.com

Maroc-OS avatar Jan 20 '22 18:01 Maroc-OS

Use Visual Studio 2019, and cuda 10.1--


Merruk Technology, SARL. www.merruk.com

Maroc-OS avatar Jan 20 '22 18:01 Maroc-OS

For me also the bloom filter builds at 0.0 mb.... How did you fix yours, @bodaciousbob ? Thanks in advance. Ps. Building on a mac

Rynald0s avatar Jun 18 '24 19:06 Rynald0s

Nevermind, it does compile correctly, including with bloom filter. Was playing around, and had to make clean, then make BUILD_OPENCL=1. No issues from what I can see. Random flag also works.

Rynald0s avatar Jun 19 '24 20:06 Rynald0s