Once again, amazing work! I will modify ctrulib to use this, and make it as a new option.So i updated CTRULIB to see what doesn't work anymore:
CFW's/Homebrew working:
- SaltFW
- ShadowNAND
- ftpd
- TIKdevil
- CIAngel
Anything else not in this list didn't build, so don't use latest ctrulib
Reverted back 1 commit to "14cdb5a" same errors
Reverted back 2 commits to "8c9a327" and everything works fine again.
[EDIT]
quick script to build a specific commit from smea's ctrulib
You have to give the commit ID with the batch
For example:
- CLCommit.bat 3a10698
3a10698 is the libctru commit we want to build/install in this example
Code:@echo off cls %~d0 cd %~dp0 Title = Building Specific Ctrulib Commit... ECHO ................................................................... ECHO . Smealum's LIBCTRU Menu. Do you want to install or compile only? . ECHO ................................................................... ECHO. ECHO 1 - Compile LIBCTRU Commit %1 ECHO 2 - Install LIBCTRU Commit %1 ECHO 3 - EXIT ECHO. ECHO. ECHO If you don't see a commit ID after the "Commit" ECHO You forgot to give a commit version with your batch file ECHO Choose option 3 to exit ECHO. ECHO For Example: ECHO ------------ ECHO CLCommit.bat 3a10698 ECHO. ECHO Commit ID's can be found here: ECHO https://github.com/smealum/ctrulib/commits/master ECHO. ECHO. choice /C 123 /M "Enter the number of your choice:" IF ERRORLEVEL 3 exit IF ERRORLEVEL 2 GOTO LIBINST IF ERRORLEVEL 1 GOTO LIBCOMP :LIBCOMP cls %~d0 cd %~dp0 Title = Building Smea-ctrulib Commit^(Clone^)... echo Cloning repo... git clone https://github.com/smealum/ctrulib cd ctrulib git checkout %1 cd libctru Title = Building libctru Commit ^(Release^)... make Title = Building libctru Commit ^(Done^) echo. echo ######################################################## cd %~dp0 ren ctrulib ctrulib-%1 echo .......................................... echo . Done. Look into ctrulib-xxxxxxx folder . echo .......................................... color A echo Press any key to exit! Pause >nul GOTO END :LIBINST cls %~d0 cd %~dp0 Title = Installing Smea-ctrulib Commit^(Clone^)... echo Cloning repo... git clone https://github.com/smealum/ctrulib cd ctrulib git checkout %1 cd libctru Title = Installing libctru Commit ^(Release^)... make install Title = Installing libctru Commit ^(Done^) echo. echo ######################################################## cd %~dp0 ren ctrulib ctrulib-%1 echo ................................. echo . Done. Installed to \devkitpro . echo ................................. color A echo Press any key to exit! Pause >nul GOTO END :END exit
So the options would be:
- compile latest ctrulib
- install latest ctrulib
- compile a specific commit
- install a specific commit
After I integrate this, I'll make a release which also will include corbenik cfw