Code Monkey home page Code Monkey logo

vdpm's Introduction

Vitadev Package manager

VDPM is a project which aims on getting common libraries building for the PS Vita using the vitasdk toolchain. It was based off the original idea of xerpi's vita_portlibs.

Usage

Getting started

You should make sure you have the patch command installed.

Mac & Linux

First install cmake, you can get this from Homebrew on Mac (brew install cmake), and from your distro's package manager on Linux (on ubuntu: sudo apt-get install cmake).

git clone https://github.com/vitasdk/vdpm
cd vdpm
./bootstrap-vitasdk.sh
export VITASDK=/usr/local/vitasdk # define $VITASDK if you haven't already
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH if you haven't already
./install-all.sh

Windows (Bash on Ubuntu on Windows)

Just follow the steps for Linux above. This is the recommended way to set up vdpm on Windows, however, it only works for Windows 10.

Read here for information on how to install Bash on Ubuntu on Windows: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide

Windows (msys2)

For older versions of Windows, you should use msys2. Get it from here: https://msys2.github.io/. Only 64-bit version is supported.

# Read through https://msys2.github.io/ and make sure your msys2 is up-to-date first
pacman -S make git wget p7zip tar cmake
git clone https://github.com/vitasdk/vdpm
cd vdpm
./bootstrap-vitasdk.sh
export VITASDK=/usr/local/vitasdk # define $VITASDK if you haven't already
export PATH=$VITASDK/bin:$PATH # add vitasdk tool to $PATH if you haven't already
./install-all.sh

Update/reinstall

Run ./vitasdk-update which will replace files in $VITASDK with the latest nightly and libraries.

Known Issues

  • The scripts that are used to install the required packages make use of Wget to download the required files. Some of the required files are downloaded from SourceForge which redirects you to one of their mirror sites automatically. Wget handles this by default, however, if you (or your System Administrator) have a Wget Startup File in use it's possible to have settings in that file which will cause the downloads to fail, especially when using redirection from hosts such as SourceForge. If the installation isn't working for you and you notice that it's giving your errors about missing files try temporarily removing/renaming the Wget Startup File to see if that fixes the issue.

Contributing

Contributions are welcome to both the package repo, documentation or the package manager itself.

License

LGPL v2.1 or later.

vdpm's People

Contributors

arroadie avatar coderobe avatar cpasjuste avatar cxziaho avatar d3m3vilurr avatar devnoname120 avatar dos1 avatar drakonpl avatar frangarcj avatar hybrideidolon avatar jdek avatar lourinaldi avatar melon-bread avatar oleg-derevenetz avatar palaster avatar pathway27 avatar pharap avatar rinnegatamante avatar rsn8887 avatar scribam avatar sharkwouter avatar slipoke avatar sonicmastr avatar theofficialflow avatar usineur avatar xerpi avatar xyzz avatar yifanlu avatar yne avatar z1ni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vdpm's Issues

./install-all.sh find vdpm_install... No such file or directory

I'm not sure if that's by design or if this actually is an issue?

find: ‘/tmp/vdpm_install_libmad’: No such file or directory
which is then repeated for literally every entry with find

find: ‘/tmp/vdpm_install_pib’: No such file or directory
Installing pib...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 13 59808   13  8271    0     0   8930      0  0:00:06 --:--:--  0:00:06  8930include/
include/pib.h
include/EGL/
include/KHR/
include/GLES2/
include/GLES2/gl2platform.h
include/GLES2/gl2.h
include/GLES2/gl2ext.h
include/KHR/khrplatform.h
include/EGL/eglplatform.h
include/EGL/egl.h
include/EGL/eglext.h
100 59808  100 59808    0     0  54514      0  0:00:01  0:00:01 --:--:--  296k
lib/
lib/libpib.a
success

With that said, it seems like the script worked for me, but each line that had find like in the example No such file or directory

Not sure if that's expected or an actual bug?

Is there a way to use the arm-vita-eabi-gcc compiler with arm64 (M1 mac)?

When trying to compile the HelloWorld sample, I get the following message:

The C compiler
"/Users/myuser/vitasdk/bin/arm-vita-eabi-gcc"
is not able to compile a simple test program.

...

Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libzstd.1.dylib' (no such file)

Is it even possible to use the compiler with arm64?

Invalid hostname error while running bootstrap-vitasdk.sh

Trying to install on macOS 11.0 beta.

The script failed and the output:

sudo ./bootstrap-vitasdk.sh
==> Installing vitasdk to /usr/local/vitasdk
http://: invalid hostname.
Please add the following to the bottom of your .bashrc:
export VITASDK=/usr/local/vitasdk
export PATH=$VITASDK/bin:$PATH
and then restart your terminal

No additional error information output so I'm not sure what had caused this.

Unable to install VitaSDK on windows. xz format error

I get output like below on msys2

Kernel@LAPTOP-E2D08E94 MSYS ~
$ pacman -Su make git cmake tar mingw64/mingw-w64-x86_64-libwinpthread-git
:: Starting core system upgrade...
 何も行うことがありません
:: システム全体の更新を開始...
依存関係を解決しています...
衝突するパッケージがないか確認しています...

パッケージ (43) db-5.3.28-2  expat-2.2.5-1  gdbm-1.11-3  heimdal-1.5.3-9
                jsoncpp-1.8.3-1  libgdbm-1.11-3  librhash-1.3.6-1
                libuv-1.19.1-1  openssh-7.6p1-2  perl-5.24.4-1
                perl-Authen-SASL-2.16-2  perl-Convert-BinHex-1.125-1
                perl-Encode-Locale-1.05-1  perl-Error-0.17025-1
                perl-File-Listing-6.04-2  perl-HTML-Parser-3.72-2
                perl-HTML-Tagset-3.20-2  perl-HTTP-Cookies-6.04-1
                perl-HTTP-Daemon-6.01-2  perl-HTTP-Date-6.02-2
                perl-HTTP-Message-6.14-1  perl-HTTP-Negotiate-6.01-2
                perl-IO-Socket-SSL-2.054-1  perl-IO-stringy-2.111-1
                perl-LWP-MediaTypes-6.02-2  perl-MIME-tools-5.509-1
                perl-MailTools-2.20-1  perl-Net-HTTP-6.17-1
                perl-Net-SMTP-SSL-1.04-1  perl-Net-SSLeay-1.84-1
                perl-TermReadKey-2.37-2  perl-TimeDate-2.30-2
                perl-Try-Tiny-0.30-1  perl-URI-1.73-1
                perl-WWW-RobotRules-6.02-2  perl-libwww-6.31-2
                pkg-config-0.29.2-1  vim-8.1.0022-1  cmake-3.10.2-1
                git-2.17.1-1  make-4.2.1-1
                mingw-w64-x86_64-libwinpthread-git-6.0.0.5134.2416de71-1
                tar-1.30-1

合計ダウンロード容量:   32.89 MiB
合計インストール容量:  154.54 MiB

:: インストールを行いますか? [Y/n] y
:: パッケージを取得します...
 mingw-w64-x86_64-li...    39.7 KiB  3.23M/s 00:00 [#####################] 100%
 make-4.2.1-1-x86_64      414.8 KiB   821K/s 00:01 [#####################] 100%
 expat-2.2.5-1-x86_64      38.1 KiB  9.29M/s 00:00 [#####################] 100%
 vim-8.1.0022-1-x86_64      6.6 MiB  4.15M/s 00:02 [#####################] 100%
 heimdal-1.5.3-9-x86_64   546.6 KiB  4.56M/s 00:00 [#####################] 100%
 openssh-7.6p1-2-x86_64   679.6 KiB  2.02M/s 00:00 [#####################] 100%
 db-5.3.28-2-x86_64        41.7 KiB   375K/s 00:00 [#####################] 100%
 libgdbm-1.11-3-x86_64     20.4 KiB  3.31M/s 00:00 [#####################] 100%
 gdbm-1.11-3-x86_64       108.5 KiB  8.83M/s 00:00 [#####################] 100%
 perl-5.24.4-1-x86_64      12.6 MiB  5.05M/s 00:03 [#####################] 100%
 perl-Error-0.17025-...    31.7 KiB  31.0M/s 00:00 [#####################] 100%
 perl-Authen-SASL-2....    42.4 KiB  8.28M/s 00:00 [#####################] 100%
 perl-Encode-Locale-...    24.3 KiB  0.00B/s 00:00 [#####################] 100%
 perl-HTTP-Date-6.02...     8.6 KiB  0.00B/s 00:00 [#####################] 100%
 perl-File-Listing-6...     7.7 KiB  0.00B/s 00:00 [#####################] 100%
 perl-HTML-Tagset-3....    10.3 KiB  0.00B/s 00:00 [#####################] 100%
 perl-HTML-Parser-3....    91.3 KiB  89.1M/s 00:00 [#####################] 100%
 perl-LWP-MediaTypes...    18.0 KiB  0.00B/s 00:00 [#####################] 100%
 perl-URI-1.73-1-any       90.7 KiB  6.33M/s 00:00 [#####################] 100%
 perl-HTTP-Message-6...    86.5 KiB  7.04M/s 00:00 [#####################] 100%
 perl-HTTP-Cookies-6...    34.5 KiB  4.82M/s 00:00 [#####################] 100%
 perl-HTTP-Daemon-6....    14.2 KiB  13.9M/s 00:00 [#####################] 100%
 perl-HTTP-Negotiate...    11.4 KiB  11.2M/s 00:00 [#####################] 100%
 perl-Net-HTTP-6.17-...    36.2 KiB  11.8M/s 00:00 [#####################] 100%
 perl-WWW-RobotRules...    12.2 KiB  0.00B/s 00:00 [#####################] 100%
 perl-Try-Tiny-0.30-...    32.0 KiB  15.6M/s 00:00 [#####################] 100%
 perl-libwww-6.31-2-any   138.9 KiB   827K/s 00:00 [#####################] 100%
 perl-TimeDate-2.30-...    35.9 KiB  11.7M/s 00:00 [#####################] 100%
 perl-MailTools-2.20...    74.9 KiB  8.13M/s 00:00 [#####################] 100%
 perl-IO-stringy-2.1...    52.6 KiB  10.3M/s 00:00 [#####################] 100%
 perl-Convert-BinHex...    42.8 KiB  20.9M/s 00:00 [#####################] 100%
 perl-MIME-tools-5.5...   194.9 KiB  1133K/s 00:00 [#####################] 100%
 perl-Net-SSLeay-1.8...   219.0 KiB  1319K/s 00:00 [#####################] 100%
 perl-IO-Socket-SSL-...   147.9 KiB  5.56M/s 00:00 [#####################] 100%
 perl-Net-SMTP-SSL-1...    18.4 KiB  0.00B/s 00:00 [#####################] 100%
 perl-TermReadKey-2....    33.3 KiB  4.64M/s 00:00 [#####################] 100%
 git-2.17.1-1-x86_64        4.9 MiB  3.87M/s 00:01 [#####################] 100%
 jsoncpp-1.8.3-1-any      112.6 KiB  7.86M/s 00:00 [#####################] 100%
 librhash-1.3.6-1-x86_64   87.6 KiB  2.59M/s 00:00 [#####################] 100%
 libuv-1.19.1-1-x86_64     95.5 KiB  6.22M/s 00:00 [#####################] 100%
 pkg-config-0.29.2-1...   185.7 KiB  6.72M/s 00:00 [#####################] 100%
 cmake-3.10.2-1-x86_64      4.2 MiB  4.09M/s 00:01 [#####################] 100%
 tar-1.30-1-x86_64        736.8 KiB   606K/s 00:01 [#####################] 100%
(43/43) キーリングのキーを確認                     [#####################] 100%
(43/43) パッケージの整合性をチェック               [#####################] 100%
(43/43) パッケージファイルのロード                 [#####################] 100%
(43/43) ファイルの衝突をチェック                   [#####################] 100%
(43/43) 空き容量を確認                             [#####################] 100%
:: パッケージの変更を処理しています...
( 1/43) インストール make                          [#####################] 100%
( 2/43) インストール expat                         [#####################] 100%
( 3/43) インストール vim                           [#####################] 100%
( 4/43) インストール heimdal                       [#####################] 100%
( 5/43) インストール openssh                       [#####################] 100%
( 6/43) インストール db                            [#####################] 100%
( 7/43) インストール libgdbm                       [#####################] 100%
( 8/43) インストール gdbm                          [#####################] 100%
( 9/43) インストール perl                          [#####################] 100%
(10/43) インストール perl-Error                    [#####################] 100%
(11/43) インストール perl-Authen-SASL              [#####################] 100%
(12/43) インストール perl-Encode-Locale            [#####################] 100%
(13/43) インストール perl-HTTP-Date                [#####################] 100%
(14/43) インストール perl-File-Listing             [#####################] 100%
(15/43) インストール perl-HTML-Tagset              [#####################] 100%
(16/43) インストール perl-HTML-Parser              [#####################] 100%
(17/43) インストール perl-LWP-MediaTypes           [#####################] 100%
(18/43) インストール perl-URI                      [#####################] 100%
(19/43) インストール perl-HTTP-Message             [#####################] 100%
(20/43) インストール perl-HTTP-Cookies             [#####################] 100%
(21/43) インストール perl-HTTP-Daemon              [#####################] 100%
(22/43) インストール perl-HTTP-Negotiate           [#####################] 100%
(23/43) インストール perl-Net-HTTP                 [#####################] 100%
(24/43) インストール perl-WWW-RobotRules           [#####################] 100%
(25/43) インストール perl-Try-Tiny                 [#####################] 100%
(26/43) インストール perl-libwww                   [#####################] 100%
perl-libwww の提案パッケージ
    perl-LWP-Protocol-HTTPS: for https:// url schemes
(27/43) インストール perl-TimeDate                 [#####################] 100%
(28/43) インストール perl-MailTools                [#####################] 100%
(29/43) インストール perl-IO-stringy               [#####################] 100%
(30/43) インストール perl-Convert-BinHex           [#####################] 100%
module test... pass.
(31/43) インストール perl-MIME-tools               [#####################] 100%
(32/43) インストール perl-Net-SSLeay               [#####################] 100%
(33/43) インストール perl-IO-Socket-SSL            [#####################] 100%
(34/43) インストール perl-Net-SMTP-SSL             [#####################] 100%
(35/43) インストール perl-TermReadKey              [#####################] 100%
(36/43) インストール git                           [#####################] 100%
git の提案パッケージ
    python2: various helper scripts
    subversion: git svn
(37/43) インストール jsoncpp                       [#####################] 100%
JsonCpp headers and build libraries are now in jsoncpp-devel.
(38/43) インストール librhash                      [#####################] 100%
(39/43) インストール libuv                         [#####################] 100%
(40/43) インストール pkg-config                    [#####################] 100%
(41/43) インストール cmake                         [#####################] 100%
(42/43) インストール tar                           [#####################] 100%
(43/43) インストール mingw-w64-x86_64-libwinpt...  [#####################] 100%

Kernel@LAPTOP-E2D08E94 MSYS ~
$ pacman -Su python
:: Starting core system upgrade...
 何も行うことがありません
:: システム全体の更新を開始...
依存関係を解決しています...
衝突するパッケージがないか確認しています...

パッケージ (2) mpdecimal-2.4.2-2  python-3.6.2-1

合計ダウンロード容量:  13.86 MiB
合計インストール容量:  97.90 MiB

:: インストールを行いますか? [Y/n] y
:: パッケージを取得します...
 mpdecimal-2.4.2-2-x...    86.7 KiB   519K/s 00:00 [#####################] 100%
 python-3.6.2-1-x86_64     13.8 MiB  4.42M/s 00:03 [#####################] 100%
(2/2) キーリングのキーを確認                       [#####################] 100%
(2/2) パッケージの整合性をチェック                 [#####################] 100%
(2/2) パッケージファイルのロード                   [#####################] 100%
(2/2) ファイルの衝突をチェック                     [#####################] 100%
(2/2) 空き容量を確認                               [#####################] 100%
:: パッケージの変更を処理しています...
(1/2) インストール mpdecimal                       [#####################] 100%
(2/2) インストール python                          [#####################] 100%

Kernel@LAPTOP-E2D08E94 MSYS ~
$ git clone https://github.com/vitasdk/vdpm
Cloning into 'vdpm'...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 622 (delta 1), reused 1 (delta 0), pack-reused 617
Receiving objects: 100% (622/622), 98.77 KiB | 648.00 KiB/s, done.
Resolving deltas: 100% (367/367), done.

Kernel@LAPTOP-E2D08E94 MSYS ~
$ cd vdpm

Kernel@LAPTOP-E2D08E94 MSYS ~/vdpm
$ ./bootstrap-vitasdk.sh
==> Installing vitasdk to /usr/local/vitasdk
--2020-02-09 16:31:40--  https://github.com/vitasdk/autobuilds/releases/download/master-win-v1096/vitasdk-x86_64-w64-mingw32-2020-02-02_04-14-41.tar.bz2
github.com (github.com) をDNSに問いあわせています... 52.192.72.89
github.com (github.com)|52.192.72.89|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: https://github-production-release-asset-2e65be.s3.amazonaws.com/72642202/76231e00-454e-11ea-873a-54fc461d06db?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200209T073141Z&X-Amz-Expires=300&X-Amz-Signature=307f1217c748cfc1ae5d90d703f247e691c66f3b2e030b38f8011c00625eff90&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dvitasdk-x86_64-w64-mingw32-2020-02-02_04-14-41.tar.bz2&response-content-type=application%2Foctet-stream [続く]
--2020-02-09 16:31:41--  https://github-production-release-asset-2e65be.s3.amazonaws.com/72642202/76231e00-454e-11ea-873a-54fc461d06db?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200209T073141Z&X-Amz-Expires=300&X-Amz-Signature=307f1217c748cfc1ae5d90d703f247e691c66f3b2e030b38f8011c00625eff90&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dvitasdk-x86_64-w64-mingw32-2020-02-02_04-14-41.tar.bz2&response-content-type=application%2Foctet-stream
github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com) をDNSに問いあわせています... 52.216.86.51
github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.86.51|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 48554829 (46M) [application/octet-stream]
`STDOUT' に保存中

-                   100%[===================>]  46.30M  2.55MB/s 時間 28s

2020-02-09 16:32:09 (1.66 MB/s) - stdout へ出力完了 [48554829/48554829]

Please add the following to the bottom of your .bashrc:
export VITASDK=/usr/local/vitasdk
export PATH=$VITASDK/bin:$PATH
and then restart your terminal

Kernel@LAPTOP-E2D08E94 MSYS ~/vdpm
$ export VITASDK=/usr/local/vitasdk

Kernel@LAPTOP-E2D08E94 MSYS ~/vdpm
$ export PATH=$VITASDK/bin:$PATH

Kernel@LAPTOP-E2D08E94 MSYS ~/vdpm
$ ./install-all.sh
Installing zlib...
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Failed to install, the package probably does not exist.


Add ARMHF architecture compatability

Some users use ARM processor devices (ARM and also ARM64) , but the gcc functionality associated with the build scripts will not allow them to compile Vita-compatible programs on these devices. Even simple C test programs fail to pass the build process (running cmake) in this use case. This would be very useful for developing on the go, and on e.g. Rasberry Pi machines.

Add Windows install script

Since CMake is now the preferred way to build homebrews, it's possible to develop on Windows using only native tools.

For this reason, I think that we should provide a Powershell or Batch script to install the vitasdk for Windows.

Line 4 and Line 21 curl command not found

Hey Guys,
i'm trying to install the vitasdk but cannot succeed.
i made the steps from the installation tutorial on linux (ubuntu) but everytime when i want to install the toolchain it ends up with the curl command not found line 4 at ./bootstrap-vitasdk.sh and at ./install-all.sh it is the line 21
Followed this Guide:
https://vitasdk.org/

i made some screenshots for you Guys... can you guide me to success and tell me what i'm doing wrong?
Bildschirmfoto vom 2020-01-18 20-34-12
Bildschirmfoto vom 2020-01-18 20-36-13
Bildschirmfoto vom 2020-01-18 20-37-16

EDIT:
tried with sudo -E but the same error
Bildschirmfoto vom 2020-01-18 20-50-39

game build error

arm-vita-eabi/lib\libvitaGL.a(framebuffers.o) uses VFP register arguments

Yet another "./install-all.sh" issue (sorry!)

Alright, alright, I understand that this issue has been brought up a million times. However, I am an absolute idiot. I have no understanding of what I am doing in the installation process for vitasdk. Please could somebody explain to me in a way that takes into account my goldfish-brain and more or less just requires me to copy/paste something into my ubuntu terminal, why it is that when I type:

./install-all.sh

I get the message:

find: /tmp/vdpm_install_zlib: No such file or directory
Installing zlib...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  3 69432    3  2249    0     0   2987      0  0:00:23 --:--:--  0:00:23  2987tar: /usr/local/vitasdk/arm-vita-eabi: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
 37 69432   37 25870    0     0  33423      0  0:00:02 --:--:--  0:00:02 1098k
curl: (23) Failure writing output to destination

Failed to install, the package probably does not exist.

Plus, how do I fix it.

Whoever has the patience to respond to this stupid rehash of a question is a literal saint, and I will let you be the godfather/godmother to my first born child.

Thank you. (Also yes, I have looked at #89, and I still don't get it.)

ELF not found , when trying to cmake the hello world sample

Howdy
so i successfuly installed vdpm , added the it to $PATH
and i cloned the samples to try and test it

so far i did cmake .

this is the output

nekomimi@pavilion:~/samples/hello_world$ cmake .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc - broken
CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/usr/local/vitasdk/bin/arm-vita-eabi-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/nekomimi/samples/hello_world/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/gmake cmTC_8d88c/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_8d88c.dir/build.make CMakeFiles/cmTC_8d88c.dir/build
    gmake[1]: Entering directory '/home/nekomimi/samples/hello_world/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_8d88c.dir/testCCompiler.c.obj
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc   -Wl,-q  -o CMakeFiles/cmTC_8d88c.dir/testCCompiler.c.obj -c /home/nekomimi/samples/hello_world/CMakeFiles/CMakeTmp/testCCompiler.c
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc: 1: �ELF: not found
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc: 3: Syntax error: Unterminated quoted string
    gmake[1]: *** [CMakeFiles/cmTC_8d88c.dir/build.make:85: CMakeFiles/cmTC_8d88c.dir/testCCompiler.c.obj] Error 2
    gmake[1]: Leaving directory '/home/nekomimi/samples/hello_world/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:140: cmTC_8d88c/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:18 (project)


-- Configuring incomplete, errors occurred!
See also "/home/nekomimi/samples/hello_world/CMakeFiles/CMakeOutput.log".
See also "/home/nekomimi/samples/hello_world/CMakeFiles/CMakeError.log".

Having trouble installing VitaSDK

So I've been following the tutorial below to install VitaSDK:
https://www.se7ensins.com/forums/threads/how-to-setup-a-psvita-sdk-environment.1570814/

Once I get to step 5, I entered "cp config.sample config", which gave me this error:
cp: cannot stat 'config.sample': No such file or directory

So I decided to skip that step and go to the next one, which is to enter "./bootstrap-vitasdk.sh".
Entering that gives me this error:
-bash: ./bootstrap-vitasdk.sh: No such file or directory

What am I doing wrong?

Vita SDK Compiling Question

I followed the instructions to install vidasdk, but for some reason, vdpm isn't installing libvita2d. when I try to compile something, it errors at this portion, not sure why. is there a specific place this is supposed to go?

./install-all.sh "No such file or directory".

Hello, I'm having trouble installing VitaSDK. I keep getting the following error:

TheManWithPants@DESKTOP-MGII148 MINGW64 ~/vdpm
$ ./install-all.sh
/home/TheManWithPants/vdpm/include/install-packages.sh: line 110: /home/TheMan: No such file or directory
Anyone have any ideas on how to fix this?

Unknown hostname in cURL run on OS X

Appearently, the shell method to get the proper download URL does not work as expected :)

[email protected] ~/W/G/vdpm $ sudo bash -x ./bootstrap-vitasdk.sh 
+ set -e
+++ dirname ./bootstrap-vitasdk.sh
++ cd .
++ pwd
+ DIR=/Users/Ingwie/Work/Git/vdpm
+ INSTALLDIR=/usr/local/vitasdk
+ . /Users/Ingwie/Work/Git/vdpm/include/install-vitasdk.sh
+ '[' -d /usr/local/vitasdk ']'
+ echo '==> Installing vitasdk to /usr/local/vitasdk'
==> Installing vitasdk to /usr/local/vitasdk
+ install_vitasdk /usr/local/vitasdk
+ INSTALLDIR=/usr/local/vitasdk
+ case "$(uname -s)" in
++ uname -s
+ mkdir -p /usr/local/vitasdk
++ get_download_link osx
++ curl https://api.github.com/repos/vitasdk/autobuilds/releases
++ grep master
++ grep browser_download_url
++ grep osx
++ head -n 1
++ cut -d '"' -f 4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  115k  100  115k    0     0   127k      0 --:--:-- --:--:-- --:--:--  127k
+ wget -O vitasdk-nightly.tar.bz2 ''
http://: Ungültiger Hostname.

("Ungültiger Hostname" -> "Invalid hostname")

Maybe you could patch this? I have a Vita and VitaTV and would like to fool around with them! :)

Building enso from source fails at kernal.c

I'm trying to build henkaku enso from source and running make keeps giving me this error:

[  4%] Building C object CMakeFiles/emmc_helper.dir/src/kernel.c.obj
In file included from /Users/kou/Downloads/enso-1.1/installer/src/kernel.c:10:
/usr/local/vitasdk/arm-vita-eabi/include/libk/stdarg.h:17:25: error: conflicting types for 'va_list'
   17 | typedef _PDCLIB_va_list va_list;
      |                         ^~~~~~~
In file included from /usr/local/vitasdk/arm-vita-eabi/include/psp2kern/kernel/debug.h:12,
                 from /usr/local/vitasdk/arm-vita-eabi/include/psp2kern/kernel/sysmem.h:10,
                 from /Users/kou/Downloads/enso-1.1/installer/src/kernel.c:5:
/usr/local/vitasdk/lib/gcc/arm-vita-eabi/10.1.0/include/stdarg.h:99:24: note: previous declaration of 'va_list' was here
   99 | typedef __gnuc_va_list va_list;
      |                        ^~~~~~~
make[2]: *** [CMakeFiles/emmc_helper.dir/src/kernel.c.obj] Error 1
make[1]: *** [CMakeFiles/emmc_helper.dir/all] Error 2
make: *** [all] Error 2

I'm not sure if this is the right place to post this issue, but it seems to be some kind of naming issue with the va_list in the different kernal.c files. Any help would be greatly appreciated!

./install-all.sh fileformat error

share/doc/lame/html/cbr.html
success
Installing fmmpeg...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 1862 0 --:--:-- --:--:-- --:--:-- 1840
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Failed to install, the package probably does not exist.

i cant compile a project

$ cmake ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.6.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/local/vitasdk/bin/arm-vita-eabi-gcc" is not able to
compile a simple test program.

It fails with the following output:

Change Dir: /home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_540af/fast"

/usr/bin/make -f CMakeFiles/cmTC_540af.dir/build.make
CMakeFiles/cmTC_540af.dir/build

make[1]:
进入目录“/home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeTmp”

Building C object CMakeFiles/cmTC_540af.dir/testCCompiler.c.obj

/usr/local/vitasdk/bin/arm-vita-eabi-gcc -Wl,-q -o
CMakeFiles/cmTC_540af.dir/testCCompiler.c.obj -c
/home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeTmp/testCCompiler.c

make[1]: ***
[CMakeFiles/cmTC_540af.dir/build.make:66:CMakeFiles/cmTC_540af.dir/testCCompiler.c.obj]
错误 127

make[1]:
离开目录“/home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeTmp”

make: *** [Makefile:126:cmTC_540af/fast] 错误 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:13 (project)

-- Configuring incomplete, errors occurred!
See also "/home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeOutput.log".
See also "/home/KING/psvproj/VitaShell/build/CMakeFiles/CMakeError.log".

freetype pkg is broken

it installs to /usr/local/vitasdk/arm-vita-eabi/usr/local/vitasdk/arm-vita-eabi/lib/libfreetype.a

Error 2

Log :
$ cmake ../
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for ctype.h
-- Looking for ctype.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Configuring done
CMake Error at CMakeLists.txt:40 (add_executable):
Cannot find source file:

substitute/lib/hook-functions.c

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

CMake Error: CMake can not determine linker language for target: taihen
CMake Error: Cannot determine link language for target "taihen".
-- Generating done
-- Build files have been written to: /c/Users/Wykt/Desktop/Project/taiHEN-master/build

$ make
Scanning dependencies of target taihenparser
[ 14%] Building C object taihen-parser/src/CMakeFiles/taihenparser.dir/lexer.c.obj
[ 28%] Building C object taihen-parser/src/CMakeFiles/taihenparser.dir/parser.c.obj
[ 42%] Linking C static library libtaihenparser.a
[ 42%] Built target taihenparser
Scanning dependencies of target taihen
make[2]: *** Aucune règle pour fabriquer la cible « CMakeFiles/taihen.dir/build ». Arrêt.
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/taihen.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I use mingw64
Sorry, im a noob xd

$VITASDK is not set

when I type "./install-all.sh" it return -> $VITASDK is not set

How can I set it?

I was trying with:
export VITASDK=/usr/local/vitasdk
and
export PATH=$VITASDK/bin:$PATH
sem titulo

msys2 errors on running ./bootstrap-vitasdk.sh

$ ./bootstrap-vitasdk.sh
==> Installing vitasdk to /usr/local/vitasdk
/home/Noire/vdpm/include/install-vitasdk.sh: line 4: python: command not found
http://: Invalid host name.

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: No error
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Error is not recoverable: exiting now

install-all.sh fail at fftw

Hello, I'm trying to install the vita sdk using the instructions provided on the Vita SDK website when I use the ./install-all.sh script it fail at fftw installation and this error is reported:
Installing fftw... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 12 0 --:--:-- --:--:-- --:--:-- 12 xz: (stdin): unknown file format tar: Child returned status 1 tar: Error is not recoverable: exiting now
I also tried to use the vdpm fftw but is the same it seems that fftw is not available for download 'cause I tried to download it by hand without success. Can anyone help me ?

error on vitasdk update

Installing vita-rss-libdl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9 100 9 0 0 26 0 --:--:-- --:--:-- --:--:-- 27
xz: (stdin): Unrecognized file format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Failed to install, the package probably does not exist.

lots of undefined references

using this as a workflow

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: setup dependencies
        run: sudo apt-get install -y make cmake
      - name: setup vitaSDK
        run: |
          export VITASDK=/usr/local/vitasdk && export PATH=$VITASDK/bin:$PATH && git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh && ./install-all.sh
      - name: build
        run: |
          export VITASDK=/usr/local/vitasdk && export PATH=$VITASDK/bin:$PATH && cd psvita && cmake .&& make && dir

throws a lot od undefined references errors

This is the output:

-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/runner/work/Terri-Fried/Terri-Fried/psvita
[ 12%] Building CXX object CMakeFiles/Terri-Fried.dir/src/main.cpp.obj
[ 25%] Building CXX object CMakeFiles/Terri-Fried.dir/src/player.cpp.obj
[ 37%] Building CXX object CMakeFiles/Terri-Fried.dir/src/platform.cpp.obj
[ 50%] Linking CXX executable Terri-Fried
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_init_internal.part.0':
(.text+0x7e0): undefined reference to `sceSharedFbClose'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: (.text+0x7f0): undefined reference to `_sceSharedFbOpen'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: (.text+0x806): undefined reference to `sceSharedFbGetInfo'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_init':
(.text+0x8de): undefined reference to `sceAppMgrGetBudgetInfo'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_init_advanced':
(.text+0x988): undefined reference to `sceAppMgrGetBudgetInfo'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_init_advanced_with_msaa':
(.text+0xa32): undefined reference to `sceAppMgrGetBudgetInfo'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_fini':
(.text+0xc84): undefined reference to `sceSharedFbEnd'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: (.text+0xc8a): undefined reference to `sceSharedFbClose'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: (.text+0xc96): undefined reference to `sceSharedFbBegin'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_start_drawing':
(.text+0xdbe): undefined reference to `sceSharedFbBegin'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_start_drawing_advanced':
(.text+0xea8): undefined reference to `sceSharedFbBegin'
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld: /usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/lib/libvita2d.a(vita2d.o): in function `vita2d_swap_buffers':
(.text+0xd18): undefined reference to `sceSharedFbEnd'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Terri-Fried.dir/build.make:129: Terri-Fried] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/Terri-Fried.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Error: Process completed with exit code 2.```

Signal 13 error when trying to to run ./bootstrap-vitasdk.sh

I have tried renaming the ".wget-hsts" in the home directory and also installed "python2" and "python-is-python3" since "python" doesn't exist. Not sure what to try next.

Here are my logs from running ./boostrap-vitasdk.sh:

`==> Installing vitasdk to /usr/local/vitasdk
/usr/bin/curl
tar (grandchild): bzip2: Cannot exec: No such file or directory
tar (grandchild): Error is not recoverable: exiting now
--2023-07-10 20:12:28-- https://github.com/vitasdk/autobuilds/releases/download/master-linux-v2.501/vitasdk-x86_64-linux-gnu-2023-07-08_12-37-05.tar.bz2
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/72642202/c7d282ed-8fbf-43e0-b13b-9c9d5b542245?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230711T011044Z&X-Amz-Expires=300&X-Amz-Signature=237654ea3e37e5ba58214f4de8a9c836c4c8f744397c20d5754fe2d42c090345&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72642202&response-content-disposition=attachment%3B%20filename%3Dvitasdk-x86_64-linux-gnu-2023-07-08_12-37-05.tar.bz2&response-content-type=application%2Foctet-stream [following]
--2023-07-10 20:12:28-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/72642202/c7d282ed-8fbf-43e0-b13b-9c9d5b542245?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230711T011044Z&X-Amz-Expires=300&X-Amz-Signature=237654ea3e37e5ba58214f4de8a9c836c4c8f744397c20d5754fe2d42c090345&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72642202&response-content-disposition=attachment%3B%20filename%3Dvitasdk-x86_64-linux-gnu-2023-07-08_12-37-05.tar.bz2&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 99276168 (95M) [application/octet-stream]
Saving to: ‘STDOUT’

  •                       0%[                                    ]       0  --.-KB/s               tar: Child died with signal 13
    

tar: Error is not recoverable: exiting now

  •                       0%[                                    ]  14.80K  --.-KB/s    in 0.01s
    

Cannot write to ‘-’ (Success).`

arm-vita-eabi-gcc/g++ does seem to not find standard C/C++ libaries

I've tried to compile Lua Player Plus Vita by Rinnegatamante. After managing to get over with no utils.h and no lua.hpp (which I still don't know if will work, because everything I did was change to #include </usr/local/include/luajit-2.0/lua.hpp>), but after seeing such communicate:

arm-vita-eabi-g++ -fno-lto -g -Wl,-q -O3 -DWANT_FASTWAV -DHAVE_LIBSPEEXDSP -DHAVE_LIBSNDFILE -DHAVE_MPG123 -DWANT_FMMIDI=1 -DWANT_FASTAIFF -DUSE_AUDIO_RESAMPLER -DHAVE_OGGVORBIS -DHAVE_OPUSFILE -DSQLITE_OS_OTHER=1 -DSQLITE_TEMP_STORE=3 -DSQLITE_THREADSAFE=0 -fno-exceptions -std=gnu++11 -fpermissive   -c -o source/luaVideo.o source/luaVideo.cpp
source/luaVideo.cpp:25:10: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
          ^~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'source/luaVideo.o' failed
make: *** [source/luaVideo.o] Error 1

I've run out of ideas.
For some reason I tried compiling ctrl from samples and I saw:

[ 12%] Building C object CMakeFiles/ctrl_sample.dir/src/main.c.obj
/home/x/tmp/samples/ctrl/src/main.c:1:10: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
          ^~~~~~~~~
compilation terminated.
CMakeFiles/ctrl_sample.dir/build.make:62: recipe for target 'CMakeFiles/ctrl_sample.dir/src/main.c.obj' failed
make[2]: *** [CMakeFiles/ctrl_sample.dir/src/main.c.obj] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/ctrl_sample.dir/all' failed
make[1]: *** [CMakeFiles/ctrl_sample.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I was using latest vitasdk form commit 2587b93c4b87f2d871efe9410edb0e1afaaff813

OS: Ubuntu 18.04.2 LTS (Xubuntu 18.04)
Kernel: Linux x 4.15.0-45-generic

Compilation failing on ARM (both macOS and Debian container)

Looks like I can install VitaSDK using all the provided scripts and following the instructions.
But every time I try a "cmake ." it fails to compile the test program.

I'm on M1, is it possible to have a release on autobuild for arm macOS?
(not sure if it would solve the problem though)
I also tried on a debian container and it fails compiling the test program.

root@b89ca405054d:/build/samples/hello_world# cmake .
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/usr/local/vitasdk/bin/arm-vita-eabi-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /build/samples/hello_world/CMakeFiles/CMakeTmp
    
    Run Build Command:"/usr/bin/make" "cmTC_9b445/fast"
    /usr/bin/make -f CMakeFiles/cmTC_9b445.dir/build.make CMakeFiles/cmTC_9b445.dir/build
    make[1]: Entering directory '/build/samples/hello_world/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_9b445.dir/testCCompiler.c.obj
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc   -Wl,-q    -o CMakeFiles/cmTC_9b445.dir/testCCompiler.c.obj   -c /build/samples/hello_world/CMakeFiles/CMakeTmp/testCCompiler.c
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc: 1: /usr/local/vitasdk/bin/arm-vita-eabi-gcc: ELF: not found
    /usr/local/vitasdk/bin/arm-vita-eabi-gcc: 3: /usr/local/vitasdk/bin/arm-vita-eabi-gcc: Syntax error: Unterminated quoted string
    make[1]: *** [CMakeFiles/cmTC_9b445.dir/build.make:66: CMakeFiles/cmTC_9b445.dir/testCCompiler.c.obj] Error 2
    make[1]: Leaving directory '/build/samples/hello_world/CMakeFiles/CMakeTmp'
    make: *** [Makefile:121: cmTC_9b445/fast] Error 2
 
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:18 (project)

-- Configuring incomplete, errors occurred!
See also "/build/samples/hello_world/CMakeFiles/CMakeOutput.log".
See also "/build/samples/hello_world/CMakeFiles/CMakeError.log".

pkg-config files prefix

Currently, there's a bug in .pc files provided by packages in that, that their prefix line points to vitasdk path on build machine, which is not always true for end-users, and one of such examples are vitasdk docker image.

One of proposals was to create additional step in vdpm to automagically replace prefix line to path pointed by $VITASDK in package .pc files after installation.

Library archives corrupted

It appears most, if not all, of the library files hosted on http://dl.vitasdk.org/ are corrupted. When trying to download and install the sdk, every time I run install-all.sh, it errors with zlib stating "Unexpected EFO in archive". Manually downloading every tar.xz file and trying to extract shows this problem is with other files as well.

When looking at the file list, it shows most of them were updated May 3rd just after midnight, but some are 0-length files. Did something go wrong or someone malicious actor manage to trick an update with broken files?

install-all.sh fails on libmad

Since yesterday, I'm getting this error when running the default vita sdk setup:

  ./bootstrap-vitasdk.sh
  ./install-all.sh

then I get...

[.....]
find: ‘/tmp/vdpm_install_libmad’: No such file or directory
Installing libmad...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0    104      0 --:--:-- --:--:-- --:--:--   104
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Failed to install, the package probably does not exist.
Error: Process completed with exit code 1.

typo "ffmpeg"

in install_all.sh it typo "fmmpeg" so it download failed

Some packages cannot be decompressed

some software packages can't be decompressed on MAC OS. I also tried gnu-tar and some desktop decompressors, but all received some error info.

Installing sdl2 for example, error message:

$ vdpm sdl2
Installing sdl2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
5 300k 5 15428 0 0 10163 0 0:00:30 0:00:01 0:00:29 10156x include/
x include/SDL2/
x include/SDL2/SDL_pixels.h
x include/SDL2/SDL_test_random.h
x include/SDL2/SDL_revision.h
x include/SDL2/SDL_test_crc32.h
x include/SDL2/SDL_test_md5.h
x include/SDL2/SDL_filesystem.h
x include/SDL2/SDL_config_wiz.h
x include/SDL2/SDL_config_winrt.h
x include/SDL2/SDL_gamecontroller.h
x include/SDL2/SDL_mutex.h
x include/SDL2/SDL_config_minimal.h
x include/SDL2/SDL_surface.h
x include/SDL2/SDL_egl.h
x include/SDL2/SDL_atomic.h
x include/SDL2/SDL_hints.h
18 300k 18 55412 0 0 21636 0 0:00:14 0:00:02 0:00:12 21628
x include/SDL2/SDL_joystick.h
x include/SDL2/SDL_test_fuzzer.h
x include/SDL2/SDL_copying.h
x include/SDL2/SDL_timer.h
x include/SDL2/SDL_assert.h
x include/SDL2/SDL_touch.h
x include/SDL2/SDL_test_harness.h
x include/SDL2/SDL_config.h
x include/SDL2/SDL_opengles2_gl2ext.h
x include/SDL2/SDL_test_font.h
x include/SDL2/SDL_test_log.h
x include/SDL2/SDL_cpuinfo.h
x include/SDL2/SDL_test_memory.h
x include/SDL2/SDL_opengles.h
x include/SDL2/SDL_stdinc.h
x include/SDL2/SDL_config_android.h
x include/SDL2/SDL_endian.h
x include/SDL2/SDL_log.h
x include/SDL2/SDL_thread.h
x include/SDL2/SDL_quit.h
x include/SDL2/SDL_test_images.h
x include/SDL2/SDL_test_common.h
x include/SDL2/SDL_opengles2.h
x include/SDL2/SDL_system.h
x include/SDL2/SDL_rwops.h
x include/SDL2/SDL_scancode.h
x include/SDL2/SDL_error.h
x include/SDL2/SDL_config_psp.h
x include/SDL2/SDL_blendmode.h
x include/SDL2/SDL_main.h
x include/SDL2/SDL_gesture.h
x include/SDL2/close_code.h
x include/SDL2/SDL_syswm.h
x include/SDL2/SDL.h
x include/SDL2/SDL_config_pandora.h
x include/SDL2/SDL_config_macosx.h
x include/SDL2/SDL_name.h
x include/SDL2/SDL_config_os2.h
x include/SDL2/SDL_mouse.h
x include/SDL2/begin_code.h
36 300k 36 109k 0 0 32336 0 0:00:09 0:00:03 0:00:06 32327
x include/SDL2/SDL_opengles2_khrplatform.h
x include/SDL2/SDL_test.h
x include/SDL2/SDL_metal.h
x include/SDL2/SDL_locale.h
x include/SDL2/SDL_bits.h
x include/SDL2/SDL_opengles2_gl2.h
x include/SDL2/SDL_opengles2_gl2platform.h
63 300k 63 189k 0 0 43133 0 0:00:07 0:00:04 0:00:03 43123
x include/SDL2/SDL_sensor.h
x include/SDL2/SDL_misc.h
x include/SDL2/SDL_loadso.h
x include/SDL2/SDL_version.h
x include/SDL2/SDL_audio.h
x include/SDL2/SDL_types.h
x include/SDL2/SDL_test_compare.h
x include/SDL2/SDL_keyboard.h
x include/SDL2/SDL_render.h
x include/SDL2/SDL_rect.h
x include/SDL2/SDL_haptic.h
x include/SDL2/SDL_platform.h
x include/SDL2/SDL_messagebox.h
x include/SDL2/SDL_power.h
x include/SDL2/SDL_events.h
x include/SDL2/SDL_config_vita.h
x include/SDL2/SDL_video.h
x include/SDL2/SDL_vulkan.h
x include/SDL2/SDL_test_assert.h
x include/SDL2/SDL_shape.h
x include/SDL2/SDL_config_windows.h
x include/SDL2/SDL_clipboard.h
x include/SDL2/SDL_keycode.h
x lib/
100 300k 100 300k 0 0 40093 0 0:00:07 0:00:07 --:--:-- 46549
: Lzma library error: No progress is possible
tar: Error exit delayed from previous errors.
Failed to install, the package probably does not exist.

VITASDK not set in macOS Catalina Error

So I tried following the steps on MacOS Catalina 10.15.1(19B88)(Dev-beta). I did add the lines
export VITASDK=/usr/local/vitasdk export PATH=$VITASDK/bin:$PATH
bashrc setup

at the end of .bashrc as prompted by the terminal
pls add vitasdk temp prompt
and tried running the the following commands as shown in the screenshots and yet nothing seems to work. It still says I haven't set the path.

terminal commands

Failing on hostname [Linux]

vdpm$ ./bootstrap-vitasdk.sh
==> Installing vitasdk to /usr/local/vitasdk
/usr/bin/curl
/home/username/vdpm/include/install-vitasdk.sh: line 4: python: command not found
http://: Invalid host name.

Host seems to be down...

Make vdpm be quiet

I am setting up Topgrade on my systems and two of them have the VitaSDK (and others) installed - using topgrade to keep them up to date is really neat. Unfortunately, vdpm is super noisy. :)

Would it be possible to make it silent - or at least only output "Installing somepackage" instead of the whole curl/untar outputs?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.