More about Rubix here - https://www.rubix.net/
This guide will walk you through the process of building the rubix.exe executable for Windows.
Before you begin, ensure that you have the following prerequisites installed on your system:
- Git: https://git-scm.com/
- Go programming language: https://golang.org/doc/install
- Chocolate (Required for make): https://chocolatey.org/install#individual (PowerShell with Admin Privilege preferred)
- cmake: Once the Chocolate is installed, choco install cmake (PowerShell with Admin Privilege preferred)
- make: Once the Chocolate is installed, choco install make (PowerShell with Admin Privilege preferred)
- TDM-GCC: https://jmeubank.github.io/tdm-gcc/
Once the prerequisites are installed, close the PowerShell and open it again with admin privilege. This step is important!
-
Open your command prompt or terminal or github desktop app.
-
Clone the
rubixgoplatformrepository in development mode using the following command:git clone https://github.com/rubixchain/rubixgoplatform.git
-
Change your current working directory to the cloned repository:
cd rubixgoplatform
-
To ensure you are on the
developbranch, execute the following command:git checkout develop
-
To build the
rubix.exeexecutable for Windows, use the following command:make compile-windows
This command will set the necessary environment variables, download dependencies, and compile the executable.
Note: If you get any build errors, check for missing prerequisites or remove the .git folder temporarily (move to the recycle bin or another folder or rename) and try to build again.
-
Once the compilation process is complete, you can find the
rubix.exeexecutable in thewindowsfolder within your project directory (rubixgoplatform).Example path:
rubixgoplatform/windows/rubixgoplatform.exe
You have successfully built the rubix.exe executable for Windows using the make compile-windows command. You can now use this executable to run various commands as needed for your project.