Skip to content

Installation

Zengineer edited this page May 13, 2017 · 18 revisions

Overview

Virtual Control for Research Graph is in the form of a plugin for Gephi.
After we publish it, you can directly download from Gephi Plugins Market.
For now and for development purpose, you can run the source code in following steps. *Project support Windows/MacOS/Linux, not running in virtual machine due to OpenGL issue.

Download

You can directly download our released executable for Windows/MacOS/Linux from
Releases
Or alternatively you can clone and build the source code following instructions below.

Steps for build

Clone the Repo

git clone [email protected]:researchgraph/TechLauncher-Gephi-Plugin.git

Download LeapMotion SDK

https://developer.leapmotion.com/sdk/v2

Add LeapMotion SDK to Maven

mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file \
 -Dfile=PATH_TO_JAR \
 -DgroupId=com.leapmotion.leap -DartifactId=leapMotion \
 -Dversion=1.0.0 -Dpackaging=jar

*run as a single command in CLI, replace PATH_TO_JAR with the path to LeapJava.jar downloaded from second step

Add LeapMotion SDK to JVM lib

Copy corresponding SDK contents to JVM lib

* Windows
all files in x86 or x64 folder - Windows\System32
* MacOS
LeapJava.jar libLeapJava.dylib libLeap.dylib - /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib
* Linux
LeapJava.jar - /usr/lib/jvm/java-8-openjdk-amd64/jre/lib
/x64/*.so or /x86/*.so - /usr/lib

*replace jdk path with your actual installed path

Build the project

mvn clean package

Run built Gephi with Plugin

mvn org.gephi:gephi-maven-plugin:run

*In Gephi, when you navigate to Tools > Plugins you should see ResearchGraph plugin listed in Installed.

Clone this wiki locally