compiling vanilla angband on msvc++ 9 express

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • hugh
    replied
    I downloaded the sangband source and tried compiling under dev-cpp and had better luck but there seems to be a 'resource.h' file missing from the downloaded source.

    can anyone verify this???

    seeya.

    Leave a comment:


  • hugh
    replied
    Hey thanks.

    What I meant from robust headers (could'nt remember its name) was 40 errors like this

    Error 628 error C2143: syntax error : missing '{' before '*' c:\program files\microsoft sdks\windows\v6.0a\include\prsht.h 266 angband

    All concerning the prsht header if I do not use precompiled headers in the project options.

    Anyway, I'm gonna go try compiling angband under dev-cpp now (users mingw compiler).
    And see if I cant get it to compile...again.

    Leave a comment:


  • ekolis
    replied
    What do you mean by "robust" headers? The regular .h files? I'm not sure what these instructions are you're referring to, but if they're for VC++ 4/5 then they're probably horribly outdated...

    Last time I compiled Angband in VC++, what I did was this:
    1. Create a new C project with existing sources located in the angband folder.
    2. Remove all the main-??? files from the project EXCEPT main-win. (This is necessary because the others contain platform specific code for other platforms, and you can only have one main anyway.)
    3. Build

    If that's not working, maybe something has changed about the code, or maybe I have some compiler option set differently than you do...

    Leave a comment:


  • takkaria
    replied
    Originally posted by hugh
    Hi all,

    I really would like to mess with angbands vanilla code and have followed the instructions for compiling with msvc++ version 4/5.

    I get this error when I try to build the source...

    Error 1 fatal error C1853: 'Debug\angband.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

    Can any gurus out there possably direct me to a successful compilation?

    anyway, peace and luv fellow rogues.
    I don't know of anyone using msvc++ for the game at the moment. A couple of people who haven't been around for a while have managed it, though. (I think ctate did, you might want to try him.)

    Leave a comment:


  • hugh
    replied
    Thanks for the reply.

    I have tried that but it brings up syntax errors in robust headers.
    So I think Im better off with precompiled headers toggled on.

    But thanks for the suggestion.

    Leave a comment:


  • Nick
    replied
    Originally posted by hugh
    Error 1 fatal error C1853: 'Debug\angband.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    Really just a guess here - you could look through the options and try to turn off using precompiled headers.

    Leave a comment:


  • hugh
    started a topic compiling vanilla angband on msvc++ 9 express

    compiling vanilla angband on msvc++ 9 express

    Hi all,

    I really would like to mess with angbands vanilla code and have followed the instructions for compiling with msvc++ version 4/5.

    I get this error when I try to build the source...

    Error 1 fatal error C1853: 'Debug\angband.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

    Can any gurus out there possably direct me to a successful compilation?

    anyway, peace and luv fellow rogues.
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎