Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old September 1, 2011, 23:24   #1
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Compiling V for Windows

How is this done, short of cross-compiling on *nix? Is putting MinGW in the PATH required? (I hope not, because that completely breaks CMake.)

More specifically... Can I compile V in an IDE? I've been trying to make it compile in Code::Blocks, but I haven't been very successful...
Therem Harth is offline   Reply With Quote
Old September 2, 2011, 03:55   #2
dos350
Knight
 
dos350's Avatar
 
Join Date: Sep 2010
Location: nimbin, australia
Posts: 542
dos350 is on a distinguished road
ive tried in code blocks too , a few time~ very unsuccsessful, id appreciate good info, and nn4makefiles or watever also, there is like a billion errors, ty
__________________
~eek

Reality hits you -more-

S+++++++++++++++++++
dos350 is offline   Reply With Quote
Old September 2, 2011, 04:09   #3
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
I compile it in visual Studio 2008.
APWhite is offline   Reply With Quote
Old September 2, 2011, 09:04   #4
dos350
Knight
 
dos350's Avatar
 
Join Date: Sep 2010
Location: nimbin, australia
Posts: 542
dos350 is on a distinguished road
Quote:
Originally Posted by APWhite View Post
I compile it in visual Studio 2008.
legit, i have expres 2010 or watever 2011 mayb but i dont like that, ill try 2 compile but id like 2 b able2 do that in codeblocks its like my natural thing 2 use
__________________
~eek

Reality hits you -more-

S+++++++++++++++++++
dos350 is offline   Reply With Quote
Old September 2, 2011, 16:49   #5
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Quote:
Originally Posted by APWhite View Post
I compile it in visual Studio 2008.
How? Can VS2008 import GNU Automake projects? Can it use Automake?
Therem Harth is offline   Reply With Quote
Old September 2, 2011, 17:47   #6
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
How? Can VS2008 import GNU Automake projects? Can it use Automake?
Attached are the steps that I use when I compile in visual studio. I would think that similar steps would be used in any ide.
Attached Files
File Type: txt angband_visual_studio_step_by_step.txt (2.5 KB, 214 views)
Blue Baron is offline   Reply With Quote
Old September 3, 2011, 02:36   #7
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Thank you, that's what I was looking for.
Therem Harth is offline   Reply With Quote
Old September 4, 2011, 04:46   #8
GrimBob
Rookie
 
Join Date: Aug 2011
Location: in caves
Posts: 10
GrimBob is on a distinguished road
I've used bloodshed Dev-C++ with relative ease, mind you need to manually include the resource files
GrimBob is offline   Reply With Quote
Old September 4, 2011, 23:36   #9
GrimBob
Rookie
 
Join Date: Aug 2011
Location: in caves
Posts: 10
GrimBob is on a distinguished road
AlphaBlend Blues

if using DEV C++ to compile and you keep getting this error
[Linker error] undefined reference to `AlphaBlend'

check your main-win.c

just under the includes if this doesnt match FIX it!!

Quote:
/* Make sure the winver allows the AlphaBlend function */
#if (WINVER < 0x0500)
#define WINVER 0x0500
#endif
To use Alphablend WINVER must be 0x0500

also link in -lmsimg32

if that's too confusing I've added a patch at my GitHubRepo GrimBob/angband

Last edited by GrimBob; September 5, 2011 at 00:14.
GrimBob 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
Getting Unangband/Angband from SVN and Compiling on Windows andrewdoull Development 133 April 7, 2011 14:28
Compiling a "Windows Console" version Dean Anderson Development 34 December 3, 2010 22:00
Compiling Hengband on Windows EpicMan Development 2 May 7, 2010 19:15
Compiling Z+Angband under Windows Altefcat Variants 8 December 11, 2008 09:44
Windows Compiling and Makefiles APWhite Vanilla 11 August 22, 2007 21:22


All times are GMT +1. The time now is 05:02.


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