Try to compile C-dogs
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 592 from 2010/2/10
    From: FRANCE
    Hi all,

    I need help....
    I try to compile C-Dogs 0.5.8 (last in SDL 1)
    http://cxong.github.io/cdogs-sdl/

    I use GCC 5.3 with last SDK.
    I compile the game with succes :-) (i disabled all netclient/server)
    I compile with PHYSFS 1.1 (morphos) but in the code, it's using PHYSFS 2.03
    I modify a lot of path and directories.... (force PROGDIR for exemple)

    When i launch it, i have a LogServer window on :

    cdogs.c (function main) : PHYSFS_init(argv[0]);

    I know because i put pause in code just after this code to wait key in shell.

    if (wait) {
    printf("1 Press the enter key to continue...\n");
    getchar();
    }

    then game launch correctly (i show the screen menu of game)

    If you have any idea, i can publish all code with explication if necessary.
    Thanks
    BeWorld


    --------------------------------------------------------------------------------
    07-Avr-17 17:11:18
    Alert 0x0100000F <AN_BadFreeAddr>
    Task 0x28285040 <Shell Process [ C-Dogs ]>
    68k StackTrace:
    [ 0] 0x102c3974 -> <@ABox: Module> Hunk 0 Offset 0x1c3974
    PPC StackTrace:
    [ 0] 0x1010eea4 -> <@ABox: Module> Hunk 0 Offset 0xeea4
    [ 1] 0x1010e864 -> <@ABox: Module> Hunk 0 Offset 0xe864
    [ 2] 0x10117d30 -> <@ABox: Module> Hunk 0 Offset 0x17d30
    [ 3] 0x1010a0ac -> <@ABox: Module> Hunk 0 Offset 0xa0ac
    [ 4] 0x10106b88 -> <@ABox: Module> Hunk 0 Offset 0x6b88
    [ 5] 0x2bf35344 -> <@C-Dogs> Hunk 1 Offset 0x94284
    [ 6] 0x2bf36d54 -> <@C-Dogs> Hunk 1 Offset 0x95c94
    [ 7] 0x2bf17c60 -> <@C-Dogs> Hunk 1 Offset 0x76ba0
    [ 8] 0x2bf0c894 -> <@C-Dogs> Hunk 1 Offset 0x6b7d4
    [ 9] 0x2bf0cb64 -> <@C-Dogs> Hunk 1 Offset 0x6baa4
    [10] 0x2bf43b1c -> <@C-Dogs> Hunk 1 Offset 0xa2a5c


    [ Edité par beworld 07.04.2017 - 17:53 ]
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »07.04.17 - 16:21
    Profile Visit Website