[HENkaku]vitaアプリコンパイル方法 | メモ帳

メモ帳

当ブログに掲載事項を弐次配布・複写・無断転載等は、厳禁。確認次第通報致します。
Any copying, reproduction, or use of any materials in this page is strictly prohibited without my written permission.


Copyright © 2010-2019 by yusk5497hnd. All Rights Reserved.
当ブログに掲載事項を弐次配布・複写・無断転載等は、厳禁。確認次第通報致します。
Any copying, reproduction, or use of any materials in this page is strictly prohibited without my written permission.
※当記事に記載内容の真偽は、記事作成者は判断致しません。記事記載内容を実行し発生した損害の保証は、記事作成者は一切保証致しません。
※The author of this article will not determine the authenticity of this article. The author of the article does not guarantee the damage caused by executing the contents of the article.

 

初回は、msys2(64bit) / msys2(32bit) をインストール

 

MSYS2 MinGW 64-bit移動して、
$ pacman -Su make git cmake tar mingw64/mingw-w64-x86_64-libwinpthread-git

$ pacman -Su make git wget p7zip tar cmake

 

MSYS2 MinGWを閉じ、msys64\home\[username]\.bashrc をnotepad++等で開き、最後の行に

export VITASDK=/usr/local/vitasdk
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH を追加上書き保存

MSYS2 MinGWを起動を開き、

$ git clone https://github.com/vitasdk/vdpm
$ cd vdpm
$ ./bootstrap-vitasdk.sh
$ ./install-all.sh


追記 2019/10/25
$ ./bootstrap-vitasdk.sh でエラー出る場合、コンテンツ不足の可能性有り。
Ubuntu 19.10では、curlが不足していたので、

$ sudo apt install curl を実行。
msys2 では、pythonが不足していたので、

$ pacman -S python を実行。

2回目以降

MSYS2 MinGWを起動 CMakeLists.txtの有る所に、移動して

mkdir build && cd build && cmake .. && make

成功したらbuildの中にある

VitaShellのメモ

$ cd VitaShell/modules/kernel && mkdir build && cd build && cmake .. && make install

$ cd ../../user && mkdir build && cd build && cmake .. && make install

$ cd ../../.. 

$ mkdir build && cd build && cmake .. && make

 

VitaShell/modules/kernel

VitaShell/modules/user で

$ mkdir build && cd build && cmake .. && make install

VitaShellで

$ mkdir build && cd build && cmake .. && make
 

参考リンク
https://vitasdk.org/
https://blog.apolo1192.net/archives/become-a-vita-developer-using-vita-sdk.html
 

msys更新コマンド

pacman --needed -Sy zsh pacman pacman-mirrors msys2-runtime

pacman -Syuu

pacman -Sy pacman

https://qiita.com/k-takata/items/373ec7f23d5d7541f982
https://qiita.com/azk0305/items/a546da060f3ab8d6a8bf
 

注意事項