TheOfficialFloW / VitaShell

Multi-functional file manager for PS Vita
GNU General Public License v3.0
1.39k stars 224 forks source link

Build error with latest VITASDK #602

Open ckyoog opened 3 years ago

ckyoog commented 3 years ago

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?

TheOfficialFloW commented 3 years ago

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

ckyoog commented 3 years ago

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