Results 1 to 10 of 10

Thread: Programming in C / C++ for PSP... ?

                  
   
  1. #1
    DCEmu Newbie CT_Bolt's Avatar
    Join Date
    Mar 2006
    Location
    Somewhere in Space
    Posts
    39
    Rep Power
    0

    Question Programming in C / C++ for PSP... ?

    First of all thank you for taking the time to read this:

    Some background Info:
    1. I have been programming for a while now & i recently learned c++.
    2. I've read alot of different things on how to set up a development evironment, but... I can't fully set up anything.


    My questions:
    1. What is the best PSP develoment environment to use?
    2. What all do I need after download/extracting devkitPSP_r8-win32?
    3. How do I set up a good PSP develoment environment?
    Sorry to ask such a repeated question but, no other post was clear enough.

  2. #2
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    33
    Posts
    4,123
    Rep Power
    92

    Default

    Have a look here it tells you how to set up a enviroment


    http://www.psp-programming.com/tutorials/

    PSN ID: splodger15

  3. #3
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    84

    Default

    1. Depends on what you define as best. I prefer the Code::Blocks and DevKitPSP setup (IDE + Compiler). To me, it's the fastest cleanest way to get up and running. There are also various other 'environments' to setup as well.

    2. Either an IDE or Msys which is a minimalist cygwin environment. What isn't recommended but possible is to use batch files to compile source code. You can also download make.exe and use that with makefiles.

    3. Again, it depends on your definition of good. You have the cygwin tutorial as linked by splodger or you can follow my tutorial on using Code::Blocks and DevkitPSP.

    http://www.psp-programming.com/forum...p?topic=1363.0

  4. #4
    DCEmu Newbie CT_Bolt's Avatar
    Join Date
    Mar 2006
    Location
    Somewhere in Space
    Posts
    39
    Rep Power
    0

    Thumbs up Thank You!

    Well I had CYGWIN almost fully setup but, then I got other errors so I wanted to know if there was an easier way.

    Right now I have devkitPSP_r8-win32 & MSYS-1.0.10 downloaded. MSYS is installed but I don't know what to do with devkit.

    Well any way splodger15, yaustar thank you both for your help.:thumbup:

  5. #5
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    33
    Posts
    4,123
    Rep Power
    92

    Default

    No problem

    PSN ID: splodger15

  6. #6
    DCEmu Newbie CT_Bolt's Avatar
    Join Date
    Mar 2006
    Location
    Somewhere in Space
    Posts
    39
    Rep Power
    0

    Question I did it wrong?

    Well I followed the Code::Block tutorial but, I think I did this wrong and now I'm stuck again...
    can anyone tell me what this means I need to do.
    Project : Console application
    Compiler : DevKitPSP (called directly)
    Directory : C:\devkitPSP\bin\Hello World\
    --------------------------------------------------------------------------------
    Switching to target: default
    Compiling: main.c
    Linking console executable: C:\devkitPSP\bin\Hello World\HelloWorld.elf
    c:\devkitpsp\bin\..\lib\gcc\psp\4.1.0\..\..\..\..\ psp\bin\ld.exe: cannot find -lpspdebug
    collect2: ld returned 1 exit status
    Process terminated with status 1 (0 minutes, 0 seconds)
    1 errors, 0 warnings
    aw man... I am really sorry about this.

  7. #7
    PSP Coder MikeDX's Avatar
    Join Date
    Dec 2005
    Location
    UK
    Age
    48
    Posts
    1,029
    Rep Power
    74

    Default

    edit your msys.bat file

    and under the line that says

    if "%1" == "GOTO:" goto %2

    add these 3 lines

    SET PATH=c:\devkitpro\devkitpsp\bin;%PATH%
    SET PSPSDK=/c/devkitpro/devkitpsp/psp/sdk
    SET PSPDIR=/c/devkitpro/devkitpsp/psp

    assuming you installed to /c/devkitpro...
    Find yourself some ebay spelling mistake bargains!
    Use the power of the TYPING WAND! |Free PSP ISOs to download

    Pick of the google street views! Including topless girls

    Proud owner of a Nintendo Wii!
    PSP1. Black Jap 1000K: 1.5 -> 2.71SE-A -> 2.71SE-B -> 2.71SE-B' -> 2.71SE-B''
    PSP2. Black "non worker" from ebay: 2.6 (?) -> 2.71 -> 1.5 -> 2.71SE-B -> 2.71SE-B'
    PSP3: Black "Broken UMD Drive" UK 1003 2.0 -> 1.5 -> 2.71SE-B -> 2.71SE-B'
    Do you have a bricked psp?

  8. #8
    DCEmu Newbie CT_Bolt's Avatar
    Join Date
    Mar 2006
    Location
    Somewhere in Space
    Posts
    39
    Rep Power
    0

    Talking Thank you all so much!

    THANK YOU MikeDX, I now have msys 1.0 working and making eboots.

    AND THANK YOU again yaustar, splodger15 for taking the time to help me.


    :thumbup: :thumbup:

  9. #9
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    33
    Posts
    4,123
    Rep Power
    92

    Default

    ^ ^
    No Problem

    PSN ID: splodger15

  10. #10
    PSP Coder MikeDX's Avatar
    Join Date
    Dec 2005
    Location
    UK
    Age
    48
    Posts
    1,029
    Rep Power
    74

    Default

    Well done mate, it's cool when you make your first eboot!

    If you want any psp dev help let me know
    Find yourself some ebay spelling mistake bargains!
    Use the power of the TYPING WAND! |Free PSP ISOs to download

    Pick of the google street views! Including topless girls

    Proud owner of a Nintendo Wii!
    PSP1. Black Jap 1000K: 1.5 -> 2.71SE-A -> 2.71SE-B -> 2.71SE-B' -> 2.71SE-B''
    PSP2. Black "non worker" from ebay: 2.6 (?) -> 2.71 -> 1.5 -> 2.71SE-B -> 2.71SE-B'
    PSP3: Black "Broken UMD Drive" UK 1003 2.0 -> 1.5 -> 2.71SE-B -> 2.71SE-B'
    Do you have a bricked psp?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •