Then open generated solution under build folder.įor building binaries that ship to users we choose to use the MSYS2 toolchain.
We'll need to setup correct path for 32/64bit builds seperately:Īfter installation you'll need to install clang for 32/64 builds in the MSYS2 console. It should produce builds that has minimal dependencies and works everywhere. If you have Visual Studio 2012 or TDM-GCC 4.8.1 installed then building is rather easy. Currently no other environment is supported.Ĭlone the repository. Then you'll need premake 4.4-beta5 to build the solution or makefiles. premake currently can only generate VS2010 solution file. Open it in VS2012 and choose upgrade works fine. All external dependencies are included in the repo, so it should build out of the box. If you choose to build using VS2012, remember the runtime MUST be dynamically linked.
This is due to provided library binaries are using dynamic runtime. This means if you want to distribute your builds, the user needs to install VS2012 runtime. It is recommended to use the awesome TDM64-GCC 4.8.1 to build the project. It would generate binaries without other dependencies execpt those are included here. Mingw32-make -C build CC=gcc config=release64 Mingw32-make -C build CC=gcc config=release32 Mingw32-make -C build CC=gcc config=debug64 Mingw32-make -C build CC=gcc config=debug32 This is also how the provided clumsy binaries above are built. Here's a list of things used to build clumsy. WinDivert used to handle the magical Windows packet capturing/reinjecting.
It installs network drivers at runtime and removes it when closing, encapsuled the underdocumented Windows Filtering Platform, does a bunch of things that non Windows developers can hardly figure out how in years. WinDivert jam all these into a handful of functions for you to use for free, while similar commercial solution costs thousands. IUP Portable User Interface ANSI C library to build native cross platform GUI.It's so wonderfully designed and you can pick it up in a single day, and it's a full funcion GUI toolkit in C.
LICEcap free and open source gif capturing that just works.Here's a list of simlilar softwares aiming to solve the same problem, provided in case of looking for alternatives. Network Emulator for Windows Toolkit (Windows) - network emulator provided by Microsoft.