Author Topic: Anyone successful build Angband with Codeblocks or Visual Studio 2016  (Read 10851 times)

Nekoninja

  • Newcomer
  • Posts: 34
  • Karma: +0/-0
    • View Profile
I am not sure if this is the right place to post my question. Does anyone ever successful build Angband with Codeblocks 16.0 and / or Visual Studio 2016? I want to learn how to build this game myself, rather having someone build it and post it on internet.
Bow to me, your evil programmer or I will destroy the internet with my 'delete' button!

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
If you had read compiling.txt provided with the source code you would have noticed there are instructions on how to set up a project with Visual Studio or compile using gcc (mingw). Angband is programmed in linux so they use plain text editors and then something called 'makefile' to build the project. They don't use a IDE in linux so that's why separate instructions for Visual Studio (which do look a bit complicated).

Nekoninja

  • Newcomer
  • Posts: 34
  • Karma: +0/-0
    • View Profile
I did found the instruction on using the Visual Studio to build the Angband game. The problem is that it was written years ago for older version. I just had the newest version 2016 installed. I was asking around if someone use visual studio to compile the Angband for advises. I am going to "build" Angband on my computer for the first time.

I didn't realized that Angband was programmed in Linux.  :o  I have Win 10 version. 
Bow to me, your evil programmer or I will destroy the internet with my 'delete' button!

elwin

  • Rogueliker
  • ***
  • Posts: 96
  • Karma: +0/-0
    • View Profile
    • Roguelike Gallery
I'm no Visual Studio expert, but Microsoft tends to be good with backward compatibility.  You may need to turn off some warnings or set them not to cause errors.  I haven't used 2016, but those options should be somewhere in the project settings.
Roguelike Gallery: play Rogue online.  SSH or in browser.

kipar

  • Rogueliker
  • ***
  • Posts: 105
  • Karma: +0/-0
    • View Profile
    • Email
I'm no Visual Studio expert, but Microsoft tends to be good with backward compatibility.
I think the problem is'nt in Studio. The problem is that instruction and project file wasn't updated for years (decades?), so won't work with new sources. Use MinGW and makefile, every sane IDE supports them, Codeblocks too.

Nekoninja

  • Newcomer
  • Posts: 34
  • Karma: +0/-0
    • View Profile
I'm no Visual Studio expert, but Microsoft tends to be good with backward compatibility.
Use MinGW and makefile, every sane IDE supports them, Codeblocks too.

Since I have CodeBlocks 16.0 with MinGW on my Window 10, is makefile for Linux system? I would have to figure it out myself.

I will post my results after I found a way to do it.
Bow to me, your evil programmer or I will destroy the internet with my 'delete' button!