chavezcoin-project / chavezcoinwallet

The ChavezCoin Wallet
GNU Lesser General Public License v3.0
1 stars 7 forks source link

Great, I build for Linux. Any idea how to make for Windows GUI? #3

Open ArtRaptors opened 6 years ago

ArtRaptors commented 6 years ago

Great, I build for Linux. Any idea how to make for Windows GUI? Some sources where is possible to get Windows GUI for bytecoin altcoins?

servc4 commented 6 years ago

Hi I trying to do same thing like you, but I get some errors with compiling source on windows GUI You can always reed topics below. https://github.com/chavezcoin-project/chavezcoinwallet/issues/1 https://github.com/amjuarez/bytecoin-gui/issues/1

To make compilatiokn on windows you will need: On Windows: Dependencies: MSVC 2013 or later, CMake 2.8.6 or later, and Boost 1.55. You may download them from: http://www.microsoft.com/ http://www.cmake.org/ http://www.boost.org/

To build, change to a directory where this file is located, and run this commands: mkdir build cd build cmake -G "Visual Studio 12 Win64" ..

ArtRaptors commented 6 years ago

I have Visual Studio 2017, but I think you must use QT5 framework to compile files there. I am trying to install it now, very heavy. Will update in case of sucess.

SoraKohaku commented 6 years ago

make[3]: Leaving directory '/root/coins/aa/build/release' [ 1%] Built target Wayang_automoc make[3]: Entering directory '/root/coins/aa/build/release' Scanning dependencies of target rocksdb make[3]: Leaving directory '/root/coins/aa/build/release' make[3]: Entering directory '/root/coins/aa/build/release' /bin/sh: 1: cd: can't cd to /root/coins/aa/WayangCli/external/rocksdb CMakeFiles/rocksdb.dir/build.make:49: recipe for target 'CMakeFiles/rocksdb' failed make[3]: [CMakeFiles/rocksdb] Error 2 make[3]: Leaving directory '/root/coins/aa/build/release' CMakeFiles/Makefile2:195: recipe for target 'CMakeFiles/rocksdb.dir/all' failed make[2]: [CMakeFiles/rocksdb.dir/all] Error 2 make[2]: Leaving directory '/root/coins/aa/build/release' Makefile:76: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/root/coins/aa/build/release' Makefile:22: recipe for target 'build-release' failed make: [build-release] Error 2

servc4 commented 6 years ago

I buid environment same like I have on Ubuntu 16.04 Qt5-5.5.1 Boost 1.58 Cmake 3.5.1 and MCVS2013 and I have one error... error C2440: 'initializing' : cannot convert from 'initializer-list' to 'QStringList' C:\msys64\home\Max\build\Win32\src\Models\NodeStateModel.cpp 30 1 MyCoin

With comment IntelliSense: no instance of constructor "QStringList::QStringList" matches the argument list argument types are: (const char [1], const char [2], const char [2], const char [2], const char [2], const char [2], const char [2], const char [2], const char [2]) c:\msys64\home\Max\build\Win32\src\Models\NodeStateModel.cpp 30 35 MyCoin

And Line 30 from file NodeStateModel.cpp with symbol 35 is... const QStringList RATE_PREFIXES = { "", "k", "M", "G", "T", "P", "E", "Z", "Y" }; Where symbole { is marked as this error ...

SoraKohaku commented 6 years ago

many bugs lol what is rock db ~_~

servc4 commented 6 years ago

Hi rocksdb is a folder in your coin source like on link below... https://github.com/amjuarez/bytecoin/tree/master/external/rocksdb Copy your coin source to cryptonote folder in your wallet GUI main folder.

jasin commented 6 years ago

@servc4 https://doc.qt.io/qt-5/qstringlist.html#QStringList-4

the documentation clearly states that the constructor is only enabled if the compiler supports c++11 initializer_list

Your error states, 'no instance of constructor matches argument list', because the constructor is not enabled.