project-navigation
Personal tools

Author Topic: [Rev 30174] - Failed to build the installer  (Read 5350 times)

Offline T-Low

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
[Rev 30174] - Failed to build the installer
« on: May 31, 2010, 12:50:27 pm »
Hi,
i have problems to create the installer with the UfoAI win32 configure 0.8.0.
dev.2.4 Rev 30174

Is there something i can do?
It works fine with a previous revision.

Code: [Select]
File: "..\..\..\ufo.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "C:\Users\Public\UFOAIwin32BUILDenv\MinGW\ufoai\contrib\installer\windows\ufoai.mod.nsi" on line 112 -- aborting creation process
Endtime: 2010.05.31 12:30:56 2
Error 26
Failed to build the installer

ps.
Nice game and great job!

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: [Rev 30174] - Failed to build the installer
« Reply #1 on: May 31, 2010, 12:54:26 pm »
Are you sure that you compile the game before?

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: [Rev 30174] - Failed to build the installer
« Reply #2 on: May 31, 2010, 01:42:03 pm »
If you're getting that error with muton's script, you're doing something seriously wrong, since I've compiled revision up to 30225 with it easily. You do need to download the all-in-one package first, though, to make sure, and follow his instructions in the wiki. It's not a bug.

Offline T-Low

  • Cannon Fodder
  • **
  • Posts: 2
    • View Profile
Re: [Rev 30174] - Failed to build the installer
« Reply #3 on: May 31, 2010, 03:39:59 pm »
Quote
Are you sure that you compile the game before?

Oh, right.
The log tells me, there was an error in the build process.
But thats another problem and reported: [Rev 30253 and beyond] compile error

Code: [Select]
Linking executable: ..\..\ufo.exe
.objs\client\src\client\menu\m_icon.o:m_icon.c:(.text+0x244): undefined reference to `MN_IconExists'
collect2: ld returned 1 exit status
Process terminated with status 1 (7 minutes, 46 seconds)
1 errors, 2 warnings
Endtime: 2010.05.31 02:30:47 2
Error 16
C::B returned an error during C:\Users\Public\UFOAIwin32BUILDenv\MinGW\ufoai\build\projects\ufo.mod.mod.cbp

Thanks for help.
« Last Edit: May 31, 2010, 04:13:37 pm by T-Low »

Aesten

  • Guest
Re: [Rev 30174] - Failed to build the installer
« Reply #4 on: May 31, 2010, 05:12:06 pm »
It builds fine if you set debug.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: [Rev 30174] - Failed to build the installer
« Reply #5 on: May 31, 2010, 06:02:47 pm »
MN_IconExists is only used inside an assert. Maybe some compilators do not remove asserts for the release build... i dont know.

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: [Rev 30174] - Failed to build the installer
« Reply #6 on: May 31, 2010, 06:48:01 pm »
Aesten posted a tracker item of this. Whether or not it's necessary or valid needs to be determined by someone more competent than I am.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [Rev 30174] - Failed to build the installer
« Reply #7 on: May 31, 2010, 07:10:05 pm »
if there is a release build that don't add -DNDEBUG the asserts are not wiped away afaik

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: [Rev 30174] - Failed to build the installer
« Reply #8 on: May 31, 2010, 07:32:05 pm »
-DNODEBUG or -DNDEBUG
C::B files have set -DNODEBUG

Edit:
It was reported that svn 30253 was the first revision with that error ....
http://sourceforge.net/apps/trac/ufoai/changeset/30253

ufoai/trunk/src/client/menu/m_icon.c
disabling those changes fixed the compiler-error

bayo, could you please take a look at
« Last Edit: May 31, 2010, 08:03:10 pm by Muton »

Aesten

  • Guest
Re: [Rev 30174] - Failed to build the installer
« Reply #9 on: May 31, 2010, 09:59:17 pm »
30284 builds just fine.