首页 文章

从NVIDIA_GPU_Computing_SDK为GTK设置cuda模板项目

提问于
浏览
2

我'm developing CUDA with Eclipse Indigo on Ubuntu 11.10. To set up a new CUDA project, i use the template project from the NVIDIA_GPU_Computing_SDK and customize the makefile. For gui development i'm在正常的C文件中使用gtk . 但是每次构建项目时,我都会得到/usr/include/gtk-2.0/gtk/gtk.h:32:致命错误:gdk / gdk.h:没有这样的文件或目录编译终止 . 所以我的问题是:如何在nvidia给出的makefile中为gtk开发设置gcc编译器?

1 回答

  • 1

    要从未答复的列表中删除此问题...在CUDA中启动新项目时,我建议使用简单的makefile,而不是CUDA SDK的“common.mk”方法 .

    NVIDIA将来会简化SDK,并希望提供一个简单的模板makefile .

相关问题