@d0k3
Can't build CTRXplorer if you start a clean github clone (buildtools error):
I use this batch script to compile:Code:Checking connectivity... done. fatal: reference is not a tree: e55cae262dd5d0e516d14d770e1aaee99bf6244f Unable to checkout 'e55cae262dd5d0e516d14d770e1aaee99bf6244f' in submodule path 'buildtools' Building... Makefile:55: buildtools/make_base: No such file or directory make: *** No rule to make target `buildtools/make_base'. Stop. Makefile:55: buildtools/make_base: No such file or directory make: *** No rule to make target `buildtools/make_base'. Stop.
Code:@echo off Title = Building CTRXplorer... cls %~d0 cd %~dp0 if exist "CTRXplorer" ( echo Making a backup of your current CTRXplorer folder xcopy "CTRXplorer\*" "Backups_Compiles\Backup_CTRXplorer" /e /i /y >nul cls cd CTRXplorer Title = Building CTRXplorer ^(Update^)... echo Updating repo... git pull origin master git submodule update --init --recursive ) else ( Title = Building CTRXplorer ^(Clone^)... echo Cloning repo... git clone --recursive https://github.com/d0k3/CTRXplorer.git cd CTRXplorer ) echo Building... Title = Building CTRXplorer ^(Clean^)... make clean Title = Building CTRXplorer ^(Release^)... make Title = Building CTRXplorer ^(Done^) echo. echo ################################################## cd %~dp0 color A echo Done. Files are in the "CTRXplorer/output" folder. echo. echo Press any key to continue ... Pause >nul exit
---------------------------
But when i gitclone buildtools manually (or add 2 lines to the batch script it builds fine):
Code:@echo off Title = Building CTRXplorer... cls %~d0 cd %~dp0 if exist "CTRXplorer" ( echo Making a backup of your current CTRXplorer folder xcopy "CTRXplorer\*" "Backups_Compiles\Backup_CTRXplorer" /e /i /y >nul cls cd CTRXplorer Title = Building CTRXplorer ^(Update^)... echo Updating repo... git pull origin master git submodule update --init --recursive ) else ( Title = Building CTRXplorer ^(Clone^)... echo Cloning repo... git clone --recursive https://github.com/d0k3/CTRXplorer.git cd CTRXplorer ) echo Building... rmdir buildtools /s /q git clone --recursive https://github.com/Steveice10/buildtools.git Title = Building CTRXplorer ^(Clean^)... make clean Title = Building CTRXplorer ^(Release^)... make Title = Building CTRXplorer ^(Done^) echo. echo ################################################## cd %~dp0 color A echo Done. Files are in the "CTRXplorer/output" folder. echo. echo Press any key to continue ... Pause >nul exit
---------------------------
The same error happens in A9NC
Thanks for the hint! I fixed it (in both projects) by updating buildtools to the most recent version.