Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 14, 2007, 14:21   #21
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,332
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by andrewdoull View Post
Mingw is not that bad... link to downloader posted earlier in the thread
Yes, and I guess that's what I'll do. In fact, I guess I started using cygwin because it was above mingw on RR's compilation instructions on thangorodrim, and never had a reason not to. Now I have.
__________________
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 June 15, 2007, 00:09   #22
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,947
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Fuma View Post
Maybe check some environment variables? I know one can set whatever variables he wants, but how many linux people have (for example) OS set to Windows_NT ? (just copied my results, so YMMV)
I went for route of testing the PATH variable to see if it contains "WINDOWS\system32". This means that V should now work using Makefile.win and you've no need to move the executable manually.

For the method, see:
http://angband.rogueforge.net/trac/b...c/Makefile.win
takkaria is offline   Reply With Quote
Old June 15, 2007, 02:46   #23
Faust
Adept
 
Faust's Avatar
 
Join Date: Apr 2007
Posts: 129
Faust is on a distinguished road
Quote:
Originally Posted by takkaria View Post
I went for route of testing the PATH variable to see if it contains "WINDOWS\system32". This means that V should now work using Makefile.win and you've no need to move the executable manually.

For the method, see:
http://angband.rogueforge.net/trac/b...c/Makefile.win
This Won't work for Win NT or Windows 2000 as they use \Winnt\
Faust is offline   Reply With Quote
Old June 15, 2007, 07:26   #24
andrewdoull
Unangband maintainer
 
andrewdoull's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Age: 45
Posts: 872
andrewdoull is on a distinguished road
Quote:
Originally Posted by Faust View Post
This Won't work for Win NT or Windows 2000 as they use \Winnt\
Technically you should be testing for %systemdir%.

You'll probably want to use the 'ver' command if possible.

Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
In UnAngband, the level dives you.
ASCII Dreams: http://roguelikedeveloper.blogspot.com
Unangband: http://unangband.blogspot.com
andrewdoull is offline   Reply With Quote
Old August 5, 2007, 21:02   #25
Bodkin
Scout
 
Bodkin's Avatar
 
Join Date: Apr 2007
Location: Southern California
Posts: 34
Bodkin is on a distinguished road
Question Has something changed since this was composed?

I guess I'll have to be the clueless one (or at least, the one who steps forward to be counted) ... I am still having some trouble here. I appreciate the guide, and I really want to make this thing work, but the compile process leaves me stranded. It creates a long series of object files (apparently all of them), but then yields the following, as it pulls its oars out of the water:

gcc: no input files
mingw32-make: *** [win/readdib.o] Error 1

To get this far, I did have to improvise somewhat, as not all of the menu choices still match what this guide forecasts (e.g., in step 3, there is no longer a "Mylar Integration" to de-select). And I had to go into the project properties and change Cygwin to Mingw wherever it appeared just to get the build started. Could there be some other configuration variable I have to mess with in Eclipse? Or could there be something I touched that I shouldn't have? (Aware of my ignorance, I touched as little as possible.)

I duplicated the problem when using the stable source code for version 3.0.9 (imported locally from the .tar.gz), so I doubt that the code could be the problem. Sadly, my experience with IDEs and makefiles is exceedingly spotty. But maybe my woes can serve as illumination (or as a cautionary tale) for others.

Thanks in advance for any clarification anyone can offer!
Bodkin is offline   Reply With Quote
Old August 6, 2007, 09:59   #26
andrewdoull
Unangband maintainer
 
andrewdoull's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Age: 45
Posts: 872
andrewdoull is on a distinguished road
Quote:
Originally Posted by Bodkin View Post
I guess I'll have to be the clueless one (or at least, the one who steps forward to be counted) ... I am still having some trouble here. I appreciate the guide, and I really want to make this thing work, but the compile process leaves me stranded. It creates a long series of object files (apparently all of them), but then yields the following, as it pulls its oars out of the water:

gcc: no input files
mingw32-make: *** [win/readdib.o] Error 1
I think something has 'broken' for this. Unfortunately, I'm without a computer at the moment and can't test this.

Try bringing up a cmd prompt, and changing into the angband/src directory (use the cd command).

Then try the command mingw32-make -f makefile.win

That should generate a angband.exe which you can copy up one directory.

Andrew
__________________
The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
In UnAngband, the level dives you.
ASCII Dreams: http://roguelikedeveloper.blogspot.com
Unangband: http://unangband.blogspot.com
andrewdoull is offline   Reply With Quote
Old January 1, 2008, 18:58   #27
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
Hmmm, I wonder if it would make things easier to include a .sln file and direct people to Visual C++ 2008 Express?
__________________
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 1, 2008, 19:22   #28
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 725
Bandobras is on a distinguished road
Somewhat off-topic, but here is a _trivial_ way to obtain a Windows binary, if you have Linux with apt (Debian, Ubuntu, others). It really worked so easily for me.

http://angband.oook.cz/forum/showpos...14&postcount=9
Bandobras is offline   Reply With Quote
Old January 4, 2008, 01:03   #29
Zero
Apprentice
 
Join Date: Jan 2008
Posts: 83
Zero is on a distinguished road
Has anyone tried compiling Vanilla with Netbeans 6.0? I've been using Java, so I'm used to Netbeans, and it would be great to be able to compile Angband without having to install a new compiler.
Zero is offline   Reply With Quote
Old January 4, 2008, 01:13   #30
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
Doesn't sound too hard - Netbeans is pretty easy to use
Can't say for certain that I've actually tried it - but I imagine it's not difficult!
__________________
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


All times are GMT +1. The time now is 14:06.


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