This version of GRO was developed at the AI-UDP lab atop the original version, created by Eric Klavins at University of Washington.
- This repository holds the latest developer's version of GRO at AI-UDP. There is an executable version for Windows, and the source code can be compiled on MacOS, Linux or Windows.
- The current version is 1.0
- Setup -
- Download and decompress or clone the repository.
- If you want to use the Windows executable version, work from the WIN-Executable subfolder and follow the instructions in the Readme in that folder.
- To compile in any OS, make sure the directory structure is created and available. This is done by running the script located in the main project folder, which creates this directory structure. (
create_dirs.sh
on MacOS and Linux. In case of compiling on Windows, it should be renamed tocreate_dirs.bat
)
- Dependencies -
- For every OS, you should install the latest version of QT Creator (https://www.qt.io/ide/).
- Flex (https://github.com/westes/flex) and Bison (https://www.gnu.org/software/bison/) should also be installed. Windows versions may be found at https://sourceforge.net/projects/winflexbison/.
- A C/C++ compiler needs to be installed. This version has been tested with clang/clang++ in MacOS, gcc/g++ in Linux (CentOS 7.0) and MinGW in Windows.
- Go to https://github.com/calccrypto/uint256_t, download and decompress or clone the repository, and put the ‘uint256_t-master’ folder in the main project directory.
- If you are in linux, make sure the format in your system is set to United States(settings/region & language)
- Instructions for compiling -
- Open a terminal and run
create_dirs.sh
(from the project directory) - From the same project directory run the script for compiling all modules:
modules.sh <mode>
(MacOS and Linux) ormodules-win.bat <mode>
(Windows).<mode>
is eitherdebug
orrelease
. - Open QT Creator and load both projects,
ccl-master
andgro-master
. Set the correct output of the projects toccl_Debug
,ccl_Release
,gro_Debug
andgro_Release
respectively when setting up the projects in QT Creator. - Build
ccl-master
on QT Creator. - Build
gro-master
on QT Creator. - To run gro, just press the green arrow on the bottom left of QT Creator.
- Upon execution of gro, look up the bottom line of the window to check the Working Directory (a guide is shown in the Readme in the WIN-Executable folder). Copy
standard.gro
andgro.gro
from thegro-master/include
folder to the Working Directory on your computer.
- If you find any bugs or wish to contribute, please contact [email protected] or [email protected]
- For more information, please direct your questions to [email protected] or [email protected]