Bitcoin Forum
December 10, 2016, 03:22:34 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »  All
  Print  
Author Topic: RPC Miners (CPU/4way/CUDA/OpenCL)  (Read 528983 times)
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 02:33:35 PM
 #181

downloaded boost from here: http://www.boost.org/users/download/ and im lost again
If it helps (and it may not, I'm not a regular OSX person) Boost is in MacPorts. May make life easier, you should just be able to...
Code:
sudo port install boost

Obviously this relies on you having MacPorts installed, but I assume that that's a regular OSX install, no compilation required.

okay installing boost with macports worked. Also had to install the cuda toolkit from here: http://developer.nvidia.com/object/cuda_3_2_downloads.html#MacOS

after running cmake i get this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found wxWidgets: TRUE
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ ls
CMakeCache.txt cmake-bitcoin cmake-rpcminer
CMakeFiles cmake-bitcoind cmake_install.cmake
Makefile cmake-bitcoinr
Jespers-MacBook-Pro:build jepper_broge$

What do i do now? i though running the initial cmake would start compiling the source but just created what you see in the ls. Remember i am completely new to this so what exactly should i do from here to get some working binaries?

run cmake in the ls directory    then cmake cmake_install

gives me this error:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install.cmake
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install.cmake" is a file, not a directory.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$



seems like i am doing something wrong

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481340154
Hero Member
*
Offline Offline

Posts: 1481340154

View Profile Personal Message (Offline)

Ignore
1481340154
Reply with quote  #2

1481340154
Report to moderator
1481340154
Hero Member
*
Offline Offline

Posts: 1481340154

View Profile Personal Message (Offline)

Ignore
1481340154
Reply with quote  #2

1481340154
Report to moderator
bobR
Member
**
Offline Offline

Activity: 112


View Profile
March 29, 2011, 04:45:52 PM
 #182

Quote
Quote

run cmake in the ls directory    then cmake cmake_install

gives me this error:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$ cmake cmake_install.cmake
CMake Error: The source directory "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake_install.cmake" is a file, not a directory.
Specify --help for usage, or press the help button on the CMake GUI.
Jespers-MacBook-Pro:build jepper_broge$



seems like i am doing something wrong




It's been a while since I compiled something in Linux
I may be the build command in that directory
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 05:22:36 PM
 #183

simply using make in the build directory seems to be working at first but then gives a gazzilion errors. The output is too much to be able to post here so i will just post the the first lines around where the first errors appear. This is it running in verbose mode:
Code:
Jespers-MacBook-Pro:build jepper_broge$ VERBOSE=1 make
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -H/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src -B/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build --check-build-system CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_start /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f cmake-bitcoin/CMakeFiles/bitcoin.dir/build.make cmake-bitcoin/CMakeFiles/bitcoin.dir/depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 22
[  1%] Building NVCC (Device) object cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E make_directory /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o -D generated_cubin_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o.cubin.txt -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.cmake
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
-- Generating dependency file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend -m64 -DGUI -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/include -I/usr/local/cuda/include
-- Generating temporary cmake readable file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D input_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend -D output_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-modules/FindCUDA/make2cmake.cmake
-- Copy if different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp to /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E copy_if_different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp and /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin_generated_bitcoinminercuda.cu.o.NVCC-depend
-- Generating /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o
/usr/local/cuda/bin/nvcc /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -c -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o -m64 -DGUI -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/include -I/usr/local/cuda/include
Generated /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/./bitcoin_generated_bitcoinminercuda.cu.o successfully.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-bitcoin /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/DependInfo.cmake --color=
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/DependInfo.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/depend.internal".
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin/CMakeFiles/bitcoin.dir/depend.internal".
Scanning dependencies of target bitcoin
make -f cmake-bitcoin/CMakeFiles/bitcoin.dir/build.make cmake-bitcoin/CMakeFiles/bitcoin.dir/build
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 1
[  2%] Building CXX object cmake-bitcoin/CMakeFiles/bitcoin.dir/__/src/db.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-bitcoin && /usr/bin/c++   -DGUI -D_BITCOIN_MINER_CUDA_ -D_BITCOIN_MINER_REMOTE_ -I/opt/local/include -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -I/usr/local/cuda/include   -o CMakeFiles/bitcoin.dir/__/src/db.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp
In file included from /usr/include/wx-2.8/wx/wx.h:15,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/include/wx-2.8/wx/cmndata.h:17,
                 from /usr/include/wx-2.8/wx/wx.h:65,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/encinfo.h:64:6: error: #error "Unsupported toolkit"
In file included from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:46:20: error: db_cxx.h: No such file or directory
In file included from /usr/include/wx-2.8/wx/event.h:22,
                 from /usr/include/wx-2.8/wx/wx.h:25,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/cursor.h: In destructor ‘wxBusyCursorSuspender::~wxBusyCursorSuspender()’:
/usr/include/wx-2.8/wx/cursor.h:74: error: invalid use of incomplete type ‘const struct wxCursor’
/usr/include/wx-2.8/wx/gdicmn.h:33: error: forward declaration of ‘const struct wxCursor’
In file included from /usr/include/wx-2.8/wx/wx.h:25,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/event.h: At global scope:
/usr/include/wx-2.8/wx/event.h:921: error: field ‘m_cursor’ has incomplete type
/usr/include/wx-2.8/wx/event.h: In constructor ‘wxSetCursorEvent::wxSetCursorEvent(wxCoord, wxCoord)’:
/usr/include/wx-2.8/wx/event.h:900: error: class ‘wxSetCursorEvent’ does not have any field named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h: In copy constructor ‘wxSetCursorEvent::wxSetCursorEvent(const wxSetCursorEvent&)’:
/usr/include/wx-2.8/wx/event.h:907: error: class ‘wxSetCursorEvent’ does not have any field named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h:907: error: ‘const class wxSetCursorEvent’ has no member named ‘m_cursor’
/usr/include/wx-2.8/wx/event.h: In member function ‘void wxSetCursorEvent::SetCursor(const wxCursor&)’:
/usr/include/wx-2.8/wx/event.h:913: error: ‘m_cursor’ was not declared in this scope
/usr/include/wx-2.8/wx/event.h: In member function ‘const wxCursor& wxSetCursorEvent::GetCursor() const’:
/usr/include/wx-2.8/wx/event.h:914: error: ‘m_cursor’ was not declared in this scope
/usr/include/wx-2.8/wx/event.h: In member function ‘bool wxSetCursorEvent::HasCursor() const’:
/usr/include/wx-2.8/wx/event.h:915: error: ‘m_cursor’ was not declared in this scope
In file included from /usr/include/wx-2.8/wx/wx.h:26,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/app.h: In constructor ‘wxAppInitializer::wxAppInitializer(wxAppConsole* (*)())’:
/usr/include/wx-2.8/wx/app.h:637: error: ‘wxApp’ has not been declared
In file included from /usr/include/wx-2.8/wx/window.h:26,
                 from /usr/include/wx-2.8/wx/wx.h:36,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/headers.h:33,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/db.cpp:5:
/usr/include/wx-2.8/wx/region.h: In member function ‘bool wxRegionBase::Intersect(const wxRect&)’:
/usr/include/wx-2.8/wx/region.h:251: error: invalid use of incomplete type ‘struct wxRegion’

this is just not my day :/

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 29, 2011, 06:34:46 PM
 #184

wxWidgets stuff is tied to a GUI in this package if I remember correctly.  Check out CMakeLists.txt in the root directory you unpacked the ZIP file to.  You probably only want CUDA and rpcminer turned on.  Re-do CMake stuff as necessary.
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
March 29, 2011, 07:07:28 PM
 #185

wxWidgets stuff is tied to a GUI in this package if I remember correctly.  Check out CMakeLists.txt in the root directory you unpacked the ZIP file to.  You probably only want CUDA and rpcminer turned on.  Re-do CMake stuff as necessary.

setting only CUDA and rpcminer to ON gives this:
Code:
Jespers-MacBook-Pro:build jepper_broge$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex
--   system
--   thread
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found CUDA: /usr/local/cuda
-- Found CURL: /usr/lib/libcurl.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build
Jespers-MacBook-Pro:build jepper_broge$ VERBOSE=1 make
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -H/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src -B/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build --check-build-system CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_start /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f cmake-rpcminer/CMakeFiles/rpcminer.dir/build.make cmake-rpcminer/CMakeFiles/rpcminer.dir/depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 16
[  6%] Building NVCC (Device) object cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E make_directory /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o -D generated_cubin_file:STRING=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o.cubin.txt -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.cmake
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
-- Generating dependency file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
/usr/local/cuda/bin/nvcc -M -D__CUDACC__ /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend -m64 -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/include -I/usr/local/cuda/include
-- Generating temporary cmake readable file: /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -D input_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend -D output_file:FILEPATH=/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp -P /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-modules/FindCUDA/make2cmake.cmake
-- Copy if different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp to /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E copy_if_different /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend
-- Removing /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp and /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E remove /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.depend.tmp /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer_generated_bitcoinminercuda.cu.o.NVCC-depend
-- Generating /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o
/usr/local/cuda/bin/nvcc /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/cuda/bitcoinminercuda.cu -c -o /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o -m64 -D_BITCOIN_MINER_CUDA_ -Xcompiler ,\"-g\" -DNVCC -I/usr/local/cuda/include -I/opt/local/include -I/usr/include -I/usr/local/cuda/include
Generated /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/./rpcminer_generated_bitcoinminercuda.cu.o successfully.
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build && "/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/cmake-rpcminer /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/DependInfo.cmake --color=
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/DependInfo.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/depend.internal".
Dependee "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer/CMakeFiles/rpcminer.dir/depend.internal".
Scanning dependencies of target rpcminer
make -f cmake-rpcminer/CMakeFiles/rpcminer.dir/build.make cmake-rpcminer/CMakeFiles/rpcminer.dir/build
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 1
[ 12%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/sha256.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/sha256.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 2
[ 18%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/hex.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/hex.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 3
[ 25%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/httprequest.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/httprequest.cpp
"/Applications/CMake 2.8-4.app/Contents/bin/cmake" -E cmake_progress_report /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/CMakeFiles 4
[ 31%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
cd /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/build/cmake-rpcminer && /usr/bin/c++   -D_BITCOIN_MINER_CUDA_ -I/opt/local/include -I/usr/local/cuda/include   -o CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o -c /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.cpp
In file included from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/minerheaders.h:58,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.h:26,
                 from /Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/rpcminerclient.cpp:19:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:579: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:588: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:596: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:610: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:620: error: ‘get’ was not declared in this scope
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h: In function ‘void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)’:
/Users/jepper_broge/Downloads/bitcoin-remote-rpc-20110227-src/src/rpcminer/../minercommon/../serialize.h:629: error: ‘get’ was not declared in this scope
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make: *** [all] Error 2
Jespers-MacBook-Pro:build jepper_broge$

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
March 29, 2011, 08:30:00 PM
 #186

Well, you got a ton further than where you were before.  I found this post in this thread where JollyGreen got stuck in a similar place you did.  Here's the message:

Hello All,

I've been working on compiling the rpcminer for mac osx leopard 10.5.8.  I've gotten really far and think I'm almost there, but I'm running into an issue related to boost, I believe.  It seems the function "get" is not resolving.  I'm using macports and I've done a "sudo ports -dv install boost", it seems to be finding the boost headers, because it doesn't complain about those, but it can't resolve the "get" function for some reason.

I would like to hear your 2 cents about the issue if you have some spare time.  I would really appreciate it.  I'm willing to donate some bit coins, but at this point I only have 0.07 Smiley

Code:
make rpcminer
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/turkylurky/opt/src/latestrpc
[  6%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:22:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/hex.h:33:8: warning: extra tokens at end of #endif directive
In file included from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/minerheaders.h:57,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.h:26,
                 from /Users/turkylurky/opt/src/latestrpc/src/rpcminer/rpcminerclient.cpp:19:
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:579: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:588: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:596: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:610: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:620: error: 'get' was not declared in this scope
/Users/turkylurky/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&, int, int)':
/Users/jtflemturkylurkying/opt/src/latestrpc/src/rpcminer/../minercommon/../serialize.h:629: error: 'get' was not declared in this scope
make[3]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/rule] Error 2
make: *** [rpcminer] Error 2

I was able to resolve this issue by adding "using namespace boost;" after the boost headers are included in "serialize.h"!  Working on next compile issue, now Smiley

There are a couple more posts from JollyGreen a few posts down from there.  Look that up and see if there's some insights for you.  You might also try to message JollyGreen and see if there's something the two of you could work out.
bobR
Member
**
Offline Offline

Activity: 112


View Profile
April 01, 2011, 05:31:35 PM
 #187

Guess you quit
we need LONGPOLE
dishwara
Legendary
*
Offline Offline

Activity: 1386

Truth may get delay, but NEVER fails


View Profile
April 01, 2011, 08:32:48 PM
 #188

is POLE= POLL = POOL Huh??
bobR
Member
**
Offline Offline

Activity: 112


View Profile
April 01, 2011, 08:49:36 PM
 #189

is POLE= POLL = POOL Huh??

PISS  OFF  TROLL
that should be clear

You F**in troll disrag

POLE ON THIS
dishwara
Legendary
*
Offline Offline

Activity: 1386

Truth may get delay, but NEVER fails


View Profile
April 01, 2011, 09:28:24 PM
 #190

ok, i understand now why u getting angry unnecessarily.
I feel sorry for you loosing your POLE.
Did dog bite it or your mama?
you better go to dr, if not you may die with infection.

Damn, its very bad to hear that bobR lost his POLE, hereafter he is "No POLE bobR mining in pool with long poll"
FnuGk
Jr. Member
*
Offline Offline

Activity: 55


View Profile
April 02, 2011, 10:43:39 AM
 #191

Guess you quit
we need LONGPOLE

i have no idea what "using namespace boost;" after the boost headers are included in "serialize.h"! or how to do it. I feel that every time i get one thing to work something else is broken.

i dont understand when releasing source code like this why is everything needed not included so it actually works?

My bitcoin address if you feel like giving things away Smiley
1NvURSqNqFUX1g4xAJe5xzBJYRkMSCyXqk
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
April 03, 2011, 06:06:08 PM
 #192

i have no idea what "using namespace boost;" after the boost headers are included in "serialize.h"! or how to do it. I feel that every time i get one thing to work something else is broken.

It means you edit the serialize.h file in a text editor, and add the line
Code:
using namespace boost;
after the #include lines.

Quote
i dont understand when releasing source code like this why is everything needed not included so it actually works?

Because not everyone has the same version or configurations of the necessary libraries and compile tools, and it would be next to impossible to test all possible configurations.  This is released free and open source.  This means that while it may not work out of the box, you are free to modify it to make it work.  This does not mean you can or should expect it to work out of the box with your particular configuration.

we need LONGPOLE
Maybe I'll add long poll support if I'm incentivized enough to do so.


I have given a significant amount of my time to develop this and release it for anyone to use.  A few good words from a few people and a bunch of complaints from others isn't really enough to provide motivation to continue to enhance this.

bitlock
Newbie
*
Offline Offline

Activity: 20


View Profile
April 04, 2011, 01:55:44 AM
 #193

Just setup bitcoin - pretty cool....

Using AMD x4 955 MB getting about 6100 khash/s on standard cpu
Getting 16K on Nvidia GeForce Gt430 using rpcminer-cuda with default gpu settings

Does this sound about right?

TehRainbowGuy
Newbie
*
Offline Offline

Activity: 8



View Profile
April 04, 2011, 06:56:56 PM
 #194

I keep getting this error when trying to compile, any ideas?
Code:
Scanning dependencies of target bitcoind
[  2%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/db.cpp.o
[  4%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/init.cpp.o
[  7%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/irc.cpp.o
[  9%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/main.cpp.o
[ 12%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/net.cpp.o
[ 14%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/rpc.cpp.o
[ 17%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/script.cpp.o
[ 19%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/sha256.cpp.o
[ 21%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/util.cpp.o
[ 24%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/cryptopp/cpu.cpp.o
[ 26%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/cryptopp/sha.cpp.o
[ 29%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/gpucommon/gpucommon.cpp.o
[ 31%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/json/json_spirit_reader.cpp.o
[ 34%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/json/json_spirit_value.cpp.o
[ 36%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/json/json_spirit_writer.cpp.o
[ 39%] Building C object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/minercommon/base64.c.o
[ 41%] Building CXX object cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/remote/remoteminer.cpp.o
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp: In member function 'const unsigned int BitcoinMinerRemoteServer::GetReceiveRate(int)':
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp:751:27: error: no match for 'operator=' in 'i = ((BitcoinMinerRemoteServer*)this)->BitcoinMinerRemoteServer::m_receiverate.std::map<_Key, _Tp, _Compare, _Alloc>::erase [with _Key = long int, _Tp = unsigned int, _Compare = std::less<long int>, _Alloc = std::allocator<std::pair<const long int, unsigned int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >](i)'
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp:751:27: note: candidate is:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:156:12: note: std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >& std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >::operator=(const std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >&)
/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:156:12: note:   no known conversion for argument 1 from 'void' to 'const std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >&'
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp: In member function 'const unsigned int BitcoinMinerRemoteServer::GetSendRate(int)':
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp:770:24: error: no match for 'operator=' in 'i = ((BitcoinMinerRemoteServer*)this)->BitcoinMinerRemoteServer::m_sendrate.std::map<_Key, _Tp, _Compare, _Alloc>::erase [with _Key = long int, _Tp = unsigned int, _Compare = std::less<long int>, _Alloc = std::allocator<std::pair<const long int, unsigned int> >, std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >](i)'
/home/tehrainbowguy/bit/src/remote/remoteminer.cpp:770:24: note: candidate is:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:156:12: note: std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >& std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >::operator=(const std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >&)
/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/../../../../include/c++/4.6.0/bits/stl_tree.h:156:12: note:   no known conversion for argument 1 from 'void' to 'const std::_Rb_tree_iterator<std::pair<const long int, unsigned int> >&'
make[2]: *** [cmake-bitcoind/CMakeFiles/bitcoind.dir/__/src/remote/remoteminer.cpp.o] Error 1
make[1]: *** [cmake-bitcoind/CMakeFiles/bitcoind.dir/all] Error 2
make: *** [all] Error 2
urizane
Jr. Member
*
Offline Offline

Activity: 56



View Profile
April 04, 2011, 11:23:41 PM
 #195

Maybe I'll add long poll support if I'm incentivized enough to do so.


I have given a significant amount of my time to develop this and release it for anyone to use.  A few good words from a few people and a bunch of complaints from others isn't really enough to provide motivation to continue to enhance this.

Well, I've got 5 BTC that I can send you from my mining efforts thus far.  I'll go ahead and send that now.  I was intending to send a larger sum, but mining on nVidia hardware hasn't really paid off.  I may send more later.

Kiv intends to support your collection of RPC miners in some fashion in his mining GUI which may open up your miners to more people who would like to use a GUI with these miners.  As far as Long Polling goes, it may be useful for pools that appreciate such a connection method.

Just setup bitcoin - pretty cool....

Using AMD x4 955 MB getting about 6100 khash/s on standard cpu
Getting 16K on Nvidia GeForce Gt430 using rpcminer-cuda with default gpu settings

Does this sound about right?

You could get more out of that CPU.  Try the -4way miner.
The GPU speed you're getting sounds about right.

I keep getting this error when trying to compile, any ideas?

Compiling the remote miner server is giving you some troubles.  Which parts do you really need?  If you're compiling only RPC miners, just turn on the relevant portions and leave the rest off.  (CMakeLists.txt)
TehRainbowGuy
Newbie
*
Offline Offline

Activity: 8



View Profile
April 05, 2011, 04:01:40 AM
 #196

Quote
I keep getting this error when trying to compile, any ideas?

Compiling the remote miner server is giving you some troubles.  Which parts do you really need?  If you're compiling only RPC miners, just turn on the relevant portions and leave the rest off.  (CMakeLists.txt)

That gives me :
Code:
[  7%] Building CXX object cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o
In file included from /home/tehrainbowguy/bit/src/rpcminer/rpcminerclient.cpp:22:0:
/home/tehrainbowguy/bit/src/rpcminer/hex.h:34:8: warning: extra tokens at end of #endif directive [enabled by default]
In file included from /home/tehrainbowguy/bit/src/rpcminer/../minercommon/minerheaders.h:58:0,
                 from /home/tehrainbowguy/bit/src/rpcminer/rpcminerclient.h:26,
                 from /home/tehrainbowguy/bit/src/rpcminer/rpcminerclient.cpp:19:
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:579:31: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:579:31: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:588:19: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:588:19: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:596:21: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:596:21: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'unsigned int GetSerializeSize(const boost::tuples::tuple<T0, T1, T2, T3>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:610:31: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:610:31: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'void Serialize(Stream&, const boost::tuples::tuple<T0, T1, T2, T3>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:620:19: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:620:19: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h: In function 'void Unserialize(Stream&, boost::tuples::tuple<T0, T1, T2, T3>&, int, int)':
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:629:21: error: 'get' was not declared in this scope
/home/tehrainbowguy/bit/src/rpcminer/../minercommon/../serialize.h:629:21: note: suggested alternatives:
/usr/include/boost/tuple/detail/tuple_basic.hpp:211:68: note:   'boost::tuples::get'
/usr/include/boost/tuple/detail/tuple_basic.hpp:225:74: note:   'boost::tuples::get'
make[2]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/__/src/rpcminer/rpcminerclient.cpp.o] Error 1
make[1]: *** [cmake-rpcminer/CMakeFiles/rpcminer.dir/all] Error 2
make: *** [all] Error 2

##EDIT##

Ignore the above, adding
Code:
using namespace boost;
to serialize.h seems to fix it.

Thanks urizane
nayrB16
Member
**
Offline Offline

Activity: 61


I was lucky enough to solve block 121306


View Profile
April 09, 2011, 11:53:48 PM
 #197

I just got my OpenCL GPU mining running for my ATI card pushing out around 20.1 Mhash/s as you can see http://i.imgur.com/VVTWd.jpg. The mining drives my GPU temp to around 82 C and the ratio between total network hash's and mine is about 1:32226 up from 1:350140 when i was getting about 1850 Khash/s doing only CPU mining. the necessary steps to get it to work was getting the right ATI Stream SDK driver installed (I used V2.3 for Windows 7 64bit) downloading and installing poclbm (which installs as guiminer) and creating the proper bitcoin.conf file. post this in the .conf file and edit the rpc username and rpcpassword

# bitcoin.conf configuration file. Lines beginning with # are comments.


# Network-related settings:

# Run on the test network instead of the real bitcoin network.
#testnet=1

# Connect via a socks4 proxy
#proxy=127.0.0.1:9050

# Use as many addnode= settings as you like to connect to specific peers
#addnode=69.164.218.197
#addnode=10.0.0.2:8333

# ... or use as many connect= settings as you like to connect ONLY
# to specific peers:
#connect=69.164.218.197
#connect=10.0.0.1:8333

# Do not use Internet Relay Chat (irc.lfnet.org #bitcoin channel) to
# find other peers.
#noirc=1

# Maximum number of inbound+outbound connections.
#maxconnections=


# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)

# server=1 tells Bitcoin to accept JSON-RPC commands.
server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=What ever you want
rpcpassword=What ever you want

# How many seconds bitcoin will wait for a complete RPC HTTP request.
# after the HTTP connection is established.
rpctimeout=30

# By default, only RPC connections from localhost are allowed.  Specify
# as many rpcallowip= settings as you like to allow connections from
# other hosts (and you may use * as a wildcard character):
#rpcallowip=10.1.1.34
#rpcallowip=192.168.1.*

# Listen for RPC connections on this TCP port:
rpcport=8332

# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
# with Bitcoin -server or bitcoind
#rpcssl=1

# OpenSSL settings used when rpcssl=1
rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH
rpcsslcertificatechainfile=server.cert
rpcsslprivatekeyfile=server.pem


# Miscellaneous options

# Set gen=1 to attempt to generate bitcoins
gen=0

# Use SSE instructions to try to generate bitcoins faster.
#4way=1

# Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
keypool=100

# Pay an optional transaction fee every time you send bitcoins.  Transactions with fees
# are more likely than free transactions to be included in generated blocks, so may
# be validated sooner.
paytxfee=0.00

# Allow direct connections for the 'pay via IP address' feature.
#allowreceivebyip=1


# User interface options

# Start Bitcoin minimized
min=1

# Minimize to the system tray
#minimizetotray=1


And that is all there was to it for me
If this helped you out donations are accepted and much appreciated. 1HjtErSHNEHtY347LouvsFq5KesHkEZLAV

Haha! I'm the only one to control Bitcoin address 1HjtErSHNEHtY347LouvsFq5KesHkEZLAV
LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
April 10, 2011, 08:48:55 AM
 #198

RPC-4way does not appear to return or display JSON status requests from btcmine.com's API. Does the program expect a certain JSON structure that is incompatible with btcmine's or could something else be wrong?

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
lon85
Newbie
*
Offline Offline

Activity: 1


View Profile
April 13, 2011, 10:29:27 AM
 #199

Shocked
What are the best settings for a  ATI 5850m ?

Ps: Your program is running fine good job  Cheesy

Play with the -aggression, -gputhreads, and -gpugrid parameters. Shocked Cool
commlinx
Full Member
***
Offline Offline

Activity: 126



View Profile
April 18, 2011, 06:37:06 AM
 #200

I've just got an HD 5970 today and have been playing around with the various parameters, previously I'd been running with an Nvidia. Anyway it's all generally OK however after spending quite a while treaking the parameters the best I've been able to achieve is to go from 175 to 270 M/hashes, which looking at the GPU hardware comparison looks like around half what I should be getting.

I thought maybe only one GPU was being used, so I tried starting one with -gpu=0 and another with -gpu=1 but they both started with about half the hash rate as before (about the same overall). I've put my best attempt below, any ideas? Being new to ATI cards I just thought to check Catalyst and it does appear only one GPU is being used, one is 93% and other is 0%. I just checked again and it was the same with two instances running with -gpu.

Edit - after looking further I see my problem is the card isn't using the 3D clocks so it's set to 400MHz. I'll start a new thread as it's not specific to this miner.

Edit 2 - if looks like the above was just a reporting problem fixed by a reboot, after that it now reports 750MHz but performance is the same. However if I increase the clock rate to 850MHz I get the 13% odd performance increase expected so I now think my card is running at full speed but hash rates are below what I was expecting for some reason.

E:\Temp>rpcminer-opencl -url=http://127.0.0.1:8332 -user=xxx -password=xxx -aggression=10 -gpugrid=1024 -gputhreads=256 
Client will start 1 miner threads
Work will be refreshed every 4000 ms
Target = 000000000000cbbd0000000000000000000000000000000000000000000000
1 OpenCL platforms found
2 OpenCL GPU devices found on platform 0
Setting OpenCL device to first device found
Available extensions : cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_amd_popcnt cl_khr_d3d10_sharing
Defining AMDMEDIAOPS
Create context rval=0
Create command queue rval=0
Creating program with source
Building program with options -D AMDMEDIAOPS -D WORKGROUPSIZE=256
Build program rval=0
build STATUS:
build LOG:
Create kernel rval=0
Done allocating OpenCL resources for (1024,256)
Finding best configuration step end (1024,256) 541ms  prev best=9223372036854775807ms
Done allocating OpenCL resources for (1024,256)
120278 khash/s
254377 khash/s

Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!