官术网_书友最值得收藏!

Setting up GCC, Eclipse IDE, and graphical dependencies (Linux)

Open up a Terminal from the Ubuntu desktop (CtrlAltT). We first update the apt repository as follows:

sudo apt-get update

Now we can install everything we need for CUDA with one additional line:

sudo apt-get install build-essential binutils gdb eclipse-cdt

Here, build-essential is the package with the gcc and g++ compilers, and other utilities such as make; binutils has some generally useful utilities, such as the LD linker, gdb is the debugger, and Eclipse is the IDE that we will be using.

Let's also install a few additional dependencies that will allow us to run some of the graphical (OpenGL) demos included with the CUDA Toolkit with this line:

sudo apt-get install freeglut3 freeglut3-dev libxi-dev libxmu-dev

Now you should be good to go to install the CUDA Toolkit.

主站蜘蛛池模板: 伊吾县| 英吉沙县| 衡南县| 合作市| 嵩明县| 阳新县| 昌邑市| 乌兰县| 刚察县| 晋宁县| 奉新县| 科技| 莱芜市| 海兴县| 赤水市| 寿光市| 太白县| 温州市| 仁化县| 霍林郭勒市| 邮箱| 晴隆县| 隆林| 浦江县| 九江市| 万山特区| 新营市| 汉沽区| 页游| 永寿县| 琼结县| 富顺县| 江门市| 梁河县| 山丹县| 朝阳区| 咸阳市| 南漳县| 鄂州市| 育儿| 衡东县|