project-navigation
Personal tools

Author Topic: Compiling problems  (Read 6191 times)

Offline Coconut Jonlan

  • Rookie
  • ***
  • Posts: 49
    • View Profile
Compiling problems
« 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)

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Compiling problems
« Reply #1 on: March 03, 2009, 01:36:25 pm »
You didn't compile the source code, or didn't compile it properly.

Offline Coconut Jonlan

  • Rookie
  • ***
  • Posts: 49
    • View Profile
Re: Compiling problems
« Reply #2 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

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Compiling problems
« Reply #3 on: March 03, 2009, 08:02:59 pm »
Try pastebinning your compilation log.

Offline Coconut Jonlan

  • Rookie
  • ***
  • Posts: 49
    • View Profile
Re: Compiling problems
« Reply #4 on: March 03, 2009, 11:05:06 pm »
You mean something like this:

http://pastebin.com/f6090773c

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Compiling problems
« Reply #5 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

Offline Coconut Jonlan

  • Rookie
  • ***
  • Posts: 49
    • View Profile
Re: Compiling problems
« Reply #6 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.


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Compiling problems
« Reply #7 on: March 03, 2009, 11:25:30 pm »
you have just missed an important section on that page "Building UFO:AI". :)

-geever

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Compiling problems
« Reply #8 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.
« Last Edit: March 04, 2009, 01:39:10 am by BTAxis »

Offline Coconut Jonlan

  • Rookie
  • ***
  • Posts: 49
    • View Profile
Re: Compiling problems
« Reply #9 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