Something went wrong while extracting
compile (windows-x64): precompiling main/funcs.h failed: In file included from J:\Acnh_recomp\ACNH Recomp Game/gen\main\funcs.h:2: In file included from J:\Acnh_recomp\ACNH Recomp Game/.import/build-windows-x64\runtime/nx/cpu.h:7: In file included from tools\zig\lib\libcxx\include/bit:94: In file included from tools\zig\lib\libcxx\include/cstdlib:90: In file included from tools\zig\lib\libcxx\include/stdlib.h:89: tools\zig\lib\libc\include\any-windows-any/stdlib.h:723:10: fatal error: 'sec_api/stdlib_s.h' file not found 723 | #include <sec_api/stdlib_s.h> | ^~~~~~~~~~~~~~~~~~~~ 1 error generated.
exefs: analysis/main.npdm (1636 bytes) exefs: analysis/sdk.bin (12072168 bytes) exefs: analysis/subsdk0.bin (5581704 bytes) romfs/: 103400 files, 242 folders, 10.50 GB (10.50 GB still to write) aoc/301/: 1 files, 0 folders, 0.00 GB (0.00 GB still to write) add-on 301: 1 files from Animal Crossing New Horizons [Nook Inc silk rug][01006F800232712D][US][v0].nsp aoc/300/: 1 files, 0 folders, 0.00 GB (0.00 GB still to write) add-on 300: 1 files from Animal Crossing New Horizons [Special Order Ticket Animal Crossing Pocket Camp tie-in campaign ] [01006F800232712C][NO][v0].nsp aoc/1000/: 1171 files, 5 folders, 0.62 GB (0.62 GB still to write) add-on 1000: 1171 files from Animal Crossing New Horizons [DLC Happy Home Paradise] [01006F80023273E8][v0].nsp import complete: 103400 RomFS files, 10.50 GB seeds: 32630 FDE, 7812 PLT stubs, 40465 entries pass 0: 40465 functions, 610 jump tables, +21 entries pass 1: 40486 functions, 610 jump tables, +6 entries pass 2: 40492 functions, 610 jump tables, +0 entries analysis: 40492 functions, 610 jump tables (5.8s) emitting 40492 functions into 138 files with 12 jobs emitted 8031/40492 functions (9s) emitted 16090/40492 functions (11s) emitted 24147/40492 functions (13s) emitted 34761/40492 functions (15s) emitted 40079/40492 functions (15s) done: 138 files, handled 1675538, unhandled 0 (16s) seeds: 10097 FDE, 3817 PLT stubs, 13935 entries pass 0: 13935 functions, 334 jump tables, +20 entries pass 1: 13955 functions, 334 jump tables, +0 entries analysis: 13955 functions, 334 jump tables (1.3s) emitting 13955 functions into 73 files with 12 jobs emitted 8067/13955 functions (8s) done: 73 files, handled 900180, unhandled 0 (9s) seeds: 176251 FDE, 983 PLT stubs, 178473 entries pass 0: 178473 functions, 4190 jump tables, +103 entries pass 1: 178576 functions, 4190 jump tables, +2 entries pass 2: 178578 functions, 4190 jump tables, +0 entries analysis: 178578 functions, 4190 jump tables (22.3s) 16 hooks from the game's list emitting 178578 functions into 1380 files with 12 jobs emitted 8053/178578 functions (26s) emitted 16042/178578 functions (28s) emitted 24269/178578 functions (31s) emitted 32034/178578 functions (35s) emitted 40058/178578 functions (40s) emitted 48156/178578 functions (44s) emitted 56059/178578 functions (49s) emitted 64064/178578 functions (54s) emitted 72211/178578 functions (58s) emitted 80051/178578 functions (62s) emitted 88025/178578 functions (65s) emitted 96006/178578 functions (71s) emitted 104148/178578 functions (75s) emitted 112080/178578 functions (81s) emitted 120038/178578 functions (85s) emitted 128219/178578 functions (89s) emitted 136001/178578 functions (92s) emitted 144064/178578 functions (100s) emitted 152237/178578 functions (105s) emitted 160054/178578 functions (110s) emitted 168133/178578 functions (113s) emitted 176032/178578 functions (115s) done: 1380 files, handled 17215065, unhandled 0 (117s)
sec_api/stdlib_s.h is part of the zig toolchain that ships with the Importer (it's in 1.0.5's package, next to the stdlib.h that includes it), so your copy of tools\zig is missing files. This is usually an antivirus that quarantined or blocked part of the extraction, or a download that didn't finish. Please:
- download ACNHRecomp-Importer 1.0.5 again (https://github.com/Nycolazs/ACNHRecomp-Importer-Releases/releases/tag/v1.0.5);
- add an antivirus exclusion for its folder (or check its quarantine for files from
tools\zig); - delete
.importin your game folder and run it again.
Tell me if it still fails after that.
ACNHRecomp-Importer 1.0.6 handles this: it checks the compiler files it unpacked every time it opens, unpacks them again if any are missing (an antivirus usually removed them), and retries a compile step that failed because a toolchain file could not be found. Open 1.0.6 with the same files and folder. If it still fails, please add an antivirus exclusion for %LOCALAPPDATA%\ACNH Recomp Importer and post the new log.
Thanks for the response! I followed all your suggestions and everything is fixed now. Yeah, the last build works great.