- Do not save kernel source to a
/mnt/c
path, compile from the linux user home directory. Windows is case-insensitive, will cause random "file not found" compilation errors. - I'm using the Kali Windows store installation to do all these steps, this is especially important if you plan on using 8814au drivers (I don't believe they are compatible with Ubuntu)
- Windows 10, latest windows updates & WSL.
- The steps related to 8814au drivers can be modified as necessary.
- For changes to take effect, WSL requires the "6 second rule" between restarts when modifying WSL related configuration files. Meaning if you issue a
wsl --shutdown
wait 6 seconds before issuingwsl
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
based on github gist from rcolinray: https://gist.github.com/rcolinray/7552384 | |
you need to build with glfw2, not glfw3. | |
adjusted for newer ffmpeg ( version>55 - avcodec_alloc_frame now is | |
av_frame_alloc, and some other defines have AV_ prefix added to it ) | |
build it using something like: | |
g++ ./gl_ffmpeg.cpp \ | |
-lavcodec -lavutil \ | |
-lavformat \ | |
-lavfilter \ |