Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 21, 2018, 22:43   #1
mrrstark
Adept
 
Join Date: Aug 2013
Posts: 101
mrrstark is on a distinguished road
Compiling on Windows Linux Subsystem

Hi,

Has anyone tried compiling on Windows 10 Linux Subsystem?

https://devtidbits.com/2017/11/09/ub...ows-10-how-to/

I got angband compiled using the Ubuntu installation. I tried x11 and SDL and both resulted in this error:
"./src/angband: Unable to prepare any 'display module'!"

Compiling with the --enable-win fails compilation due to windows.h being absent in the Ubuntu installation paths (I guess).

I'm not sure if it's possible to get one of the graphical frontends working though.

Anyone tried it?
mrrstark is offline   Reply With Quote
Old January 21, 2018, 23:29   #2
mrrstark
Adept
 
Join Date: Aug 2013
Posts: 101
mrrstark is on a distinguished road
Using XMing, and running export DISPLAY:=0 on the Linux side, I was able to get past the display failure, but stuck now on the font failure.

./src/angband: Couldn't load the requested font. (10x20)

This page explained how to setup the display:
https://virtualizationreview.com/art...linux.aspx?m=1

Probably the more sane approach is to crosscompile to windows, though not sure how.
mrrstark is offline   Reply With Quote
Old January 22, 2018, 03:21   #3
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,850
Donated: $40
takkaria is on a distinguished road
As far as I know no-one's used the Windows Linux Subsystem before to compile Angband. There is already a cross-complation makefile - Makefile.win with CROSS=yes. You need mingw tools though.
__________________
"Physician, heal thyself."
takkaria 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
Compiling NPP for Linux? Bandobras Variants 9 July 3, 2009 10:52
Compiling in Linux trickypig Vanilla 6 November 16, 2008 15:26
Compiling on Linux... HowTo? MKula Vanilla 22 March 12, 2008 17:40
Linux compiling under SuSE 9.3 TJA Vanilla 21 August 16, 2007 07:49
Trouble compiling angband 3.0.9 on linux RastaRuedi Vanilla 2 August 1, 2007 17:28


All times are GMT +1. The time now is 07:44.


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