Note: These instructions are based on the preferred IDE, IntelliJ IDEA.
Download and install the lastest 64-bit JDK (JDK8).
Download and install the latest IntelliJ IDEA IDE. (The Community Edition works fine.)
Download and install the Scala Plugin in IntelliJ. This plugin includes SBT.
From the Welcome to IntelliJ IDEA window, select Configure, select Install JetBrains Plugins (or Browse Repositories), select Scala, click Install
Configure the project SDK in IntelliJ
From the Welcome to IntelliJ IDEA window, select Configure, select Project Defaults, select Project Structure. If there is <No SDK>, click New to add the JDK that was installed in Step 1.
Now you are ready to clone a CCT repository.
Check out from Version Control.
https://github.com/hpe-cct/cct-tutorial.git"
for the Git Repository URL. Enter the Parent Directory. Then click Clone.build.sbt
project file.Verify. A good first example to try is the BackgroundSubtraction
application,
available
here.
cct-tutorial/src/main/scala/tutorial/cogio/
.BackgroundSubtraction.scala
.Now you are ready for the next step, Getting Started. (Note: this is just a place holder link for now)
Problem: The BackgroundSubtraction application has an error loading the courtyard.mp4 file.
Solution: The courtyard.mp4 file in the CCT-Tutorial repository is stored with Git LFS. You will need to download and install this program. More information can be found here: http://git-lfs.github.com.
Problem: IntelliJ IDEA does not show any Featured Plugins, Browse JetBrains Plugins, or in Browse Repository.
Solution: If you are behind a firewall, you will need to configure an HTTP proxy setting in IntelliJ. To find the proxy settings dialog box from the Welcome to IntelliJ IDEA window, select Configure, select Plugins, click Browse repositories…, click HTTP Proxy Settings…. Enter your proxy settings here.
Problem: Intellij IDEA doesn’t work with 64-bit JDK in older versions of IntelliJ IDEA.
Solution: Make sure you launch the 64-bit version of IntelliJ IDEA.
Problem: IntelliJ IDEA cannot find the 64-bit JDK VM in older versions of IntelliJ IDEA.
Solution: Make sure you set the JAVA_HOME and IDEA_JDK_64 environment variables to the 64-bit JDK you have installed.