PSP IDE (Developement Environment)
PSP IDE (Developement Environment)
Ok, I am a little stressed out and hope this is the correct forum to post this on.
I am in need of a Development Environment for coding on the PSP. I have done many tutorials and such, and know the basics. The thing is, I want to have a IDE to code in and do all the compiling from one program, Code:Blocks is the current one I have been fiddling around with. But I keep getting errors when trying to compile my code.
Can any one help me setup my IDE or refer me to a better IDE to work with that will work with cygwin.
Thanks
I am in need of a Development Environment for coding on the PSP. I have done many tutorials and such, and know the basics. The thing is, I want to have a IDE to code in and do all the compiling from one program, Code:Blocks is the current one I have been fiddling around with. But I keep getting errors when trying to compile my code.
Can any one help me setup my IDE or refer me to a better IDE to work with that will work with cygwin.
Thanks
code::blocks works perfectly for me.
you can have a look at this thread:
http://forums.ps2dev.org/viewtopic.php? ... 5dc4380a2b
you can have a look at this thread:
http://forums.ps2dev.org/viewtopic.php? ... 5dc4380a2b
--pspZorba--
NO to K1.5 !
NO to K1.5 !
Here's my method of using the psp toolchain with Code::Blocks.
http://forums.ps2dev.org/viewtopic.php?t=10319
http://forums.ps2dev.org/viewtopic.php?t=10319
thanks for the replies.
I used the first one so far, thanks.
I decided to give it a test at running a old hello world app I made a while ago. But it didn't compile.
Screenshot:
http://picboost.com/images/2008/July/2/ ... rectly.JPG
I used the first one so far, thanks.
I decided to give it a test at running a old hello world app I made a while ago. But it didn't compile.
Screenshot:
http://picboost.com/images/2008/July/2/ ... rectly.JPG
Microsoft's Visual Studio Express is free even for commercial application and Heimdall's toolchain comes with a wizard installer for VS, too. NetBeans 6.0 allow development of c++ code and automaGically detects installed toolchains (for psp a little tweaking is needed...nothing more than turning "g++" into "psp-g++" around in configs)
I'm still using Dev C++. Theres a U3/Portable Apps version that I use to code away from home.
But Code::Blocks looks like its newer/better.
In any case Dec C++ is extremely easy to setup.
You only need to configure the paths to the libraries and includes.
Heres a guide I saved. (Click on Request Ticket to download) Open the MHT file in Internet Explorer.
http://ifile.it/ma2ut1p/pspsdk_with_dev_c__.php_.mht
But Code::Blocks looks like its newer/better.
In any case Dec C++ is extremely easy to setup.
You only need to configure the paths to the libraries and includes.
Heres a guide I saved. (Click on Request Ticket to download) Open the MHT file in Internet Explorer.
http://ifile.it/ma2ut1p/pspsdk_with_dev_c__.php_.mht
i believe u r not including the header files or the psp libs properly
thats why its giving tht "undefined reference to ........"
check ur makefile.
i use eclipse on my linux machine.
thats why its giving tht "undefined reference to ........"
check ur makefile.
i use eclipse on my linux machine.
My blog : http://montamer.blogspot.com
my makefile contains the following:
Code: Select all
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World by Tyler SUllivan
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
-
- Posts: 30
- Joined: Sat Apr 05, 2008 5:53 am
- Location: Germany -> Hessen -> Hanau
- Contact:
Hey thanks for the replies.
I will not use Eclipse, I have used it in the past and a lot of people don't like it either.
If I compile it in cygwin it's self, it compiles fine, with no problems. It outputs the elf file and eboot file along with a few others. I ran the eboot plenty of times before, it works I know it does.
I removed cygwin along with the pspsdk and psptoolchain, oh boy, does that take hours to do it manually. I am doing a fresh install using the following guide:
http://hyde.90megs.com/tutorials/devccygwin.htm
Hopefully it will work.
I will not use Eclipse, I have used it in the past and a lot of people don't like it either.
If I compile it in cygwin it's self, it compiles fine, with no problems. It outputs the elf file and eboot file along with a few others. I ran the eboot plenty of times before, it works I know it does.
I removed cygwin along with the pspsdk and psptoolchain, oh boy, does that take hours to do it manually. I am doing a fresh install using the following guide:
http://hyde.90megs.com/tutorials/devccygwin.htm
Hopefully it will work.
Hi Sullivan,
I assume that If you do 'make' in the directory where your makefile is, it compiles correctly.
in codeblock you will create a new set of global compiler settings
1) Settings=>compiler and debugger
you should have a new window in the field named "selected compiler"
select 'Cygwin GCC compiler'
then use the 'copy' button which is just under, you are asked to give a name.
put something like 'Cygwin GCC-PSP' or whatever you want then 'OK'.
2) select the tab 'Toolchain executables'
in the field 'compiler's installation directory' set the path to the compiler
for me it is 'D:\cygwin\usr\local\pspdev\bin'
3) then fill the fields below with :
C-compiler => psp-gcc.exe
C++ compiler => psp-g++.exe
linker for dyn... =>psp-g++.exe
linker for stat... =>psp-ar.exe
debugger psp => gdb.exe
Resource complier => mksfo.exe
and the most important:
Make program => make.exe
than you click 'OK'
the environment is setup
now to create a project:
1) File => new =>project
2) double click on icon "empty project"
3) file the fields ... do 'next'
4) a new window appears, select the compiler you have created above ( 'Cygwin GCC-PSP')
5) then 'finish'
NOW STEP VERY IMPORTANT:
6) right click on the project name (left window of codeblock) select properties
on the first tab (project settings) click on "this is a custom makefile"
That will tell to codeblock to use make and your makefile
then ok
last step:
7) right click on the project name, select Add Files to add your files .h .c or cpp AND the makefile
now if you build the project that should work.
FYI the creation of projects can be automated in using custom projects, for that RTFM.
I assume that If you do 'make' in the directory where your makefile is, it compiles correctly.
in codeblock you will create a new set of global compiler settings
1) Settings=>compiler and debugger
you should have a new window in the field named "selected compiler"
select 'Cygwin GCC compiler'
then use the 'copy' button which is just under, you are asked to give a name.
put something like 'Cygwin GCC-PSP' or whatever you want then 'OK'.
2) select the tab 'Toolchain executables'
in the field 'compiler's installation directory' set the path to the compiler
for me it is 'D:\cygwin\usr\local\pspdev\bin'
3) then fill the fields below with :
C-compiler => psp-gcc.exe
C++ compiler => psp-g++.exe
linker for dyn... =>psp-g++.exe
linker for stat... =>psp-ar.exe
debugger psp => gdb.exe
Resource complier => mksfo.exe
and the most important:
Make program => make.exe
than you click 'OK'
the environment is setup
now to create a project:
1) File => new =>project
2) double click on icon "empty project"
3) file the fields ... do 'next'
4) a new window appears, select the compiler you have created above ( 'Cygwin GCC-PSP')
5) then 'finish'
NOW STEP VERY IMPORTANT:
6) right click on the project name (left window of codeblock) select properties
on the first tab (project settings) click on "this is a custom makefile"
That will tell to codeblock to use make and your makefile
then ok
last step:
7) right click on the project name, select Add Files to add your files .h .c or cpp AND the makefile
now if you build the project that should work.
FYI the creation of projects can be automated in using custom projects, for that RTFM.
--pspZorba--
NO to K1.5 !
NO to K1.5 !
Microsoft Visual Studio as PSPSDK IDE...
jean wrote:Microsoft's Visual Studio Express is free even for commercial application and Heimdall's toolchain comes with a wizard installer for VS, too.
Yup, you're right and i've tried it.
Here's the following step i've done:
1. Create a new "Makefile Project"
2. On the "Makefile Appication Wizard" dialog, click "Next" or "Debug Configuration Settings" and set the following fields:
Build command line = make
Clean commands = make clean
Rebuild command line = make clean && make
3. On "Release Configuration Settings", just check "Same as debug configuration" box.
4. To add your codes, copy them to the project folder, where the .vcproj is located and add through Microsoft Visual Studio Solution Explorer. make sure that your makefile is included.
Now you should be able to build your project ;)
This method might be found useful for those who prefer Microsoft Visual Studio as their IDE.
In Code::Blocks, its very useful to set up yourself a Custom User Project Template, so you dont have to set up everything whenever you create a new psp project.
If you want, I can send you my code::blocks windows psp project template, which requires minimum configuration (one line) to work on another system ;)
If you want, I can send you my code::blocks windows psp project template, which requires minimum configuration (one line) to work on another system ;)
...sorry for my english...
Ya I know, I have my SDK setup in Xcode 3.1 using platforms :D it is really cool, everything works natively, since all I did was follow the same structure as the iPhone SDK. But a PSP specific one would be nice as I cant seem to tell Xcode to use a different GDB and if I could get it to hook up to psp-gdb then that would be legit. THe main reason for the bump was that awesome pic, just had to use it :P
Code: Select all
.øOº'ºOø.
'ºOo.oOº'