C2086: 'int WINGDIAPI' : redefinition errors in Open Scene Graph?

The solution is: [Obtained from this website]

You need to add WIN32 to the defines in your project. In Visual Studio, right-click on your project, go to C/C++, Preprocessor, and in the Preprocessor Definitions field add WIN32 for both debug and release configurations. While you're at it, also add _DEBUG for the debug configuration and NDEBUG for the release configuration...

For some reason the default VS projects have no preprocessor definitions, even though these, at least, should almost always be used...

OSG 包含osgText报错

参考博客:https://blog.csdn.net/solidsanke54/article/details/45318497

相关文章:

  • 2021-06-05
  • 2021-07-30
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-11-04
猜你喜欢
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-02-13
  • 2021-05-22
  • 2021-11-04
相关资源
相似解决方案