Skip to content

Setup Eclipse

Brad White edited this page Mar 31, 2017 · 4 revisions

Set up Eclipse

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