D3D11CreateDeviceAndSwapChain(…) was not declared in this scope

时光怂恿深爱的人放手 提交于 2020-01-17 14:42:49

问题


I am trying to make a simple Engine using c++ and DirectX 11. I am using Geany. This makes things worse for me because linking the d311 library was difficult, but I have to use it for 2 reasons:

  1. I want to make it without any IDE help, more to-root possible, and
  2. Because we use it at school.

While I was following some tutorials and books I got stuck because my IDE doesn't recognize the method. How can I solve that? Update:i found out that the D310CreateDeviceAnsSwapChain(..) works but Idk what would be the reason why the d3d10 works while the d3d11 doesn't.

来源:https://stackoverflow.com/questions/59570701/d3d11createdeviceandswapchain-was-not-declared-in-this-scope

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!