VitaShell icon indicating copy to clipboard operation
VitaShell copied to clipboard

Build error with latest VITASDK

Open ckyoog opened this issue 4 years ago • 2 comments

I installed vitasdk with the following commands,

cd /tmp
git clone https://github.com/vitasdk/vdpm.git
cd vdpm
export VITASDK=`realpath -m vitasdk`
export PATH=$VITASDK/bin:$PATH
./bootstrap-vitasdk.sh
./install-all.sh
cd ..

Then I started to build VitaShell with the following commands,

git clone https://github.com/TheOfficialFloW/VitaShell.git
mkdir build
cd build
cmake ..
make

The build failed with error as shown in the screenshot below, image

The function _sceNpDrmGetFixedRifName() is called with 3 arguments in refresh.c:22, while the vitasdk declares that it has only 2 arguments.

The declaration of the function can be found in file /tmp/vdpm/vitasdk/arm-vita-eabi/include/psp2/npdrm.h, as shown in the screenshot below. image

Did I miss something? or is this a build issue with the latest VITASDK?

ckyoog avatar Apr 14 '21 21:04 ckyoog

Can you try again with latest commit? Just merged the fix.

TheOfficialFloW avatar Apr 14 '21 21:04 TheOfficialFloW

Thank you @TheOfficialFloW for your fast response. It is fixed. The build is just completed without any problems.

ckyoog avatar Apr 14 '21 22:04 ckyoog