Visitor Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EdRaSm
    Rookie
    • Nov 2008
    • 1

    Hi, I'm trying to branch out from VB into C and figured why not make it interesting and try to learn some more about Angband at the same time. I have the lastest files from subversion (that could be the problem right there) and the latest code from your site. I'm getting a ton of compile errors that are well over my head. Here they are:

    make -f makefile.win MINGW=yes
    gcc -DWINDOWS -Wall -W -std=iso9899:199409 -pedantic -O2 -I. -c -o borg/borg1.o borg/borg1.c
    borg/borg1.c: In function `borg_update_frame':
    borg/borg1.c:1903: error: structure has no member named `pspeed'
    borg/borg1.c:1936: error: structure has no member named `dis_ac'
    borg/borg1.c:1936: error: structure has no member named `dis_to_a'
    borg/borg1.c: In function `borg_init_1':
    borg/borg1.c:2511: warning: implicit declaration of function `C_MAKE'
    borg/borg1.c:2511: error: syntax error before "char"
    borg/borg1.c:2516: warning: implicit declaration of function `rand_int'
    borg/borg1.c:2525: error: syntax error before "borg_grid"
    borg/borg1.c:2532: warning: implicit declaration of function `MAKE'
    borg/borg1.c:2532: error: syntax error before "borg_data"
    borg/borg1.c:2535: error: syntax error before "borg_data"
    borg/borg1.c:2538: error: syntax error before "borg_data"
    borg/borg1.c:2541: error: syntax error before "borg_data"
    borg/borg1.c:2544: error: syntax error before "borg_data"
    borg/borg1.c:2560: error: syntax error before "byte"
    borg/borg1.c:2561: error: syntax error before "byte"
    borg/borg1.c:2569: error: syntax error before "byte"
    borg/borg1.c:2570: error: syntax error before "byte"
    borg/borg1.c:2575: error: syntax error before "byte"
    borg/borg1.c:2576: error: syntax error before "byte"
    borg/borg1.c:2581: error: syntax error before "int"
    borg/borg1.c:2582: error: syntax error before "int"
    borg/borg1.c:2587: error: syntax error before "byte"
    borg/borg1.c:2592: error: syntax error before "int"
    borg/borg1.c:2593: error: syntax error before "int"
    borg/borg1.c:2598: error: syntax error before "int"
    borg/borg1.c:2599: error: syntax error before "int"
    borg/borg1.c:2604: error: syntax error before "int"
    borg/borg1.c:2605: error: syntax error before "int"
    borg/borg1.c:2614: error: syntax error before "borg_take"
    borg/borg1.c:2635: error: syntax error before "borg_kill"
    borg/borg1.c:2653: error: syntax error before "s16b"
    borg/borg1.c:2656: error: syntax error before "s16b"
    borg/borg1.c:2670: error: structure has no member named `flags1'
    borg/borg1.c:2670: error: `RF1_UNIQUE' undeclared (first use in this function)
    borg/borg1.c:2670: error: (Each undeclared identifier is reported only once
    borg/borg1.c:2670: error: for each function it appears in.)
    make: *** [borg/borg1.o] Error 1

    I'm thinking that I'm missing something major, and hoped maybe you could point me in the right direction?

    Thanks,

    Edward
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎