UFO:Alien Invasion

Technical support => Windows => Topic started by: Coconut Jonlan on March 03, 2009, 01:03:03 pm

Title: Compiling problems
Post by: Coconut Jonlan on March 03, 2009, 01:03:03 pm
I've followed the instructions in the wiki pages on getting the source of the latest dev version up to here

http://ufoai.ninex.info/wiki/index.php/Compile_for_Windows


but havign problems creating an installer


error as follows

Quote
File: "zlib1.dll" [compress] 30599/59904 bytes
File: "..\..\..\*.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "C:\Program Files\UFOAI-2.2.1\ufoai\src\ports\windows\installer.nsi" on line 90 -- aborting creation process

that emough or do you need the whole log??

(xp home on a shitty old dell laptop)
Title: Re: Compiling problems
Post by: BTAxis on March 03, 2009, 01:36:25 pm
You didn't compile the source code, or didn't compile it properly.
Title: Re: Compiling problems
Post by: Coconut Jonlan on March 03, 2009, 08:01:17 pm
You didn't compile the source code, or didn't compile it properly.

any suggestions as to where I might have gone wrong?

This is the first time I've tried to do anything like this so aside from following the instructions exactly like I have already done (three times with the same result), I'm at at loss
Title: Re: Compiling problems
Post by: BTAxis on March 03, 2009, 08:02:59 pm
Try pastebinning your compilation log.
Title: Re: Compiling problems
Post by: Coconut Jonlan on March 03, 2009, 11:05:06 pm
You mean something like this:

http://pastebin.com/f6090773c
Title: Re: Compiling problems
Post by: geever on March 03, 2009, 11:09:46 pm
This log isn't the compilation log. You should compile the source via Code::Blocks (for example).

-geever
Title: Re: Compiling problems
Post by: Coconut Jonlan on March 03, 2009, 11:21:13 pm
This log isn't the compilation log. You should compile the source via Code::Blocks (for example).

-geever

thanks - got any instructions on that?

I'm new to this so basically I'm just following the wiki at the moment and to compile the code it says:


Quote
Install nsis and right click the src/ports/windows/installer.nsi file to compile the installer.

Title: Re: Compiling problems
Post by: geever on March 03, 2009, 11:25:30 pm
you have just missed an important section on that page (http://ufoai.ninex.info/wiki/index.php/Compile_for_Windows) "Building UFO:AI". :)

-geever
Title: Re: Compiling problems
Post by: BTAxis on March 03, 2009, 11:27:57 pm
Indeed. However, since this section only has a link without further comment, it is easy to miss. I just added a line of text that will hopefully make people take note a little more often.
Title: Re: Compiling problems
Post by: Coconut Jonlan on March 04, 2009, 12:40:55 am
Indeed. However, since this section only has a link without further comment, it is easily to miss. I just added a line of text that will hopefully make people take note a little more often.

Thanks BT - just revisited the page and spotted the instructions you added - of course I hadn't read your post post yet so couln't understand how I could have missed that bit last time  ;D