Installing PSPSDK: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
(Created page with " '''PSPSDK''' is a set of tools and libraries designed to let developers compile their own software for the PSP system. The open source implementation of sdk is designed for...")
 
(Correction of the formatting.)
 
Line 11: Line 11:
'''MinPSPW '''is a '''MinGW'''-like port of toolchain binaries for native Windows platform. It is recommended software for Windows platform.
'''MinPSPW '''is a '''MinGW'''-like port of toolchain binaries for native Windows platform. It is recommended software for Windows platform.


: Download installer
* <b>Download installer.</b> Link to MinPSPW project page: http://sourceforge.net/projects/minpspw/ (Version 0.10.0 is recommended because other versions, even newer ones seem to have dependancy errors, 0.10.0 is the most reliable version)


Link to MinPSPW project page: http://sourceforge.net/projects/minpspw/   (Version 0.10.0 is recommended because other versions, even newer ones seem to have dependancy errors, 0.10.0 is the most reliable version)
* <b>Run setup.</b> Simply follow GUI guide, install to <code>C:\pspsdk\</code>, check all options


: Run setup
* <b>Set Environment Variables.</b>
** Go to '''''Control Panel '''''->'' '''System''''' -> '''''Advanced system settings''''' -> '''''Advanced''''' tab -> '''''Environment Variables...'''''
** A window with two tables should pop up. In the first table select '''Path''' and then click '''''Edit...'''''
** In '''''variable value''''' add: <code>;C:\pspsdk\bin</code>. (<i>Please note the semicolon '''; '''at the beginning.</i>)
:: Example variable value:
:: <code>C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Java\jre7\bin<b>;C:\pspsdk\bin</b></code>
* <b>Save settings and log out</b>
** When you log in, open''' Command Prompt (cmd.exe)''', type: '''''psp-gcc''''' and press '''Enter'''.
:: Output should look like this:
:: <code>C:\Users\You>psp-gcc</code>
:: <code>psp-gcc: no input files</code>
* If it does, your <b>PSPSDK toolchain is ready to use</b>!


Simply follow GUI guide, install to C:\pspsdk\, check all options
=== Troubleshooting ===
If you get this message:


: Set Environment Variables
Go to '''''Control Panel '''''->'' '''System''''' -> '''''Advanced system settings''''' -> '''''Advanced''''' tab -> '''''Environment Variables...'''''
A window with two tables should pop up. In the first table select '''Path''' and then click '''''Edit...'''''
In '''''variable value''''' add:
;C:\pspsdk\bin
Please note the semicolon '''; '''at the beginning.
Example variable value:
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Java\jre7\bin;C:\pspsdk\bin
: Save settings and log out
When you log in, open''' Command Prompt (cmd.exe)''', type: '''''psp-gcc''''' and press '''enter'''.
Output should look like this:
  C:\Users\You>psp-gcc
  C:\Users\You>psp-gcc
psp-gcc: no input files
: Your PSPSDK toolchain is ready to use!
Note:
If you get this message,
C:\Users\You>psp-gcc
  'psp-gcc' is not recognized as an internal or external command,operable program or batch file.
  'psp-gcc' is not recognized as an internal or external command,operable program or batch file.
then please verify that '''''psp-gcc.exe '''''resides in '''''C:\pspsdk\bin''''' folder along other programs. If it does, then verify '''''Environmental variables'''''.
then please verify that '''''psp-gcc.exe '''''resides in '''''C:\pspsdk\bin''''' folder along other programs. If it does, then verify '''''Environmental variables'''''.
==Mac==
???

Latest revision as of 19:35, 15 June 2023

PSPSDK is a set of tools and libraries designed to let developers compile their own software for the PSP system.

The open source implementation of sdk is designed for UNIX-like systems, however it is possible to install on Windows operating systems.

Follow this guide to install PSPSDK toolchain on your computer.

Linux[edit | edit source]

psptoolchain.sh; minpspw.deb; content needed

Windows[edit | edit source]

MinPSPW[edit | edit source]

MinPSPW is a MinGW-like port of toolchain binaries for native Windows platform. It is recommended software for Windows platform.

  • Download installer. Link to MinPSPW project page: http://sourceforge.net/projects/minpspw/ (Version 0.10.0 is recommended because other versions, even newer ones seem to have dependancy errors, 0.10.0 is the most reliable version)
  • Run setup. Simply follow GUI guide, install to C:\pspsdk\, check all options
  • Set Environment Variables.
    • Go to Control Panel -> System -> Advanced system settings -> Advanced tab -> Environment Variables...
    • A window with two tables should pop up. In the first table select Path and then click Edit...
    • In variable value add: ;C:\pspsdk\bin. (Please note the semicolon ; at the beginning.)
Example variable value:
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Java\jre7\bin;C:\pspsdk\bin
  • Save settings and log out
    • When you log in, open Command Prompt (cmd.exe), type: psp-gcc and press Enter.
Output should look like this:
C:\Users\You>psp-gcc
psp-gcc: no input files
  • If it does, your PSPSDK toolchain is ready to use!

Troubleshooting[edit | edit source]

If you get this message:

C:\Users\You>psp-gcc
'psp-gcc' is not recognized as an internal or external command,operable program or batch file.

then please verify that psp-gcc.exe resides in C:\pspsdk\bin folder along other programs. If it does, then verify Environmental variables.