Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 29, 2011, 01:29   #1
Antoine
Ironband/Quickband Maintainer
 
Join Date: Nov 2007
Posts: 1,009
Antoine is on a distinguished road
Windows development environment

Hi chaps

Can anyone recommend a good free environment for compiling Angband on a Windows 7 box?

I am used to MSVC++ (used it for *bands on my old computer, but did not keep it when I built the new machine) - do I remember correctly that there is a free version? Alternatively do mingw based approaches work well?

A.
__________________
Ironband - http://angband.oook.cz/ironband/
Antoine is offline   Reply With Quote
Old January 29, 2011, 02:02   #2
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Antoine View Post
Hi chaps

Can anyone recommend a good free environment for compiling Angband on a Windows 7 box?

I am used to MSVC++ (used it for *bands on my old computer, but did not keep it when I built the new machine) - do I remember correctly that there is a free version? Alternatively do mingw based approaches work well?

A.
I don't know about Win7 but I use cygwin to compile in XP. It's not actually a "development environment", just compiler, but it is sufficient for minor tweaks.
Timo Pietilš is offline   Reply With Quote
Old January 29, 2011, 02:46   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,936
Donated: $60
Nick will become famous soon enough
I use msys/mingw on Win 7 and it works great for compiling from the command line.

I don't use an IDE as such, so can't comment on those.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 29, 2011, 02:55   #4
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
I use cygwin to compile, and eclipse as the development environment.

Both are pretty well documented, and relatively easy to set up.
nppangband is offline   Reply With Quote
Old January 29, 2011, 07:28   #5
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,521
Donated: $40
Pete Mack is on a distinguished road
Yes there's a free version of Visual Studio (aka MSVC), though you need rather lot of memory to run it. Several people have reported luck using it for Angband development. Strangely, no one has checked in a project file :/
Pete Mack is offline   Reply With Quote
Old January 29, 2011, 14:28   #6
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
Quote:
Yes there's a free version of Visual Studio (aka MSVC), though you need rather lot of memory to run it. Several people have reported luck using it for Angband development. Strangely, no one has checked in a project file :/
When I use Visual Studio to compile Angband I always end up having to rename player/util.c because the linker gets confused otherwise. If I knew how to get it to play nicely with multiple files named util.c then I would happily submit a project file.

IIRC, these are the steps needed to get Angband to compile in Visual Studio:
* Change character set from Unicode to Multi-Byte
* Change struct alignment from the default setting (dword aligned?) to single-byte alignment
* Add angband/src to the #include folders in order for files in subfolders (such as player/player.c) to find the root folder's header files.
* Add winmm.lib to the additional libraries
* Rename player/util.c to player/playerutil.c so the linker doesn't get confused by two source files named util.c.
RogerN is offline   Reply With Quote
Old January 29, 2011, 18:56   #7
camlost
Sangband 1.x Maintainer
 
camlost's Avatar
 
Join Date: Apr 2007
Posts: 522
camlost is on a distinguished road
I use codeblocks (which ships with a mingw/gcc compiler). It works. I've also used bloodshed, but it's dev ceased a while ago, IIRC.
__________________
a chunk of Bronze {These look tastier than they are. !E}
3 blank Parchments (Vellum) {No french novels please.}
camlost is offline   Reply With Quote
Old January 29, 2011, 23:14   #8
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 36
Posts: 911
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
I would have committed a project file, but I don't have commit access, and my variant (Jackband) kinda died off after Sangband came back
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old January 31, 2011, 19:52   #9
Antoine
Ironband/Quickband Maintainer
 
Join Date: Nov 2007
Posts: 1,009
Antoine is on a distinguished road
Shameless bump
__________________
Ironband - http://angband.oook.cz/ironband/
Antoine is offline   Reply With Quote
Old January 31, 2011, 21:49   #10
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 36
Posts: 911
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
What are you bumping for, Antoine? It's only 2 days!

But anyway, if you want me to put together a VC++ project file for the latest Angband version, sure, I can do that... it might get out of sync though if none of the regular devs use VC++...

And how are you doing, anyway? I really enjoyed Ironband; any plans on continuing development?
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis 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
MUD development Whelk Idle chatter 11 January 9, 2011 02:03
Is development *too* active? the Invisible Stalker Vanilla 14 December 26, 2010 18:47
Help start development Kurogane Idle chatter 17 October 28, 2010 08:03
Development forum camlost Oook! 5 February 22, 2009 22:06
[FA] FAangband development Nick Variants 174 May 30, 2008 03:02


All times are GMT +1. The time now is 03:47.


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