Giter Site home page Giter Site logo

anglehosting's Introduction

AngleHosting Test

This project demonstrates how to use Angle, a library for adapting OpenGL to DirectX graphics calls, across a number of different Windows project types.

Before you can build / run this project, you will need Angle binaries! As of right now, you’ll need to build Angle yourself (don’t worry, it’s easy, you just need to run a single script and wait a bit).

If you just want to grab pre-compiled binaries.. let me know, I’ll publish some :-) In the meantime, you’ll need to build your own.

Building my fork of Angle from source

  1. Make sure you have VS2019 installed including
  • Debugging tools for Windows,
  • Desktop developmenet with c++
  • the C++/WinRT extension
  • the Windows 10 Standalone SDK version 10.0.17134
  1. Follow the instructions here to install Depot Tools
  2. Assuming you have cloned this repo, start a command prompt in the root
  3. Switch to scripts dir cd scripts
  4. Run the uber-script to fetch and build Angle getandbuild.bat

If you get this as I did on one machine..

[56/4305] COPY "C:/Program Files (x86)/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll" d3dcompiler_47.dll
FAILED: d3dcompiler_47.dll
C:/Users/james/Tools/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py recursive-mirror "C:/Program Files (x86)/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll" d3dcompiler_47.dllTraceback (most recent call last):
  File "../../build/toolchain/win/tool_wrapper.py", line 51, in <module>
    import win32file    # pylint: disable=import-error
ImportError: No module named win32file

.. do this python -m pip install pywin32

.. and you should be good.

If all of the above machinery succeeded, you should see a folder call dependencies with heads, libs and binaries for Angle. If so, go ahead and open the main AngleHosting solution and you should be able to build and run either the Win32 or UWP version.

Make sure you switch to x64 debug. Still todo to make this build in other configurations.

UWP Win32

anglehosting's People

Contributors

clarkezone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.