SHARE
TWEET

Compiling

a guest Jan 20th, 2020 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ***Download GitHub Desktop***
  2.  
  3. https://desktop.github.com/
  4.  
  5. -------------------------------------------------------------------------------------------------------
  6.  
  7. ***Stages***
  8.  
  9. 1. Microsoft store - download Ubuntu
  10. 2. Open Windows Powershell as admin.
  11. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  12. 3. Proceed with YES when download is complete
  13. 4. After restart, open Ubuntu and wait for install to finish
  14. 5. Choose new UNIX name and password
  15.  
  16. -------------------------------------------------------------------------------------------------------
  17.  
  18. ***Commands***
  19.  
  20. git clone https://github.com/CryptoLifestylerProgram/VisionX.git
  21. cp -R VisionX/ /mnt/c/Users/Admin/Desktop/
  22.  
  23. -------------------------------------------------------------------------------------------------------
  24.  
  25. ***Install Dependencies for Wallet***
  26.  
  27. sudo add-apt-repository ppa:bitcoin/bitcoin
  28. sudo apt-get update
  29. sudo apt-get install libdb4.8-dev libdb4.8++-dev
  30. sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
  31. sudo apt-get install libminiupnpc-dev
  32. sudo apt-get install libzmq3-dev
  33. sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
  34. sudo apt-get install libqrencode-dev
  35.  
  36. -------------------------------------------------------------------------------------------------------
  37.  
  38. ***Move over to build.windows.md***
  39.  
  40. sudo apt update
  41. sudo apt upgrade
  42. sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git
  43. sudo apt install g++-mingw-w64-x86-64
  44. sudo update-alternatives --config x86_64-w64-mingw32-g++ (# Set the default mingw32 g++ compiler option to posix.)
  45. PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
  46.  
  47. -------------------------------------------------------------------------------------------------------
  48.  
  49. ***Make sure Permissions are set***
  50.  
  51. cd VisionX
  52. cd depends
  53. chmod +x config.guess
  54. chmod +x config.sub
  55. cd ..
  56. cd share
  57. chmod +x genbuild.sh
  58. cd ..
  59. chmod +x ./configure
  60.  
  61. ***Setting the Host for 64bit***
  62. cd depends
  63. make HOST=x86_64-w64-mingw32
  64.  
  65. -------------------------------------------------------------------------------------------------------
  66.  
  67. ***Compiling***
  68. cd ..
  69. ./autogen.sh
  70. CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
  71. make
  72.  
  73. -------------------------------------------------------------------------------------------------------
  74.  
  75. ***Move executables to Windows Desktop***
  76. make install DESTDIR=/mnt/c/Users/Admin/Desktop/VisionX_Win64
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top