1.下载pspsdk

https://github.com/pspdev/pspsdk

附录说明:

PSP Software Development KitVersion 1.0+beta2http://www.pspdev.org/IntroductionThe PSP Software Development Kit (PSPSDK) is a collection of Open Source
tools and libraries written for Sony's Playstation Portable (PSP) gaming
console.  It also includes documentation and other resources developers can
use to write software for the PSP.PSPSDK is distributed under a BSD-compatible license, with the exceptionof the files located in tools/PrxEncrypter. The files located in thetools/PrxEncrypter directory are subject to the terms of the GNU GeneralPublic License version 3. See the LICENSE files for more information.FeaturesPSPSDK provides a full set of libraries for creating PSP software:* Stub libraries and headers for interfacing with the PSP operatingsystem, ranging from threading libraries, file io, display driverand wifi networking.* Basic runtime support (crt0) for executables and libraries.* A minimal port of the Standard C Library (libc) is included.  PSPSDK'smini-libc provides portable memory allocation, string formatting, andseveral other Standard C Library functions.* Support code for linking with the full Standard C Library provided withthe PSPDEV toolchain.* An implementation of the libGU graphics library.  libGU provides aninterface to the 2D and 3D hardware acceleration features found in thePSP's Graphic Engine.* An implementation of the libGUM library. libGUM provides an interfacefor manipulating matrices for use in 3D software.* A simple audio library which can be used to play back PCM audio streams.* Support for building static executables and PRX files (relocatablemodules).PSPSDK also includes several tools to assist in building PSP software:* bin2c, bin2o, and bin2s for converting binary files into C source,object files, and assembler source files, respectively.* mksfo for creating PARAM.SFO files.* pack-pbp and unpack-pbp for adding files to and removing files fromEBOOT.PBP.* psp-config for locating PSPDEV tools and libraries.* psp-prxgen for converting specially made ELFs to PRX files.* psp-build-exports for creating export tables* psp-fixup-imports for fixing up import tables post-linking to removeunused functions from the executable.Documentation for the libraries are also provided, and can be found in the
doc/ directory of the PSPSDK source and binary distributions.A library for Make (build.mak) is also included to provide an easy way to
build simple programs and libraries.  See any PSPSDK sample program for
details on how build.mak is used.InstallationPSPSDK is distributed in both source and binary packages.  If you only
want to use the PSPSDK tools and libraries to develop your software you'll
want to grab the binary distribution of PSPSDK specific to your development
platform.  If you need fine-grained control over how PSPSDK is installed on
your system, or if you would like to modify PSPSDK then grab the source
distribution.  You can also install PSPSDK from Subversion, see "Installation
from Subversion" below for details.RequirementsTo use PSPSDK you must have the following software installed:* The PSPDEV Toolchain.  PSPSDK requires the GNU toolchain (GCC andbinutils) targetted to the PSP.  You can find binary packages of thesetools at http://www.pspdev.org/.  You can find a script to build andinstall the toolchain at http://www.oopo.net/consoledev/.In addition to the above requirements, if you plan on building PSPSDK from
source, you will need:* Make.  Note: GNU Make may not be required, but if you run into problemsbuilding from source you may want to install it.  You can find GNU Makeat http://www.gnu.org/software/make/.If you plan on building PSPSDK directly from the Subversion repository you
will need:* A Subversion client.  A popular client for Windows is TortoiseSVN(http://tortoisesvn.tigris.org/).* GNU autotools.  You will need a recent version of autoconf(http://www.gnu.org/software/autoconf/) and automake(http://sourceware.org/automake/).The following packages are not required to build PSPSDK, but are used to
build documentation and other optional resources:* Doxygen.  You can find Doxygen at http://www.stack.nl/~dimitri/doxygen/.If you want to view the pretty source dependency graphs, then you willalso need to install Graphviz (http://www.graphviz.org/).Installation from binaryDownload the PSPSDK binary package specific to your development system.
For example, if you are using Windows, you will want to download the file
pspsdk-1.0-win32.zip.Extract or unzip the package into the folder where the PSPDEV toolchain is
installed.  For example, on a Windows system you may have installed the PSPDEV
toolchain to C:\pspdev.  You would then unzip PSPSDK into C:\pspdev.Update your PATH environment variable to point to the PSPSDK tools
directory.  In the above example, if you installed PSPSDK to C:\pspdev, you
would add C:\pspdev\bin to your PATH.Installation from sourcePSPSDK uses the GNU autotools (autoconf and automake) for its build
system.  To install PSPSDK from a source distribution, run the following
commands after unpacking it:./configuremakemake doxygen-docmake installIf you haven't installed Doxygen or don't want to build the library
documentation, you can skip theInstallation from SubversionPSPSDK can be found in the Subversion repository located at
svn://svn.pspdev.org/psp.  If you are using the command line version of the
Subversion client, you can the following command to download PSPSDK:svn co svn://svn.pspdev.org/psp/trunk/pspsdkOnce you've downloaded PSPSDK, run the following from the pspsdk directory
to create the configure script and support files (you must have autoconf and
automake installed):./bootstrapYou can now run the commands listed in the "Installation from source"
section.Notes* This is a BETA release of PSPSDK.  Some of the features and toolsdescribed here may not be fully implemented.* By default PSPSDK will install into the directory where the PSPDEVtoolchain is installed.  If you decide to install PSPSDK somewhere elsethen you must define a PSPSDK environment variable that points to youralternate directory.  The psp-config build utility will look for PSPSDKin the location specified in the PSPSDK environment variable first, oruse its own location to determine where PSPSDK is installed.* The Makefile templates provided by the sample code are designed forbuilding a single executable or a library, but not both.  If you plan onusing these templates in your project to build both librariesand executables be aware that you will have to structure your project sothat each library and executable are built in a seperate directory.BugsIf you find a bug in PSPSDK, send an e-mail describing the bug to
pspsdk-bugs@lists.ps2dev.org.  If possible, include any code or documentation
that can be used by the PSPSDK developers to recreate the bug.ResourcesMailing Listspspsdk-bugs@lists.ps2dev.orgUse this list to report any bugs you find in PSPSDK.  To subscribe, send anempty e-mail message to pspsdk-bugs-subscribe@lists.ps2dev.org.For a full list of PSP development mailing lists, seehttp://lists.ps2dev.org/.Web Forumshttp://forums.ps2dev.org/The PSP development forums are an excellent place to find out about thelatest PSP homebrew games, demos, and other software.  PSPSDK has it's owndedicated forum titled 'PSPSDK Support and Development'.  Use this forum tofind out about the most recent PSPSDK developments and to ask questionsabout PSPSDK.Subversionsvn://svn.pspdev.org/http://svn.pspdev.org/PSPDEV tools and libraries can be found in the psp/ repository atsvn://svn.pspdev.org/.  PSP homebrew games, demos, and other applicationscan be found in the pspware/ repository located at the same URL.  To viewthe contents of these repositories using a Web browser, visithttp://svn.pspdev.org/.Internet Relay Chat (IRC)The PSPSDK developers can be found hanging out in the #pspdev channelon irc.freenode.net.ThanksThe pspsdk developers wish to thank all the people who have contributedbug fixes, ideas and support for the project.Also big thanks to nem for kicking off PSP development with all his work,the original imports system is based on his work in the hello world demo.

2、下载PSPtoolchain

https://github.com/pspdev/psptoolchain

附录说明:

What does this do?
This program will automatically build and install a compiler and other tools used in the creation of homebrew software for the Sony Playstation Portable handheld videogame system.How do I use it?
Set up your environment by installing the following software:autoconf, automake, bison, flex, gcc, g++/gcc-c++, libusb-dev, make, ncurses, patch, readline, subversion, texinfo, wget, mpc, gmp, libelf, mpfr, git
Set the PSPDEV and PATH environmental variables:export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
The PSPDEV variable is the directory the toolchain will be installed to, change this if you wish. If possible the toolchain script will automatically add these variables to your systems login scripts, otherwise you will need to manually add these variables yourself.Run the toolchain script:./toolchain.sh
UbuntuInstall the required packages by running.sudo apt-get install g++ build-essential autoconf automake automake1.9 cmake doxygen bison flex libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev libmpfr-dev libelf-dev libmpc-dev libfreetype6-dev zlib1g-dev libtool subversion git tcl unzip
Build and install the toolchain and SDK.sudo ./toolchain-sudo.sh
NOTE: If you do not wish for the toolchain to be installed in /usr/local/pspdevthen edit toolchain-sudo.sh and change the INSTALLDIR variable.
OSXInstall port or brew.
Run prepare-mac-os.sh. This will auto-install all the libraries you will need before building.sudo ./prepare-mac-os.sh
Build and install the toolchain and SDK.sudo ./toolchain-sudo.sh
Where do I go from here?
Visit the following sites to learn more:http://www.ps2dev.org http://forums.ps2dev.org

可能遇到问题:

1.

snail@vBox:~/code/5.psptoolchain/psptoolchain-master$ ./toolchain.sh 
Couldn't find dependencies:
  - sdl-config
../depends/check-dependencies.sh: Failed.

解决:

sudo apt-get install libsdl-image1.2-dev

sudo yum install SDL_image-devel.

2.

snail@vBox:~/code/5.psptoolchain/psptoolchain-master$ ./toolchain.sh 
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.

解决:

添加PSPDEV 路径

vim ~/.bashrc

export PSPDEV=$PSPDEV:psptoolchain-master路径

然后执行

sudo ./toolchain-sudo.sh

等待下载、、、

脚本执行完毕,设置环境变量。

psp开发------环境搭建相关推荐

  1. DM368开发 -- 环境搭建

    参看:Getting Started Guide for DM368 DM365 LeopardBoard 参看:DAVINCI DM365-DM368开发攻略--开发环境搭建(DVSDK4.02) ...

  2. DAVINCI DM365-DM368开发攻略——开发环境搭建(DVSDK4.02) 适用于DM3730

    DAVINCI DM365-DM368开发攻略--开发环境搭建(DVSDK4.02) 标签:开发环境 搭建 dvsdk DM368 DM365 原创作品,允许转载,转载时请务必以超链接形式标明文章 原 ...

  3. Android环境搭建和Android HelloWorld—Android开发环境搭建

    Android_Android开发环境搭建-搭建Android的开发环境 1.我考虑先下载JDK7.0,在JDK的安装中,考虑一般SDK都是向上兼容的,于是选择了最高的版本7.0 这里是我总结的详细的 ...

  4. qt工程在linux系统里颜色显示错误_【飞凌嵌入式RK3399开发板试用体验】+QT开发环境搭建测试(二)...

    作者:飞扬的青春 在拿到开发板之后,已经体验了Android操作系统,接下来就是体验Linux下的开发,本次以QT的一个小案例来测试下. 首先是自己先搭建了一个Ubuntu18.04的虚拟机,使用真机 ...

  5. Go:分布式学习利器(1) -- 开发环境搭建 + 运行第一个go程序

    文章目录 为什么要学习 go 开发环境搭建 -- MAC 运行第一个go程序 go 函数的返回值设置 go 函数的命令行参数 为什么要学习 go 在如下几个应用场景的需求下产生了go: 超大规模分布式 ...

  6. 智能合约开发环境搭建及Hello World合约

    如果你对于以太坊智能合约开发还没有概念(本文会假设你已经知道这些概念),建议先阅读入门篇. 就先学习任何编程语言一样,入门的第一个程序都是Hello World.今天我们来一步一步从搭建以太坊智能合约 ...

  7. iPhone开发环境搭建全过程 iPhone手机开发内容,中文手册

    http://3g.edu.csdn.net/kecheng/iphone.html  iPhone手机开发内容 http://www.docin.com/p-34874880.html# iPhon ...

  8. python搭建numpy_python开发环境搭建及numpy基本属性-【老鱼学numpy】

    目的 本节我们将介绍如何搭建python的开发环境以及numpy的基本属性,这样可以检验我们的numpy是否安装正确了. python开发环境的搭建 工欲善其事必先利其器,我用得比较顺手的是Intel ...

  9. windows下pomelo开发环境搭建及JS乱码问题

    from: http://blog.csdn.net/wangqiuyun/article/details/9243263 最近一直在研究node.js这一块,为的就是使用网易的pomelo框架,学习 ...

最新文章

  1. 【Kettle学习笔记】从Hbase导入数据至Mysql
  2. linux ping策略打开_Linux禁止ping以及开启ping的方法
  3. 基于PLSQL的数据库备份方法及如何解决导出clob和blob类型数据报错的问题
  4. Java IO流学习总结二:File
  5. 如何成为一个设计师和程序员混合型人才
  6. 在Ubuntu下成功搭建以太坊私有链挖矿并转账
  7. 自学编程成功概率有多少可能
  8. Mysql 数据库学习笔记03 存储过程
  9. Windows10家庭中文版没有本地策略选项完美解决方案
  10. web.xml配置解释
  11. Python编写的数字拼图游戏(含爬山算法人机对战功能)
  12. oracle数据库同步异步优劣点,ORACLE数据库异步IO介绍
  13. 玲珑杯round11-E:萌萌哒的第五题
  14. 黑马程序员C++学习笔记(第三阶段核心:STL)--- 更新中
  15. 力扣题目系列:204. 计数质数
  16. 用PASS软件完成多组率的样本量计算
  17. 用友华表Cell组件/插件注册
  18. linux抓包工具分析工具下载,Linux下抓包工具tcpdump以及分析包的工具wireshark
  19. 国内最大最专业最活跃的前十大FPGA论坛社区网站精选
  20. pcm5102a解码芯片音质评测_鱼和熊掌兼得——一台可以换芯片的PCM1794解码评测(上)...

热门文章

  1. angular7+ngzorro响应式表单验证
  2. 2019人力资源管理师考试成绩查询发布信息(一周汇总)
  3. Mobx useStrict is not a function
  4. 从5G入网争议,到5G手机的差异化之路
  5. [读书笔记-4] 卓有成效的管理者-用人所长
  6. Go语言实现 ssh scp
  7. 游戏建模都要用到哪些软件?新手最不应该踩的坑有哪些
  8. 从几方面谈计算机专业就业形势
  9. Java 将知乎问题下所有的回答保存到本地
  10. 推荐一个设计头像logo的网站touxianglogo.com