|
|
#21 |
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
After spending way too much time on this, I managed to get it compiling by couching the offending line in if 0/endif. Unfortunately the executable now borks because it can't find the normal save directory used on UNIX, which does not and cannot exist on Windows.
(So far I haven't even come close to getting SDL working on Windows.)
__________________
The Great Wyrm of Law breathes litigation... |
|
|
|
|
|
#22 |
|
Swordsman
Join Date: Jun 2007
Posts: 340
![]() |
Did you do a clean clone + revert that single commit?
Btw, you could also try the one tagged v2.3.9-ah just to see if you can get it up and running. |
|
|
|
|
|
#23 |
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
Yes. Umm, looks like that gave an error.
Code:
error: could not revert c70d7a8... Remove conditional compilation based on PRIVATE_USER_PATH. It is always set. Code:
error: 'revert' is not possible because you have unmerged files. 2.3.9-ah compiles fine on Windows, though.
__________________
The Great Wyrm of Law breathes litigation... |
|
|
|
|
|
#24 |
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
BTW, I must mention something: the Win32 interface is slow. Slower than Chengband's, slower than SDL, so slow that you can see the screen rerender from top to bottom every time you move into a new wilderness square. Even dragging the window around shows visible lag... With Aero and all compositing effects turned off.
Anyway I'm going to try one more time to get SDL working on Windows. No idea why it didn't work the first time...
__________________
The Great Wyrm of Law breathes litigation... |
|
|
|
|
|
#25 | ||
|
Swordsman
Join Date: Jun 2007
Posts: 340
![]() |
Quote:
Quote:
.
|
||
|
|
|
|
|
#26 |
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
I'm quite willing to help, but Windows 7 isn't.
This OS and its annoying quirks have been fighting me every step of the way... I'll see what can be done though.
__________________
The Great Wyrm of Law breathes litigation... |
|
|
|
|
|
#27 |
|
Swordsman
Join Date: Jun 2007
Posts: 340
![]() |
Cool. Here are the steps you need to get started:
This last line tells git you want to track down a problem in a commit somewhere between v2.3.9-ah and HEAD. From here on you just repeat the following steps until git tells you precisely which commit is the first bad one:
Hopefully that should be enough to let you pinpoint the first proplematic commit. At every step in the process git will let you know how many steps it thinks are left, but beware that it may sometimes say "0 steps left" even though you aren't quite done (probably rounding or something). When you're done it will specifically say something like "First bad commit is <SHA hash here>". |
|
|
|
|
|
#28 |
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
BTW, I should mention that tome2 cannot be compiled on Windows inside of a directory with spaces in it. This makes windres bork. I know using spaces in directory names is stupid anyway, but Windows does this by default with e.g. Program Files, My Documents, Documents and Settings...
(And annoyingly, I just wasted half an hour trying to compile in a Win2k VM and wondering why all my builds were failing. Grr.) Edit: On Windows 2000 and XP, tome2 has to be compiled in the root directory. I'd say this is a bug.
__________________
The Great Wyrm of Law breathes litigation... Last edited by Therem Harth; May 25, 2012 at 03:09. |
|
|
|
|
|
#29 | ||
|
Swordsman
Join Date: Jun 2007
Posts: 340
![]() |
Quote:
But, yeah, it's annoying. Without error messages it's going to be difficult to do anything about this -- even then it's probably not trivial to fix. I've added a note to the README about this. Quote:
You can perhaps work around this by creating a "virtual drive" using Code:
subst T: "C:\Wherever You\Unpacked\The\Source" |
||
|
|
|
|
|
#30 | ||
|
Knight
Join Date: Jan 2008
Posts: 631
![]() |
First, something else noteworthy: revision c06c5c1 somehow causes MinGW's linker to hang forever.
Quote:
Code:
gcc: error: and\: No such file or directory gcc: error: Settings/Administrator/My\: No such file or directory gcc: error: Documents/Downloads/tome2-tome2/src: No such file or directory C:\MinGW\bin\windres.exe: preprocessing failed. mingw32-make[2]: *** [src/angband_rc.o] Error 1 mingw32-make[1]: *** [src/CMakeFiles/tome.dir/all] Error 2 mingw32-make: *** [all] Error 2 Quote:
__________________
The Great Wyrm of Law breathes litigation... |
||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need advice... X11 vs. SDL | Therem Harth | Development | 25 | October 25, 2011 03:35 |
| NPP sdl | Nick | Variants | 10 | July 15, 2010 06:23 |
| Down with the SDL! | Pete Mack | Development | 0 | August 13, 2009 04:26 |
| SDL sound | Nick | Development | 1 | July 16, 2009 21:14 |
| Ubuntu SDL Help? | benhamill | Vanilla | 12 | February 24, 2009 21:19 |