Dump problem (you've probably noticed..)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • will_asher
    DaJAngband Maintainer
    • Apr 2007
    • 1124

    Dump problem (you've probably noticed..)

    I have this set in defines.h:
    /*
    * Name of the version/variant and its version string
    */
    #define VERSION_NAME "DaJAngband"
    #define VERSION_STRING "v1.0.02b, semi-variant based on Vanilla Angband 3.0.9e"

    but it's still labelling my dumps as Angband not DaJangband. It works in the version that's on my site for download, but not in my current compile (after I had to start over). I don't get it.
    Will_Asher
    aka LibraryAdventurer

    My old variant DaJAngband:
    http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
  • konijn_
    Hellband maintainer
    • Jul 2007
    • 367

    #2
    Originally posted by will_asher
    I have this set in defines.h:
    /*
    * Name of the version/variant and its version string
    */
    #define VERSION_NAME "DaJAngband"
    #define VERSION_STRING "v1.0.02b, semi-variant based on Vanilla Angband 3.0.9e"

    but it's still labelling my dumps as Angband not DaJangband. It works in the version that's on my site for download, but not in my current compile (after I had to start over). I don't get it.
    What ever makeflle you use, I would always advise you to do
    make -f<insert makefile> clean
    and then
    make -f<insert makefile> install

    It really looks as if you are using an .o file that was compiled with the previous header file.

    Hope that helps.

    Cheers,
    T.
    * Are you ready for something else ? Hellband 0.8.8 is out! *

    Comment

    • will_asher
      DaJAngband Maintainer
      • Apr 2007
      • 1124

      #3
      Originally posted by konijn_
      What ever makeflle you use, I would always advise you to do
      make -f<insert makefile> clean
      and then
      make -f<insert makefile> install

      It really looks as if you are using an .o file that was compiled with the previous header file.
      I deleted the .o files and recompiled and it worked, thanks.
      I don't know how to use commands like the ones you listed above, I just use DevC++ compiler and tell it to compile in the drop down menu.
      Will_Asher
      aka LibraryAdventurer

      My old variant DaJAngband:
      http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9637

        #4
        Originally posted by will_asher
        I deleted the .o files and recompiled and it worked, thanks.
        I don't know how to use commands like the ones you listed above, I just use DevC++ compiler and tell it to compile in the drop down menu.
        There's probably an option on the menu for clean build or something.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        • kzwix
          Rookie
          • Mar 2009
          • 3

          #5
          There is : Menu "Build" -> "Clean solution" (3rd item). At least, on Visual studio 2005.


          Will, if I may give you a piece of advise, I suggest you learn how to use a command-line shell, and then learn about "GNU make" (google is your friend there, as in a lot of other things). This tool is really great when it comes to defining rules for a project, and compiling only what is needed when it is needed.

          In short, "make" uses a "Makefile" which contains info about which files are used to build other ones. This, you edit yourself. Then, when you run make, it looks only for modified files, and re-builds only if necessary. Thus saving you time. Plus, it automates nicely a whole bunch of tasks, and lets you control things much more than most IDE do.

          Just my 2 cents
          Last edited by kzwix; March 31, 2009, 23:46.

          Comment

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