Game code problem

Discussion in 'R4 DS' started by jordanlp, Jun 14, 2008.

Jun 14, 2008

Game code problem by jordanlp at 11:10 PM (1,249 Views / 0 Likes) 7 replies

  1. jordanlp
    OP

    Member jordanlp GBAtemp Regular

    Joined:
    Apr 18, 2008
    Messages:
    152
    Country:
    United States
    I created a game using Xtends, and of course i installed DevkitPro, DevkitARM, and PAlib. but when i hit compile I get some kind of code error, though that was on onother computer so i can't post a pic yet, but i will soon. What it basically says that the definition of 'Main' is wrong, saying that the original definition of 'Main' is in all_gfx.h.

    i'll post a picture of it later.

    Can anyone help me?
     
  2. sylux92

    Member sylux92 GBAtemp Fan

    Joined:
    Apr 15, 2007
    Messages:
    445
    Country:
    United States
    all_gfx.h is a header file. Do you have to include that in your program? I have never used Xtends, so I don't know whats required.
     
  3. jordanlp
    OP

    Member jordanlp GBAtemp Regular

    Joined:
    Apr 18, 2008
    Messages:
    152
    Country:
    United States
    i don't know, I don't know any coding, that's why i use xtends
     
  4. krazykirk

    Member krazykirk GBAtemp Fan

    Joined:
    Jul 17, 2007
    Messages:
    399
    Location:
    Australia
    Country:
    Australia
    Um.. why is this in the R4 thread? Shouldn't this be in the ROM development thread?
     
  5. jordanlp
    OP

    Member jordanlp GBAtemp Regular

    Joined:
    Apr 18, 2008
    Messages:
    152
    Country:
    United States
  6. sylux92

    Member sylux92 GBAtemp Fan

    Joined:
    Apr 15, 2007
    Messages:
    445
    Country:
    United States
    I don't know what the problem is, but all_gfx.c is a c/c++ file. Maybe you have to edit something in there?
     
  7. jordanlp
    OP

    Member jordanlp GBAtemp Regular

    Joined:
    Apr 18, 2008
    Messages:
    152
    Country:
    United States
    maybe, but what?
     
  8. jordanlp
    OP

    Member jordanlp GBAtemp Regular

    Joined:
    Apr 18, 2008
    Messages:
    152
    Country:
    United States
    never miind
     

Share This Page