to make use of pdflatex in wsl2
- install texlive-full
to make use of raylib
-
inside /software/raylib directory delete "build" directory and make new "build" directory.
-
cd in to build directory and "cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/raylib/ .." to build and set installation path.
-
when you run above command it will tell what is missing in log , install them. 3.5 "sudo apt-get install libglfw3-dev"
-
"make -j3" to build with 3 threads.
-
might complain there is no glfw.
-
"make install" to install at location we mentioned at 2.
-
create ~/opt/raylib/raylib.env file and write export PKG_CONFIG_PATH=$HOME/opt/raylib/lib/pkgconfig/
-
install pkg-config
-
when building raylib stuff in playground with build.sh apply source ~/opt/raylib/raylib.env && ./build.sh
-
inside playground/gen folder type the following in terminal to run program "./img2mat mnist/6.png mnist/8.png" different png can be applied