-
Notifications
You must be signed in to change notification settings - Fork 3
Build instructions
Modulo7 uses the most modern tools available for build and release.
- git clone https://github.com/Khalian/Modulo7/
- cd Modulo7
- gradle build
This generates a runnable jar in Modulo7/build/libs called Modulo-1.0.jar. You can run it using java -jar Modulo-1.0.jar. This starts up the Modulo7 Database Engine and Indexer Modules followed by a menu driven program. After that the program is self explanatory.
-
Gradle build tool (v 2.4 or later) : You can find the gradle build tool installer and information here: Gradle
-
OpenCV : The project needs the opencv library natively installed, as it is not available in maven repo: Opencv
-
Audiveris : Audiveris is a CLI and GUI service for processing Optical Music Recognition. Audiveris
-
Java 1.8 - While there is no particular reason as to why Java 1.7 wont work, I have kept the versions as current as possible. Set JAVA_HOME = JDK Location of java 1.8 so that gradle can pick up the correct SDK.
-
Python 2.7 : I have not developed for python 3.x as most opencv documentation using python bindings exists in python. My ultimate aim is to port all the code to opencv C++ and deprecate the project's python bindings to opencv (Python is only used for opencv operations)
-
GCC 4.8 or higher along with g++ for C++ dev.
Opencv is a computer vision library and is primarily used for the sheet music transposition work to modulo7 lines and songs.
Some of these instructions will help you deploy opencv very quickly:-
I used these scripts to install opencv 2.4x versions directly
https://github.com/Khalian/Install-OpenCV (forked from - https://github.com/jayrambhia/Install-OpenCV)
Follow the instructions in this repository to install a version of opencv(preferably v2.4x). Alternatively you might choose to build opencv via alternate means. As long as the include and lib files are properly deployed, it should be fine.
Set the opencv environment variable OPENCV_HOME to your working opencv installation. e.g. export OPENCV_HOME=/usr
Gradle is an end to end solution for building and deploying artifacts. Please use gradle v2.4 or higher for the purposes of building Modulo7.
You can download gradle from : https://gradle.org/
Once you download gradle you can perform various build and install instructions.
gradle build - Builds the entire project gradle clean - Cleans up the repository gradle idea - Creates an intelliJ project, that devs can use gradle eclipse - Creates an eclipse projec that devs can use