Page 1 of 1

ERROR: Building contribs failed

Posted: 07 Dec 2021 09:33
by menthuguan
On master, execute

Code: Select all

./compileAndBuildVLCKit.sh -a aarch64
here is compilation log https://code.videolan.org/videolan/VLCK ... CKit_2.log
There is an error in the compilation log that the cJson header file cannot be found
But I found this header file in the git directory, and its path is
VLCKit/libvlc/vlc/contrib/contrib-arm64-apple-iOS_9.0/librist/contrib/contrib_cJSON/cjson/cJSON.h
My guess is that the compilation script did not add the correct search path, and then I want to know which file to modify to add this compilation path?

Re: ERROR: Building contribs failed

Posted: 08 Dec 2021 03:29
by menthuguan
Is anyone following up on this issue?

Re: ERROR: Building contribs failed

Posted: 08 Dec 2021 10:09
by behr
For what it's worth, the 3.0 branch of VLCKit which I was told to use relies on 3.0.x branch of libvlc, which in turn does not seem to include librist in the contrib area. So I cannot really compare my build logs to yours.

Re: ERROR: Building contribs failed

Posted: 08 Dec 2021 13:54
by fkuehne
Indeed, librist was added to VLC v4 and will not become part of v3.

Re: ERROR: Building contribs failed

Posted: 22 Dec 2021 03:40
by menthuguan
Thank you very much for your response
I have now successfully built VLCLit and libvlc
This is the environment used
VLCKit: 3.3.18b6
libvlc hash:9bc28dab