Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Competition

Reply
 
Thread Tools Display Modes
Old July 14, 2011, 02:02   #1
Nick
FAangband maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 49
Posts: 4,322
Donated: $60
Nick is on a distinguished road
Competition 106

Competition 106 is now available from the competition page; it is a Chengband Half Troll Blood Knight.

Note that comp 105 still has a day or two to run.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old July 14, 2011, 06:34   #2
ewan
Adept
 
Join Date: Aug 2007
Posts: 108
ewan is on a distinguished road
A repeat plea for an OS X build; I even got so far as downloading the source... but am sadly helpless at that point
ewan is offline   Reply With Quote
Old July 14, 2011, 07:15   #3
Nick
FAangband maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 49
Posts: 4,322
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by ewan View Post
A repeat plea for an OS X build; I even got so far as downloading the source... but am sadly helpless at that point
I've tried and failed, I'm afraid.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old July 14, 2011, 14:02   #4
chris
Knight
 
Join Date: Jan 2008
Posts: 548
chris is on a distinguished road
Quote:
Originally Posted by Nick View Post
I've tried and failed, I'm afraid.
How did you try? How did you fail?

I tried looking at the makefile.osx from vanilla, but can't really make sense of, for example, how $(BASEOBJS) gets defined, or where it lives. But one thing that is *definitely* wrong with Chengband (which, based on Heng, lacks any osx makefile) is that the file listings in the makefiles are wrong. See, there are 5 makefiles, each of them listing all the object files that need to be compiled. 5 lists, and me rapidly changing the true list of files to compile (in Hengband.vcxproj), means they aren't kept up to date. Especially since none of them work on Windows

But, I can provide a list of files that need to be compiled, if that is where the error is occurring. Or is it a compilation error in main-mac.c? I can't help with that, I'm afraid.
chris is offline   Reply With Quote
Old July 14, 2011, 14:36   #5
Nick
FAangband maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 49
Posts: 4,322
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by chris View Post
How did you try? How did you fail?
I failed by not trying very hard...
  1. Running the autotools to generate configure script and makefiles, and then ./configure and make worked until it tried to compile main-gcu.c
  2. make -f Makefile.std fell over at mutation.c
  3. Then I gave up.

So I didn't use main-mac.c at all, and I didn't try to hack the makefiles. My knowledge of OSX is not very 1337.

I suspect that probably the right thing to do is edit Makefile.std to have the right sources, and then compile for x11 only; I may try and do this some time in the next few days.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old July 14, 2011, 15:14   #6
chris
Knight
 
Join Date: Jan 2008
Posts: 548
chris is on a distinguished road
Quote:
Originally Posted by Nick View Post
I failed by not trying very hard...
I suspect that probably the right thing to do is edit Makefile.std to have the right sources, and then compile for x11 only; I may try and do this some time in the next few days.
I'm trying to attach a modified makefile.std. I had to add a .txt extension to get this to work. Modifying this file took about 20 minutes to do, so I'd feel really guilty if anybody other than me had to suffer

makefile.std.txt

Is makefile.std how everyone compiles on Linux? I had an e-mail from someone who ended up using makefile.am. I suppose I can make an effort to keep one makefile up to date.
chris is offline   Reply With Quote
Old July 14, 2011, 16:31   #7
ewan
Adept
 
Join Date: Aug 2007
Posts: 108
ewan is on a distinguished road
As a clueless beneficiary of all these efforts: thankyou!

[Let me know next time you want some neurologically inspired monsters, or advice on English grammar...]
ewan is offline   Reply With Quote
Old July 14, 2011, 21:11   #8
artes
Adept
 
Join Date: Jun 2011
Location: In his house at R'lyeh
Posts: 113
artes is on a distinguished road
Can someone please tell me how to compile Chengband on Linux?

I tried with "make -fmakefile.std" but got the error:
cc1: error: unrecognized command line option "-m486"
make: *** [z-util.o] Error 1
artes is offline   Reply With Quote
Old July 14, 2011, 21:33   #9
chris
Knight
 
Join Date: Jan 2008
Posts: 548
chris is on a distinguished road
Quote:
Originally Posted by artes View Post
Can someone please tell me how to compile Chengband on Linux?

I tried with "make -fmakefile.std" but got the error:
cc1: error: unrecognized command line option "-m486"
make: *** [z-util.o] Error 1
Make sure you are using the makefile.std attached earlier in this thread. And I think just removing the -m486 will work.

For reference, my troubles with getting Hengband (not Chengband) to compile under linux are documented here http://angband.oook.cz/forum/showthread.php?t=2648, and I did eventually make it work. So, at least there is a chance Chengband can run on linux
chris is offline   Reply With Quote
Old July 15, 2011, 00:31   #10
artes
Adept
 
Join Date: Jun 2011
Location: In his house at R'lyeh
Posts: 113
artes is on a distinguished road
Thank you, chris. With your advice I could advance a bit further in the process. Then I got the error:
readdib.c:20:21: error: windows.h: No such file or directory

I think I'll try out the Windows version instead, and possibly try to compile it in Windows, since you developed it in Windows.
artes 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
Competition 99 Nick Competition 16 February 25, 2011 22:24
Competition 83 Nick Competition 30 February 28, 2010 23:51
Competition 81 andrewdoull Competition 38 January 24, 2010 23:17
Competition 80 Nick Competition 13 January 16, 2010 06:00
Competition 82 andrewdoull Competition 0 January 14, 2010 22:22


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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.