-
Notifications
You must be signed in to change notification settings - Fork 19
Setup Eclipse
Brad White edited this page Mar 31, 2017
·
4 revisions
- Create an account at GitHub.com
- Download and install Eclipse
- Install the Dynamic Languages Toolkit Tcl plugin for Eclipse
- In Eclipse, navigate to "Help" -> "Install new software..."
- In the dropdown labeled "Work with:", select "Mars - http://download.eclipse.org/releases/mars"
- Expand "Programming Languages" and check the box next to "Dynamic Languages Toolkit - TCL Development Tools"
- Proceed through the rest of the installer, restart when prompted
- Fork the Tincr repo on GitHub
- Log in to GitHub
- Navigate to the official Tincr repo
- Click the "Fork" button in the top right corner of the window
- Clone the Tincr repo from GitHub
- In Eclipse, navigate to "File" -> "Import..."
- In the dialog that comes up, expand the folder "Git", select "Projects from Git", and press "Next"
- Select "Clone URI" and press "Next"
- Paste the following into the "URI" textbox: "https://github.com/{username}/tincr.git" (replace {username} with your GitHub username)
- Enter your GitHub credentials if you wish and press "Next"
- Select the branches you want to clone and press "Next"
- Enter the directory where you want to clone the repo (i.e. "C:\code\git\tincr") and press "Next"
- Select "Import using the New Project Wizard" and press "Finish"
- Create a Tcl project for Tincr
- In the "New Project" dialog, expand "Tcl" and select "Tcl Project", and press "Next"
- Name your project (i.e. "tincr")
- Select "Create project at existing location" and browse to the path to the repo you cloned in the previous step (i.e. "C:\code\git\tincr") and press "Next"
- Remove everything from the build path except the "tincr" and "tincr_test" top-level folders
- Press "Finish"
- Install Tincr
- Create an environment variable named TINCR_PATH and set it to the root of the local Tincr repo (i.e. "C:\code\git\tincr")
- Copy "pkgIndex.tcl" from the "install" directory in the repo to the following directory in your Vivado installation: "\tps\tcl\tcl8.5"