Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows port #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Windows port #11

wants to merge 2 commits into from

Conversation

waffleShirt
Copy link

@waffleShirt waffleShirt commented Dec 3, 2020

I've set up a Windows build of TinyEngine. It allows a user on a Windows machine to compile and run all the TinyEngine examples in Visual Studio 2019. There is also a template project so if someone wanted to create their own TinyEngine project they can start with the template project which has the minimum requirements to build and run the engine. Internally the template project is just a copy of example 0_Empty.

Hope you find this useful. Please let me know if you have any questions or concerns if you are considering accepting the pull request.

Please note that there are no changes to your original TinyEngine repository. The TinyEngine code is reused, except for TinyEngine.h which has a modified duplicate in the "win/TinyEngineWin" directory. Example code is duplicated into the Windows build and modified as required.

I've also included a Readme.md that explains how to get the Windows build up and running.

TinyEngine itself is almost entirely unchanged from the original. The only major difference is a duplicate of TinyEngine.h placed in the win directory that adds some include statements that weren't required in the original.

Each example project has been turned into a Visual Studio project, all are contained in one Visual Studio solution. A template project has also been added that allows one to easily get a new running under Visual Studio.

All examples compile on Windows. Most are unchanged from the original, with the major exemption being 6_Tree that required a workaround for zero size vector causing problems with OpenGL on Debug builds.

Next task to complete is creating a README.md as there are a number of tasks that have to be completed by the user to set up their machine to be able to compile the examples.
@weigert
Copy link
Owner

weigert commented Dec 4, 2020

That's awesome! Thanks a lot. I will try to get a windows laptop in the next few days to run some tests and then I can merge this. Good contribution! Thanks.

@waffleShirt
Copy link
Author

waffleShirt commented Dec 5, 2020

You're welcome! It was fun to play with C++ again.

You can download trial Windows 10 Virtual Machines, that might be an option if it is too hard to acquire a full Windows machine: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

@jokoon
Copy link

jokoon commented Oct 7, 2022

Any news or info about the windows port?

I quickly tried the forked version, but did not managed to make it work and I did not investigate further.

I don't think it will support a cmakelist or something similar?

I'm really eager to use something like TinyEngine, it's exactly the type of Engine I want.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants