Advertising (This ad goes away for registered users. You can Login or Register)

[Solved][Help setting up - VitaSDK] Error during compilation

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
User avatar
robin994
Posts: 20
Joined: Mon Oct 08, 2012 12:30 pm
Location: Italy

[Solved][Help setting up - VitaSDK] Error during compilation

Post by robin994 » Wed Aug 03, 2016 8:11 pm

Hi all, i'm trying to setting up for the first time vitaSDK .
I downloaded the prebuild toolchain, i extraxted it in : /usr/local/vitasdk
i put path in my profile bash in this way : export VITASDK:/urs/local/vitasdk

when i try to compile samples i get this error:
Image

what can i do to fix this and make it work?
Advertising
Last edited by robin994 on Thu Aug 04, 2016 8:14 pm, edited 1 time in total.

User avatar
Z80
Posts: 123
Joined: Tue Apr 17, 2012 8:19 am
Location: [CPU]

Re: [Help setting up - VitaSDK] Error during compilation

Post by Z80 » Wed Aug 03, 2016 11:03 pm

They seem's forget to add this
export PATH=$VITASDK/bin:$PATH -
Advertising

User avatar
robin994
Posts: 20
Joined: Mon Oct 08, 2012 12:30 pm
Location: Italy

Re: [Help setting up - VitaSDK] Error during compilation

Post by robin994 » Wed Aug 03, 2016 11:36 pm

Z80 wrote:They seem's forget to add this
export PATH=$VITASDK/bin:$PATH -
it doesn't work
maybe i'm doing it bad too ^^"

this is my bash-profile, did i write it correctly?
Image

User avatar
Z80
Posts: 123
Joined: Tue Apr 17, 2012 8:19 am
Location: [CPU]

Re: [Help setting up - VitaSDK] Error during compilation

Post by Z80 » Wed Aug 03, 2016 11:44 pm

delete first and last export

User avatar
robin994
Posts: 20
Joined: Mon Oct 08, 2012 12:30 pm
Location: Italy

Re: [Help setting up - VitaSDK] Error during compilation

Post by robin994 » Wed Aug 03, 2016 11:48 pm

Z80 wrote:delete first and last export
i did it, but it still doesn't compile

EDIT:
i rebooted my laptop and i got this new error during compilation:
if i don't use root i got back error 1 and if i use it i got error 127
Image

in sudo case:
it says command not found

in NON sudo case:
it says fatal error: permission negated

dots_tb
Posts: 28
Joined: Tue Aug 02, 2016 11:00 pm

Re: [Help setting up - VitaSDK] Error during compilation

Post by dots_tb » Thu Aug 04, 2016 7:47 am

Check the permissions of the folder you're compiling in.

Code: Select all

ls -ld

User avatar
robin994
Posts: 20
Joined: Mon Oct 08, 2012 12:30 pm
Location: Italy

Re: [Help setting up - VitaSDK] Error during compilation

Post by robin994 » Thu Aug 04, 2016 9:43 am

dots_tb wrote:Check the permissions of the folder you're compiling in.

Code: Select all

ls -ld
i changed folder's permissions and now i get this
Image

dots_tb
Posts: 28
Joined: Tue Aug 02, 2016 11:00 pm

Re: [Help setting up - VitaSDK] Error during compilation

Post by dots_tb » Thu Aug 04, 2016 10:12 am

The vpk script has not been merged yet.

Get it from here:viewtopic.php?f=116&t=46181&p=406832&hi ... pt#p406832
EDIT: Seems that is the windows version. I think you have to compile it from xepri's toolchain.
https://github.com/xerpi/vita-toolchain
Either that, or comment out the vpk packer line and manually create your own vpk from a zip file.

User avatar
robin994
Posts: 20
Joined: Mon Oct 08, 2012 12:30 pm
Location: Italy

Re: [Help setting up - VitaSDK] Error during compilation

Post by robin994 » Thu Aug 04, 2016 11:19 am

dots_tb wrote:The vpk script has not been merged yet.

Get it from here:viewtopic.php?f=116&t=46181&p=406832&hi ... pt#p406832
EDIT: Seems that is the windows version. I think you have to compile it from xepri's toolchain.
https://github.com/xerpi/vita-toolchain
Either that, or comment out the vpk packer line and manually create your own vpk from a zip file.
what do i need to do to compile xepri's toolchain? ^^" , sorry i'm a total newbie with linux stuffs

Edit: I compiled vita-toolchain using cmake and i put outputs in vitasdk, but still nothing i can't get .vpk after compilation, i only get .velf file

dots_tb
Posts: 28
Joined: Tue Aug 02, 2016 11:00 pm

Re: [Help setting up - VitaSDK] Error during compilation

Post by dots_tb » Thu Aug 04, 2016 3:35 pm

Is it the same error?

Post Reply

Return to “Programming and Security”