Bitcoin Forum
September 04, 2024, 03:40:05 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Building Ufasoft's bitcoin-miner on Windows with MSVS  (Read 974 times)
shandrio (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2013, 03:47:03 PM
 #1

Hi everybody!

I downloaded the source-code for Ufasoft's bicoin-miner from http://ufasoft.com/files/ufasoft_coin-0.50.tar.xz. I wanted to do some modifications to the program but I can't even build the solution in Visual Studio. I get all sort of build errors  Cry

Has anybody tried that and been successful?
Any help will be greatly appreciated!!

Thanks in advance
TheBigYak
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
April 10, 2013, 04:01:01 PM
 #2

What kinds of errors are you getting?..
shandrio (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 10, 2013, 06:03:00 PM
 #3

What kinds of errors are you getting?..

Thanks for you quick response TheBigYak. Here's the output:

Code:
------ Rebuild All started: Project: u.util, Configuration: Release x86 ------
CSC : fatal error CS0042: Unexpected error creating debug information file 'c:\Release\pdb\u.utils.pdb' -- 'c:\Release\pdb\u.utils.pdb: The system cannot find the path specified.
------ Rebuild All started: Project: win32, Configuration: Release x86 ------
  win32 -> C:\Release\Win32.dll
------ Rebuild All started: Project: win-util, Configuration: Release x86 ------
CSC : error CS0006: Metadata file 'C:\ufasoft_coin-0.50\m\util\bin\x86\Release\u.utils.dll' could not be found
------ Rebuild All started: Project: guicomp, Configuration: Release x86 ------
CSC : error CS0006: Metadata file 'C:\ufasoft_coin-0.50\m\util\bin\x86\Release\u.utils.dll' could not be found
CSC : error CS0006: Metadata file 'C:\ufasoft_coin-0.50\m\win-util\bin\x86\Release\win-util.dll' could not be found
------ Rebuild All started: Project: bitcoin-miner, Configuration: Release Win32 ------
  Assembling el\bignum\x86x64\bignum-x86x64.asm...
  Assembling el\crypto\x86x64\sha256_x86x64.asm...
  Assembling el\crypto\x86x64\scrypt_x86x64.asm...
  Assembling coin\miner\bitcoin_sha256_x86x64.asm...
  stdafx.cpp
C:\ufasoft_coin-0.50\el/libext.h(190): fatal error C1083: Cannot open include file: 'ext_messages.h': No such file or directory
------ Rebuild All started: Project: coin, Configuration: Release x86 ------
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Interop.coineng". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
CSC : error CS0006: Metadata file 'C:\ufasoft_coin-0.50\m\guicomp\bin\x86\Release\GuiComp.dll' could not be found
CSC : error CS0006: Metadata file 'C:\ufasoft_coin-0.50\m\util\bin\x86\Release\u.utils.dll' could not be found
------ Rebuild All started: Project: coineng, Configuration: Release Win32 ------
  Compiling .mc file...
C:\ufasoft_coin-0.50\cfg\vs\mc.targets(15,3): error MSB3721: The command "\bin\x86\mc -h \Release\\inc -r \Release\\inc  -b C:\ufasoft_coin-0.50\coin\eng\coin-msg.mc  " exited with code 1.
========== Rebuild All: 1 succeeded, 6 failed, 0 skipped ==========
kreuzerkrieg
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
May 31, 2013, 09:50:15 AM
 #4

remove references from .net projects, then re-add em as project dependencies
go to mc folder, open the property file and change the path to message compiler from whatever it is to mc.exe, leave the rest of arguments intact
Pages: [1]
  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!