Please help with Katana SDK

Discussion in 'Sega Dreamcast Development and Research' started by Avanaboy, Jun 19, 2011.

  1. Avanaboy

    Avanaboy Spirited Member

    Joined:
    Jun 10, 2011
    Messages:
    166
    Likes Received:
    2
    Hi , I'm trying to compile some Samples with Katana r10 SDK.
    I'm using CodeWarrior IDE.
    The problem is that seems that CW can't find the Libs folder , because it give Linking errors :banghead:
    I've tried to configure the ide , but I can't find any linker options menu ...

    Anybody can set me to the right way ? thanks !:thumbsup:

    EDIT: I've uploaded an image of the errors :
    [​IMG]
     
    Last edited: Jun 19, 2011
  2. Dreamcast

    Dreamcast Intrepid Member

    Joined:
    Jul 17, 2007
    Messages:
    619
    Likes Received:
    35
    You don't have to use CW to build the samples. I'm not familiar with CW's interface, so I can't offer help there.

    If you want to compile them without CW, from the command line, make sure you run the setpaths batch file, then navigate to the example's directory and type "make."
     
  3. Avanaboy

    Avanaboy Spirited Member

    Joined:
    Jun 10, 2011
    Messages:
    166
    Likes Received:
    2
    I'm tring to do this too , but when I run make , it says that it cant find "shc.exe" ... please can u help me ? I've already ran setpath.bat :DOH:

    EDIT: I've found shc.exe in the HITACHI dir ... mmm ... I'm going to modify setpath.bat in order to use that path ... cross the finger !

    EDIT 2 : WOOOOOW I GOT IT !!!! :D
    I've add the HITACHI sub folder to my PATH and it works !! I compiled and linket successfully an ELF file ;)

    Uhm , sorry for this stupid question , but what is the best dc emu to test elf files ? :rolleyes:
     
    Last edited: Jun 19, 2011
  4. Dreamcast

    Dreamcast Intrepid Member

    Joined:
    Jul 17, 2007
    Messages:
    619
    Likes Received:
    35
    NullDC, but you won't be able to run them directly. You'll have to convert the ELF to a BIN, then make a selfboot CDI and run that (at least, that's what I have to do).

    Here's the command for converting the ELF using elf2bin found in the SDK:

    C:\KATANA\Utl\Dev\Hitachi\elf2bin.exe -s 8C010000 C:\1st_read.elf
     
    Last edited: Jun 19, 2011
  5. Avanaboy

    Avanaboy Spirited Member

    Joined:
    Jun 10, 2011
    Messages:
    166
    Likes Received:
    2
    Uhm thank you , but what is this number ? is it the Stack Entry point ?
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page