Skip to content

Builds a Unity native plugin with using WSL (Windows Subsystem for Linux)

Notifications You must be signed in to change notification settings

lardratboy/UnityPluginWithWSL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityPluginWithWSL

screenshot

This is an example that shows how to build a Unity native plugin with using a WSL (Windows Subsystem for Linux) development environment.

How to build the plugin

  • Enable WSL and install a distro (any distro is fine; Ubuntu is recommended).
  • Install make.
    • sudo apt install make
  • Install mingw-w64 (development toolchain targeting 64-bit Windows).
    • sudo apt install mingw-w64
  • Execute make in the Plugin directory.

WSL? MinGW? Isn't it better to use Visual Studio?

I just prefer UNIX-style CLI development environment.

If so, why don't you use Cygwin/MSYS?

I used to do. I switched to use WSL because it's matured enough for practical use.

About

Builds a Unity native plugin with using WSL (Windows Subsystem for Linux)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.4%
  • C# 7.0%
  • Makefile 6.6%