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

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

Post by robin994 » Thu Aug 04, 2016 6:03 pm

dots_tb wrote:
robin994 wrote:
dots_tb wrote:So when you compiled it, it installed the binaries to the $VITASDK/bin folder right?
no, it doesn't ... maybe i'm doing sometihng bad during the compilation
Does it at least generate the binaries into the src folder?
i'm using prebuilt vita-toolchain , i have them (i took them from here
Prebuilt vita-toolchain )
i'm just trying to compile vpk related binary coz when i'm trying to compile , compilator says it can't use them

Edit: no, it doesn't
Advertising

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 6:14 pm

Wait are you trying to compile the toolchain or the sample app right now? You need to compile the xepri's toolchain to get the vita-pack-vpk because it was not merged into the source in which the prebuilt is compiled from. You compile the vita-pack-vpk with your host system compilers, not the toolchain. When you compile the vita-pack-vpk, it should add it to the toolchain/$VITASDK's bin folder thus making it an accessible command. If it compiles and doesn't add it to the bin folder of the toolchain, you have to copy it manually. Then the compiler error will stop on the sample app.

EDIT: Oh, does cmake spit out any errors? Check the root folder where the src folder is contained.
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 » Thu Aug 04, 2016 7:26 pm

CMake doesn't show any errors when i try to compile vita toolchain. Anyway let's do a little review XD, i'm trying to compile samples, but when i do it , it shows an error (missing vita vpk etc), now i'm trying to compile them using cmake, but cmake doesn't compile the bins XD. now i'm so thankful for your help , but i think if you can and you want give me a little more of your time, we can have a fast interview on teamviewer,i bet that in 5 minutes and the problem will be solved xD

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:44 pm

Sorry, I can't do that at the moment :/, Have you tried just putting it directly into gcc?

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 7:53 pm

dots_tb wrote:Sorry, I can't do that at the moment :/, Have you tried just putting it directly into gcc?
it's okay ;) ...
i was trying that right now

Edit:
i'm an idiot xD (is there a way to make it blink XD?

Into the forum there was a link to precompiled vita-pack-vpk :
https://mega.nz/#!3c9jiayJ!bzuxrSPXcCcq ... W3RdYdMzA4

when you put it into bin's folder you need to give it the permissions to be executed or it won't work

thanks to everybody for your help, if one day you come in italy, you have a beer/coffee paid ;)

Post Reply

Return to “Programming and Security”