Author Topic: Build instructions have dead links (v. 0.9.4)  (Read 4761 times)

0 Members and 1 Guest are viewing this topic.

Offline Forestidia86

  • Posts: 721
  • inactive
    • View Profile
Build instructions have dead links (v. 0.9.4)
« on: December 10, 2017, 06:51:03 AM »
As I looked through the build instructions I noticed that there are non-working links provided:

Windows build instructions:
1st One of the forum links: asdfasdf.ethz.ch/~simon/bb/forum.php
2nd Allegro DLL/lib. package: http://www.lixgame.com/dow/alleg-5.2-dlls-libs.zip

And the file mentions an appendix 2 but there doesn't seem to be one?

Linux build instructions:
Lix website: http://asdfasdf.etzh.ch/~simon

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Build instructions have dead links (v. 0.9.4)
« Reply #1 on: December 10, 2017, 07:59:04 AM »
Thanks!

I've fixed all links in the documentation and reuploaded the archive with the Allegro .lib and .dll files. This will go into the next release.

I don't remember what appendix 2 should recommend anymore, therefore I cut the reference to it entirely.

-- Simon

Offline Forestidia86

  • Posts: 721
  • inactive
    • View Profile
Re: Build instructions have dead links (v. 0.9.4)
« Reply #2 on: December 13, 2017, 10:49:09 PM »
and reuploaded the archive with the Allegro .lib and .dll files.

I noticed that it only contains DLL-files. Out of curiosity: Are the .lib-files not necessary anymore?
« Last Edit: December 13, 2017, 11:03:04 PM by Forestidia86 »

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Build instructions have dead links (v. 0.9.4)
« Reply #3 on: December 14, 2017, 12:12:23 AM »
I thought I packed the .libs into the archive, but apparently I didn't. I'll reupload these days. Surprised they're missing, I was really sure. :lix-scared: Thanks for checking!

-- Simon

Offline Forestidia86

  • Posts: 721
  • inactive
    • View Profile
Re: Build instructions have dead links (v. 0.9.4)
« Reply #4 on: December 14, 2017, 10:11:41 AM »
Sorry, only a small point; probably you think of it yourself but

in the build instruction you write:

"Download the Allegro DLLs and *.lib files from my website: http://www.lixgame.com/dow/alleg-5.2-dlls-libs.zip Extract this into your D installation's windows/ directory." (emphasis by me)

For that it is probably needed that the DLL-files are in a bin-folder and the .lib-files in a lib-folder or does it work out if you just spill the files in the windows subdirectory?

(You explain later though that DLL-files belong to bin and .lib-files to lib but that's connected to the backup strategy if you make own files, hm, and you mention at the beginning that these folders seem to be important.)
« Last Edit: December 14, 2017, 10:17:48 AM by Forestidia86 »

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Build instructions have dead links (v. 0.9.4)
« Reply #5 on: December 14, 2017, 11:42:23 AM »
I've uploaded the proper archive now. The files will land in subdirectories bin/ and lib/ when the archive unpacks in windows/. I'll clarify this in the build notes, too.

-- Simon

Offline Forestidia86

  • Posts: 721
  • inactive
    • View Profile
Re: Build instructions have dead links (v. 0.9.4)
« Reply #6 on: December 31, 2017, 03:12:35 AM »
Simon, re allegro_main on Win (cf. issue 278):

You don't even seem to provide it in the zipfile and the only thing the compiler always did for me was complaining that allegro_main isn't there but fortunately built and ran the game nevertheless.

I've tried to build it with taking out allegro_main in dub.json and it builds fine for me (debug build).
« Last Edit: December 31, 2017, 01:45:29 PM by Forestidia86 »

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Build instructions have dead links (v. 0.9.4)
« Reply #7 on: January 01, 2018, 04:48:37 AM »
Cool, thanks. Yeah, I see this warning during my builds in Wine, it should be fine to remove from the Windows build. I'll have to see how the native Linux build reacts to taking away allegro_main.

I've moved the question about building via batch file.

-- Simon
« Last Edit: January 07, 2018, 09:57:34 PM by Simon »

Offline Forestidia86

  • Posts: 721
  • inactive
    • View Profile
Re: Build instructions have dead links (v. 0.9.4)
« Reply #8 on: January 24, 2018, 01:04:11 AM »
Just for completeness:
SiegeLord actually has provided a tool/batch file that creates Allegro libs from the DLLs. (Nevertheless good to know how to do it manually just in case.)

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: Build instructions have dead links (v. 0.9.4)
« Reply #9 on: January 24, 2018, 01:10:26 AM »
Thanks, will add the link to the Windows build notes!

-- Simon