microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

build HelloTriangle project failed in vs2015 #59

Closed LarryMai closed 8 years ago

LarryMai commented 8 years ago

screenshot 74

  1. open File->New->Project->templates->8.1->win32->Win32 Application for OPENGL ES
  2. build failed and get compile error LNK1104 can't open file 'libcpmtd.lib;
LarryMai commented 8 years ago

Another question : Can I use ANGLE to combine OPENGL Interface with mediafoundation transform? thx

austinkinross commented 8 years ago

Hi, the Win32 template was designed for Visual Studio 2013. On the left hand side of you screenshot, you can see that it says that your project is called "ApplicationForOpenGLES1 (Visual Studio 2013)". If you right click there and click "Upgrade VC++ Compiler and Libraries", then your project will be updated for VS2015 and it should compile successfully.

Regarding OpenGL/MediaFoundation interop, yes this is possible using interop between D3D devices. We don't have any MF samples to share with you, but if you can get your MF content onto a shared D3D surface then you can use the techniques described in this Wiki article to share its contents with OpenGL ES rendering in ANGLE: https://github.com/MSOpenTech/angle/wiki/Interop-with-other-DirectX-code

Let me know if you have any more questions, Austin

austinkinross commented 8 years ago

Hi, I'm closing this issue since I believe your questions have been answered. Feel free to reopen this if you're still having problems!