Build instructions have dead links (v. 0.9.4)

Started by Forestidia86, December 10, 2017, 06:51:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Forestidia86

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

Simon

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

Forestidia86

#2
Quote from: Simon on December 10, 2017, 07:59:04 AM
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?

Simon

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

Forestidia86

#4
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.)

Simon

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

Forestidia86

#6
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).

Simon

#7
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

Forestidia86

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.)

Simon

Thanks, will add the link to the Windows build notes!

-- Simon