Trying to build luci app for xray

hi there

i want a luci app allowingxray config and was planning to add these two

how do i proceed to make this happened
i want to build it for 3 of my devices one is an old pc ;one a pi4 and the last a linksys wrt3200acm

any help is welcome

i ve tried to build on ubun 20 arm64, starting with an x86 generic,
i am getting this error

make -r toolchain/install: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/ubuntu/openwrt/include/ toolchain/install] Error 1

i ve only added helloword in the feeds(using the instruction in it s github),didnt find instructions for xray

edit: running without sudo , the toolchain error resolve now i have and error with the firmware build

Never run a build under sudo, it will create files owned by root in the build tree which will create permission issues. Always run the build system as your regular user.

Possibly this can be recovered by running chown -R on the whole tree to put all files back under your regular user name. Though you may be ahead to delete the build tree and start over.

1 Like

Can you try building on x86-64.
You should use the sdk tarball of the stable release 22.02.3 l.

1 Like