Setting up eclipse for windows driver development

谁都会走 提交于 2019-12-04 12:54:19

Definitely you should use MS Visual Studio with VisualDDK addon.

It allows you to compile/debug even kernel mode drivers local or remotely.

  1. Run Eclipse from build environment that you need (free or checked with needed architecture)
  2. Create project or import C/C++ / Existing code as makefile project. Select GNU Toolchain.
  3. Properties -> Builders -> New -> Environment -> Select, select all variables, mark "add to all configurations", select "replace native environment with specified on". On the Main tab select full path to build.exe of the selected build environment. Select your project directory in workspace as "working directory"
  4. Properties -> C/C++ Build -> On Bulder Settings tab remove "Use default build command" flag and type "build"
  5. Properties -> C/C++ Build -> Tool Chain Editor -> Select Tools. Personaly I selected msvc compilers.
  6. Properties -> C/C++ General -> Paths and Symbols -> select includes that you need including WDK ones
  7. Enjoy
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!