this is godreborn. I've been banned from the site, but I can't stand by and see someone struggle. first of all, /c/devkitpro is the windows location. msys should be /c/msys64/opt/devkitpro . second, you need to link the cmake to wiiucmake in /c/msys64/opt/devkitpro/cmake . third, I have no idea why you have CMAKELists.txt in the command. cmake will detect that file as long as you tell the command where to find it ./ same directory ../ previous directory. the latter is most common, because you can mkdir a build folder to isolate the build from the source code.