Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29

Thread: I want to start coding

                  
   
  1. #21
    DCEmu Coder drEDN4wt's Avatar
    Join Date
    Aug 2005
    Location
    U.K.
    Posts
    172
    Rep Power
    0

    Default

    try lua on the psp, it doesn't need to be compiled, its basic and using ttlde (notepad editor for lua 1.6 or 1.7) you can write a script and run it in one app.
    you dont even need a pc.

  2. #22
    DCEmu Pro mesosade's Avatar
    Join Date
    May 2006
    Location
    Jersey C.I
    Age
    33
    Posts
    863
    Rep Power
    92

    Default

    ugh coding...i'll just wait for one of those code generators with a point and click front end lol

  3. #23
    DCEmu Regular potatoman's Avatar
    Join Date
    Aug 2006
    Location
    Nowhere and everywhere at the same time...
    Posts
    261
    Rep Power
    70

    Default

    tried it with c mesoade, believe me its a lot more fun and rewarding to learn the language straight up, as im doing now.(used 2 use VB, got boredof the limitations... i like to make things EXACTLY how i like them, VB took too long to understand how to do that. It was good to begin learning, but now... nah. good luck to you distortional and the people in the dev forums are sure to help you if u run into trouble.

  4. #24

    Default

    hey, guys, i'm new too, just wondering.. do you know any good places to learn c?

  5. #25
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Quote Originally Posted by yaustar View Post
    http://parabellumgames.no-ip.org/art...-c-programming

    If you have literally just started programming, I really recommend you don't use the PSP as your first development platform and switch to PC. However, that is just my recommendation. The problem is not learning the language but learning how to use it and how to program and this can take months to years. This will be even harder if you are using a platform such as the PSP which is relatively restictive, getting code from compiling to PSP to test is a lot longer then doing it on the PC, debugging is even more a chore, basically the amount of time you spend not programming is longer. Just mu opinion though.
    .

  6. #26

    Default

    Heh.. I also just started coding today. Can't even get "hello world" to work......pathetic

    Anyone know what this means?

    $ make
    psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local/
    pspdev/psp/sdk/lib main.c -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk
    -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspus
    er -lpspkernel -o hello.elf
    main.c: In function 'main':
    main.c:41: error: syntax error before 'SetupCallbacks'
    make: *** [hello.elf] Error 1


    ^me trying to compile it. I don't know how to fix this problem,

    but it may be refering to the syntax of this line

    thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);

  7. #27
    Banned Vendeta's Avatar
    Join Date
    Oct 2006
    Location
    At my house DUH
    Posts
    687
    Rep Power
    0

    Default

    Quote Originally Posted by cha0ticbliss View Post
    Heh.. I also just started coding today. Can't even get "hello world" to work......pathetic

    Anyone know what this means?

    $ make
    psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local/
    pspdev/psp/sdk/lib main.c -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk
    -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspus
    er -lpspkernel -o hello.elf
    main.c: In function 'main':
    main.c:41: error: syntax error before 'SetupCallbacks'
    make: *** [hello.elf] Error 1


    ^me trying to compile it. I don't know how to fix this problem,

    but it may be refering to the syntax of this line

    thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);

    U did that wrong the hello world app is suposta be like this

    blue = Color.new(0, 0, 255)
    screenrint(200, 130, "Hello World!", blue)
    screen.flip()
    while true do
    screen.waitVblankStart()
    end


    kk that should help ya... If ur in lua....

  8. #28
    DCEmu Coder splodger15's Avatar
    Join Date
    Jun 2006
    Location
    London
    Age
    34
    Posts
    4,123
    Rep Power
    95

    Default

    I think he is doing c++

    PSN ID: splodger15

  9. #29
    Registered User NoQuarter's Avatar
    Join Date
    Dec 2005
    Posts
    2,106
    Rep Power
    0

    Default

    That means you have an error in line 41 of your main file

Page 3 of 3 FirstFirst 123

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
  •