Bitcoin Forum
October 03, 2025, 04:03:04 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] The Definitive List of Mac Altcoin Wallets on: December 03, 2014, 10:54:40 AM
I have weird errors, I suppose that are related to c++11, I compiled every dependency by hand, using clang.
In the qmake I have stdlib=libc++11

Here are the errors:

Code:
In file included from src/qt/transactiontablemodel.cpp:1:
In file included from src/qt/transactiontablemodel.h:4:
In file included from /usr/local/Qt-5.4.0-rc/include/QtCore/QAbstractTableModel:1:
In file included from /usr/local/Qt-5.4.0-rc/include/QtCore/qabstractitemmodel.h:37:
In file included from /usr/local/Qt-5.4.0-rc/include/QtCore/qvariant.h:40:
In file included from /usr/local/Qt-5.4.0-rc/include/QtCore/qmetatype.h:50:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:965:44: error:
      no viable conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to
      'iterator' (aka '__map_iterator<typename __base::iterator>')
          iterator end() _NOEXCEPT {return __tree_.end();}
                                           ^~~~~~~~~~~~~
src/qt/transactiontablemodel.cpp:74:112: note: in instantiation of member function 'std::__1::map<uint256,
      CWalletTx, std::__1::less<uint256>, std::__1::allocator<std::__1::pair<const uint256, CWalletTx> > >::end'
      requested here
  ...for(std::map<uint256, CWalletTx>::iterator it = wallet->mapWallet.begin(); it != wallet->mapWallet.end(); ++it)
                                                                                                        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:648:29: note:
      candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka
      '__tree_iterator<value_type, __node_pointer, difference_type>') to 'const
      std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, CWalletTx>,
      std::__1::__tree_node<std::__1::__value_type<uint256, CWalletTx>, void *> *, long> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:648:29: note:
      candidate constructor (the implicit move constructor) not viable: no known conversion from 'iterator' (aka
      '__tree_iterator<value_type, __node_pointer, difference_type>') to
      'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, CWalletTx>,
      std::__1::__tree_node<std::__1::__value_type<uint256, CWalletTx>, void *> *, long> > &&' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1081:60: error:
      no viable conversion from 'iterator' (aka '__tree_iterator<value_type, __node_pointer, difference_type>') to
      'iterator' (aka '__map_iterator<typename __base::iterator>')
    iterator find(const key_type& __k)             {return __tree_.find(__k);}
                                                           ^~~~~~~~~~~~~~~~~
src/qt/transactiontablemodel.cpp:94:75: note: in instantiation of member function 'std::__1::map<uint256, CWalletTx,
      std::__1::less<uint256>, std::__1::allocator<std::__1::pair<const uint256, CWalletTx> > >::find' requested
      here
            std::map<uint256, CWalletTx>::iterator mi = wallet->mapWallet.find(hash);
                                                                          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:648:29: note:
      candidate constructor (the implicit copy constructor) not viable: no known conversion from 'iterator' (aka
      '__tree_iterator<value_type, __node_pointer, difference_type>') to 'const
      std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, CWalletTx>,
      std::__1::__tree_node<std::__1::__value_type<uint256, CWalletTx>, void *> *, long> > &' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:648:29: note:
      candidate constructor (the implicit move constructor) not viable: no known conversion from 'iterator' (aka
      '__tree_iterator<value_type, __node_pointer, difference_type>') to
      'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, CWalletTx>,
      std::__1::__tree_node<std::__1::__value_type<uint256, CWalletTx>, void *> *, long> > &&' for 1st argument
class _LIBCPP_TYPE_VIS_ONLY __map_iterator
                            ^
make: *** [build/bitcoin.o] Error 1
6 errors generated.
make: *** [build/transactiontablemodel.o] Error 1
4 errors generated.
make: *** [build/addresstablemodel.o] Error 1
4 errors generated.
make: *** [build/bitcoingui.o] Error 1

There happen also more errors like:

Code:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:254:9: error: 
      field has incomplete type 'CWalletTx'
    _T2 second;
        ^

Code:
src/net.h:317:35: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
            printf("askfor %s   %"PRId64" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("...


I have Xcode 6.1 + Command line tools 6.1 in Osx 10.10.1
Every dep including Qt compiled by hand with clang and static, but I can't fix these errors...

Do you use clang c+11 or llvm, gcc or what? to compile in Osx 10.10.1 with the last Xcode?
2  Bitcoin / Development & Technical Discussion / Re: Mingle - MinGW64 toolkit & distribution on: November 21, 2014, 09:59:29 PM
Nice initiative, but still, what happens to me towards this such handy pieces of programming work is that when I am heading to download them I just stop and question about my own needs arround it...

I've read about similar projects here and there but still I think myself about the flexibility, sometimes I need to switch environments or suite versions (eg, I currently hold in my hdd like 3 Qt versions, one statically linked, one 5.4 and so...)

I am not a professional dev so maybe my thoughts are just crap, but I also the idea of create myself a script or something simple for personal use came to my mind and I then thougt about these feasible troubles...

Have you thought about these matters?

Anyway, thanks, I trully appreciate this contribution, and I think others will do also. It seems really nice, I will read the code when I have time and maybe help in some way if I can Wink

My greetings Wink

PS: Sorry for my English and specially sorry for my criticism !
3  Other / Beginners & Help / Re: is it possible to create your own DESIRED address? on: October 15, 2014, 05:30:23 PM
Hello, theoretically you can generate your own addres, but actually you would need a lot of time (thousands of years) or a really fantastical computer to generate a full bitcoin address. Anyway, you can generate your own starting strings, as long as you can afford in terms of time / computing power. There are also pools that would do the job, obviously with a price.

This kind of "custom" addresses are called Vanity addresses or vanitygen.

Here you can find more information and some links to start: https://en.bitcoin.it/wiki/Vanitygen

Greetings! Wink
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!