Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 26, 2020, 04:33   #1
eastwind
Apprentice
 
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
eastwind is on a distinguished road
Volunteer to test VS build solicited

I have put together a works-for-me build of angband under Visual Studio 2019. The necessary code fixes have now been merged into master.

I'm in the process of putting up a git pull request that will have the solution and project files in it and a document with instructions on how to set them up and use them.

I'd really like to find a volunteer to try to work through the instructions on their machine to make sure they are clear, don't leave anything vital out, and to make sure that the solution and project files I am supplying are portable to environments & machines other than mine.

Somebody who's never used VS before would be a strong test of the instructions. It's supposed to be easy. I hope.

Last edited by eastwind; January 26, 2020 at 18:43.
eastwind is offline   Reply With Quote
Old January 29, 2020, 12:04   #2
Pagaronn
Rookie
 
Join Date: Jan 2020
Location: Montreal
Posts: 7
Pagaronn is on a distinguished road
Hi Eastwind, I could try this week-end if it's okay with you. I will like to build and run angband on VS. It's a geeky achievement that I want to get! I tried with Brogue the other day out of curiosity. I will need more time to make it work but if you have a doc and steps to follow for Angband, I'll be glad to help.
Pagaronn is offline   Reply With Quote
Old January 30, 2020, 02:09   #3
eastwind
Apprentice
 
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
eastwind is on a distinguished road
Wonderful

Great, I checked in everything you'll need, it's under src\win\vs2019. The doc is the "Building with Visual Studio 2019.docx" file (that's a MS word file, hopefully you've got a reader for it), and the other files in that folder are the rest of what you need, as described in the docx, except for VS and the git plugin which you download & install off the web.

Please post any questions you have to this thread (so if others follow they can see the answers) and I'll try to check in often over the weekend to respond with alacrity if you run into anything.
eastwind is offline   Reply With Quote
Old February 2, 2020, 04:59   #4
Pagaronn
Rookie
 
Join Date: Jan 2020
Location: Montreal
Posts: 7
Pagaronn is on a distinguished road
Where is the link? Not sure where to look! :-)
Pagaronn is offline   Reply With Quote
Old February 2, 2020, 16:48   #5
eastwind
Apprentice
 
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
eastwind is on a distinguished road
There's no link to instructions on web page, the instructions are checked into the repository. Maybe I'll get them on the wiki eventually, but for now I was looking for a volunteer already familiar with building angband using other tools who was willing to test using the Visual Studio tools.

Today's the superbowl, so I might not be able to answer questions later.
eastwind is offline   Reply With Quote
Old February 3, 2020, 23:47   #6
Pagaronn
Rookie
 
Join Date: Jan 2020
Location: Montreal
Posts: 7
Pagaronn is on a distinguished road
I have no idea where to start. You do a have a link to the project where I can download it?

I have VS2017 for work. I would check if I can compile with this version.
Pagaronn is offline   Reply With Quote
Old February 4, 2020, 00:22   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,698
Donated: $40
Pete Mack is on a distinguished road
It is a git project:

Powershell> git clone https://github.com/Eastwind921/angband

(Or command prompt window or whatever. But it requires git.)
Pete Mack is offline   Reply With Quote
Old February 4, 2020, 06:31   #8
eastwind
Apprentice
 
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
eastwind is on a distinguished road
You can clone to a temporary location, then read the doc at src\win\vs2019"Building with Visual Studio 2019.docx".

Clone the master, not 2.4.0., or the directory won't be present.
eastwind is offline   Reply With Quote
Old February 8, 2020, 22:08   #9
EpicMan
Swordsman
 
Join Date: Dec 2009
Location: Dallas, Texas, USA
Posts: 418
EpicMan is on a distinguished road
I got it to work on Windows 10 with Visual Studio 2019 Community Edition (i.e. the free one). Played a bit and verified new game, save and load work. Good work, I have not been able to successfully build Vanilla in VS until now.

One small change,I might suggest would be to edit the .sln file line 6 to replace "Angband\Angband.vcxproj" with "Angband.vcxproj" to allow the project and solution files in the same directory. Then you don't need to create any additional folder structures, you just copy them all into the "angband" directory and run it from there.
EpicMan is online now   Reply With Quote
Old February 14, 2020, 21:40   #10
AnonymousHero
Veteran
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 1,372
AnonymousHero is on a distinguished road
This is exactly why Angband should just bite the bullet and move to CMake. It'll happily generate solution files, etc. I've offered to help before, but it fell on deaf ears
AnonymousHero is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First Post: Introduction and test Monkay Vanilla 18 January 5, 2012 15:16
[Un] beginner advice solicited radical_green Variants 10 February 7, 2010 01:56
Pointers/Advice solicited on creating Angband solution inside VC++ 2008 Express jojojajumbo Development 5 August 5, 2009 03:21
Test-Id for armor Donald Jonker Vanilla 3 May 20, 2009 10:00
VB formatting test Leon Marrick Idle chatter 13 April 30, 2007 19:26


All times are GMT +1. The time now is 00:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.