switchbrew / libnx

Library for Switch Homebrew

Home Page:https://switchbrew.github.io/libnx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When i try to compile a .nro in devkitpro, i get this error:

AexHar opened this issue · comments

build/us_nx/bin/nacptool.o:nacptool.c:(.text.startup+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:800: build/us_nx/sm64.us.f3dex2e] Error 1
rm build/us_nx/sm64.us.f3dex2e.nacp

Yeah, "NRO"... NACP error wouldn't show for someone compiling just NRO.

I'm actually trying to "Render96ex" for the switch and i'm this tutorial:https://github.com/Render96/Render96ex/wiki/How-To-Compile-For-Switch but i always get that error

commented

Judging by the error message, it looks like somehow you're trying to build nacptool itself; which is obviously incorrect (it's a tool we supply in the switch-tools package). The instructions you linked to don't seem to involve anything more than installing the necessary packages and invoking make. This therefore seems like user error.