UFO:Alien Invasion

Technical support => Windows => Topic started by: odie on January 12, 2009, 09:41:41 am

Title: NSIS Compilation Errors
Post by: odie on January 12, 2009, 09:41:41 am
Thanks all of you so far who helped me at: http://ufoai.ninex.info/forum/index.php?topic=3214.0 (http://ufoai.ninex.info/forum/index.php?topic=3214.0)

Namely, DuKe2112, BTAxis, Destructavator and Kildor.

Okie, so far i managed to compile the SVN. I thnk i will try to take time to write for us a revised guide to the windows compilation...... cos some of the steps were sorta found from wiki searching..... Haha.

Okie, here's what has been done but still with error.
1) I have downloaded TortiseSVN and installed it, configured it.
2) I have downloaded the latest SVN this morning (R21800).
3) I have downloaded Codeblocks.zip from this page: http://ufoai.ninex.info/wiki/index.php/Code::Blocks
4) Followed the instructions there down to processors part.
5) compiled the maps by executing compile_maps.bat in contrib\scripts.
6) Realised that i did not have this done though - compile the .po-files (language support) with compile_po.bat (Was wondering where.....)
7) Downloaded 7zip command edition and dumped to \base. (Realised this step needs to be added into the guide).
8) Ran the \base\archives.bat and compiled the pk3s.
9) Finally ran the NSIS compiler by activating \src\ports\windows\installer.nsi

This is the error msg:
<See next Msg>

Anyone able to enlighten me on this pls? Thanks.
Title: Re: NSIS Compilation Errors
Post by: odie on January 12, 2009, 09:43:15 am
Code for previous...

Code: [Select]
MakeNSIS v2.42 - Copyright 1995-2008 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config:
Processing plugin dlls: "C:\Program Files\NSIS\Plugins\*.dll"
 - AdvSplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - NSISdl::download
 - NSISdl::download_quiet
 - Splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""


To be continued
Title: Re: NSIS Compilation Errors
Post by: odie on January 12, 2009, 09:44:19 am
Code: [Select]
Changing directory to: "C:\SVN Update\src\ports\windows"

Processing script file: "C:\SVN Update\src\ports\windows\installer.nsi"
!define: "PRODUCT_NAME"="UFO:Alien Invasion"
!define: "SHORT_PRODUCT_NAME"="UFO:AI"
!define: "PRODUCT_NAME_DEDICATED"="UFO:Alien Invasion Dedicated Server"
!define: "PRODUCT_VERSION"="2.3-dev"
!define: "PRODUCT_PUBLISHER"="UFO:AI Team"
!define: "PRODUCT_WEB_SITE"="http://ufoai.sf.net"
!define: "PRODUCT_DIR_REGKEY"="Software\UFOAI\ufo.exe"
!define: "PRODUCT_UNINST_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\UFO:Alien Invasion"
!define: "PRODUCT_UNINST_ROOT_KEY"="HKLM"
SetCompressor: lzma
!include: "C:\Program Files\NSIS\Include\MUI.nsh"
!include: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.8 - © 2002-2008 Joost Verburg (C:\Program Files\NSIS\Contrib\Modern UI\System.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="1.8"
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files\NSIS\Include\MUI.nsh"
!include: "C:\Program Files\NSIS\Include\LogicLib.nsh"
!include: closed: "C:\Program Files\NSIS\Include\LogicLib.nsh"
ShowInstDetails: nevershow
ShowUninstDetails: nevershow
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="..\..\..\build\projects\ufo.ico"
!define: "MUI_UNICON"="..\..\..\build\projects\ufo.ico"
!define: "MUI_LANGDLL_REGISTRY_ROOT"="HKLM"
!define: "MUI_LANGDLL_REGISTRY_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\UFO:Alien Invasion"
!define: "MUI_LANGDLL_REGISTRY_VALUENAME"="NSIS:Language"
!define: "MUI_WELCOMEFINISHPAGE_BITMAP"="..\..\..\build\installer.bmp"
Var: "GAMEFLAGS"
Var: "MAPFLAGS"
Var: "GAMETEST"
Var: "MAPTEST"
Var: "GAMEICONFLAGS"
Var: "MAPICONFLAGS"
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!define: "MUI_LICENSEPAGE_CHECKBOX"=""
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
!insertmacro: MUI_PAGE_COMPONENTS
!insertmacro: end of MUI_PAGE_COMPONENTS
!define: "MUI_DIRECTORYPAGE_VERIFYONLEAVE"=""
!define: "MUI_PAGE_CUSTOMFUNCTION_LEAVE"="dirLeave"
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS
!insertmacro: end of MUI_RESERVEFILE_INSTALLOPTIONS
Name: "UFO:AI 2.3-dev"
OutFile: "ufoai-2.3-dev-win32.exe"
InstallDir: "$PROGRAMFILES\UFOAI-2.3-dev"
InstallRegKey: "HKLM\Software\UFOAI\ufo.exe\"
ShowInstDetails: show
ShowUnInstDetails: show
Function: ".onInit"
!insertmacro: MUI_LANGDLL_DISPLAY
!insertmacro: end of MUI_LANGDLL_DISPLAY
FunctionEnd
Function: ".onInstSuccess"
MessageBox: 0: "If you want to play multiplayer games, open the TCP port 27910 in your firewall."
FunctionEnd
SectionGroup Game ->(SECGROUP01)
Section: "Game Files" ->(SEC01)
SetOverwrite: ifnewer
SetOutPath: "$INSTDIR"
warning: File: "..\..\..\src\docs\tex\*.pdf" -> no files found. (C:\SVN Update\src\ports\windows\installer.nsi:88)
File: "SDL.dll" [compress] 124814/320512 bytes
File: "SDL_mixer.dll" [compress] 92347/312320 bytes
File: "SDL_ttf.dll" [compress] 157693/331776 bytes
File: "iconv.dll" [compress] 469668/892928 bytes
File: "intl.dll" [compress] 16656/45056 bytes
File: "jpeg62.dll" [compress] 62034/153966 bytes
File: "libcurl-4.dll" [compress] 93365/182272 bytes
File: "libogg-0.dll" [compress] 7610/15872 bytes
File: "libpng13.dll" [compress] 80281/203264 bytes
File: "libvorbis-0.dll" [compress] 76817/157696 bytes
File: "libvorbisfile-3.dll" [compress] 13983/28672 bytes
File: "smpeg.dll" [compress] 69969/235520 bytes
File: "zlib1.dll" [compress] 30599/59904 bytes
File: "ufo.exe" [compress] 475863/1179136 bytes
File: "ufo2map.exe" [compress] 65810/208384 bytes
File: "ufo_ded.exe" [compress] 95770/298496 bytes
SetOutPath: "$INSTDIR\base"
File: "game.dll" [compress] 109641/332800 bytes
File: "0base.pk3" [compress] 2410/2662 bytes
File: "0maps.pk3" [compress] 107838415/109445809 bytes
File: "0media.pk3" [compress] 9985885/9986575 bytes
File: "0models.pk3" [compress] 73831059/79308186 bytes
File: "0music.pk3" [compress] 179668630 bytes
File: "0pics.pk3" [compress] 144803017/148042218 bytes
File: "0snd.pk3" [compress] 15308644/15366975 bytes
File: "0ufos.pk3" [compress] 155662/161697 bytes
File: "0vids.pk3" [compress] 21/22 bytes
SetOutPath: "$INSTDIR\base\i18n"
SetOutPath: "$INSTDIR\base\i18n\cs\LC_MESSAGES"
File: "ufoai.mo" [compress] 160986/569278 bytes
SetOutPath: "$INSTDIR\base\i18n\da\LC_MESSAGES"
File: "ufoai.mo" [compress] 131509/471473 bytes
SetOutPath: "$INSTDIR\base\i18n\de\LC_MESSAGES"
File: "ufoai.mo" [compress] 165515/642575 bytes
SetOutPath: "$INSTDIR\base\i18n\el\LC_MESSAGES"
File: "ufoai.mo" [compress] 163340/795161 bytes
SetOutPath: "$INSTDIR\base\i18n\en\LC_MESSAGES"
File: "ufoai.mo" [compress] 136962/581810 bytes
SetOutPath: "$INSTDIR\base\i18n\es\LC_MESSAGES"
File: "ufoai.mo" [compress] 101705/380338 bytes
SetOutPath: "$INSTDIR\base\i18n\es_ES\LC_MESSAGES"
File: "ufoai.mo" [compress] 135840/499589 bytes
SetOutPath: "$INSTDIR\base\i18n\et\LC_MESSAGES"
File: "ufoai.mo" [compress] 76400/276388 bytes
SetOutPath: "$INSTDIR\base\i18n\fi\LC_MESSAGES"
File: "ufoai.mo" [compress] 7303/21586 bytes
SetOutPath: "$INSTDIR\base\i18n\fr\LC_MESSAGES"
File: "ufoai.mo" [compress] 167650/674419 bytes
SetOutPath: "$INSTDIR\base\i18n\hu\LC_MESSAGES"
File: "ufoai.mo" [compress] 140323/521836 bytes
SetOutPath: "$INSTDIR\base\i18n\it\LC_MESSAGES"
File: "ufoai.mo" [compress] 145267/534578 bytes
SetOutPath: "$INSTDIR\base\i18n\ja\LC_MESSAGES"
File: "ufoai.mo" [compress] 111385/437671 bytes
SetOutPath: "$INSTDIR\base\i18n\pl\LC_MESSAGES"
File: "ufoai.mo" [compress] 128717/484754 bytes
SetOutPath: "$INSTDIR\base\i18n\pt\LC_MESSAGES"
File: "ufoai.mo" [compress] 110970/427939 bytes
SetOutPath: "$INSTDIR\base\i18n\pt_BR\LC_MESSAGES"
File: "ufoai.mo" [compress] 150709/556747 bytes
SetOutPath: "$INSTDIR\base\i18n\ru\LC_MESSAGES"
File: "ufoai.mo" [compress] 178352/826631 bytes
SetOutPath: "$INSTDIR\base\i18n\sv\LC_MESSAGES"
File: "ufoai.mo" [compress] 142584/535286 bytes
SetOutPath: "$INSTDIR\base\i18n\sl\LC_MESSAGES"
File: "ufoai.mo" [compress] 9089/26505 bytes
SetOutPath: "$INSTDIR\base\i18n\th\LC_MESSAGES"
File: "ufoai.mo" [compress] 130979/712357 bytes
SetOutPath: "$INSTDIR"
SectionEnd
Section: "Game Shortcuts" ->(SEC01B)
CreateDirectory: "$SMPROGRAMS\UFO:Alien Invasion"
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\UFO:Alien Invasion.lnk"->"$INSTDIR\ufo.exe" +set vid_fullscreen 1 +set snd_init 1 icon:$INSTDIR\ufo.exe,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\UFO:Alien Invasion (safe-mode).lnk"->"$INSTDIR\ufo.exe" +set vid_fullscreen 1 +set vid_mode 6 +set snd_init 0 icon:$INSTDIR\ufo.exe,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\UFO:Alien Invasion (safe-mode windowed).lnk"->"$INSTDIR\ufo.exe" +set vid_fullscreen 0 +set vid_mode 6 +set snd_init 0 icon:$INSTDIR\ufo.exe,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\UFO:Alien Invasion Dedicated Server.lnk"->"$INSTDIR\ufo_ded.exe"  icon:$INSTDIR\ufo.exe_ded,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$DESKTOP\UFO:Alien Invasion.lnk"->"$INSTDIR\ufo.exe"  icon:,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\Website.lnk"->"$INSTDIR\UFO:Alien Invasion.url"  icon:,0, showmode=0x0, hotkey=0x0, comment=
CreateShortCut: "$SMPROGRAMS\UFO:Alien Invasion\Uninstall.lnk"->"$INSTDIR\uninst.exe"  icon:,0, showmode=0x0, hotkey=0x0, comment=
SectionEnd
SectionGroupEnd
SectionGroup Mapping ->(SECGROUP02)
Section: "Mapping Tools" ->(SEC02)
SetOutPath: "$INSTDIR\base\maps"
File: "bunker.map" [compress] 65783/1014298 bytes
File: "city_train.map" [compress] 44076/676043 bytes

Title: Re: NSIS Compilation Errors
Post by: odie on January 12, 2009, 09:45:53 am
Code: [Select]
File: "corrupter_crash.map" [compress] 60428/952482 bytes
File: "dam.map" [compress] 36999/634795 bytes
File: "estate.map" [compress] 52562/739174 bytes
File: "excavation.map" [compress] 52453/722671 bytes
File: "farm.map" [compress] 42801/617434 bytes
File: "fighter_crash.map" [compress] 52653/842501 bytes
File: "fueldump.map" [compress] 20641/292815 bytes
File: "harbor.map" [compress] 62333/1049987 bytes
File: "harvester_crash.map" [compress] 24485/351092 bytes
File: "lake_ice.map" [compress] 29544/458095 bytes
File: "lake_ice_big.map" [compress] 51448/800814 bytes
File: "mine.map" [compress] 60212/928772 bytes
File: "office.map" [compress] 81235/1134407 bytes
File: "oriental.map" [compress] 75640/1283463 bytes
File: "oriental_mosque.map" [compress] 45725/757326 bytes
File: "resort.map" [compress] 99554/1895396 bytes
File: "rivertown.map" [compress] 65712/1255528 bytes
File: "scout_crash.map" [compress] 30010/424775 bytes
File: "subway.map" [compress] 68957/1344562 bytes
File: "tower.map" [compress] 85893/1376571 bytes
File: "village.map" [compress] 69075/1177993 bytes
File: "wilderness.map" [compress] 47704/492862 bytes
File: "Makefile.win" [compress] 460/832 bytes
File: "compile.pl" [compress] 1223/2825 bytes
File: "compile.py" [compress] 1174/3147 bytes
SetOutPath: "$INSTDIR\base\maps\alienb"
File: "a_empty.map" [compress] 9287/137623 bytes
File: "a_hangar.map" [compress] 18164/248736 bytes
File: "a_lab.map" [compress] 5538/83175 bytes
File: "a_tunnel_h.map" [compress] 1419/12954 bytes
File: "a_tunnel_v.map" [compress] 1425/12976 bytes
File: "a_tunnel_x.map" [compress] 1423/17351 bytes
File: "a_tunnel_x2.map" [compress] 4018/56436 bytes
SetOutPath: "$INSTDIR\base\maps\b"
File: "aliencont.map" [compress] 28513/481302 bytes
File: "antimatter.map" [compress] 9984/130531 bytes
File: "base_empty.map" [compress] 1330/18304 bytes
File: "commando.map" [compress] 6478/91336 bytes
File: "drop.map" [compress] 23582/387387 bytes
File: "empty.map" [compress] 312/1682 bytes
File: "entrance.map" [compress] 7158/94119 bytes
File: "hospital.map" [compress] 9769/155148 bytes
File: "intercept.map" [compress] 13950/204179 bytes
File: "lab.map" [compress] 20791/349929 bytes
File: "missile.map" [compress] 11471/168916 bytes
File: "powerplant.map" [compress] 10222/157700 bytes
File: "quarters.map" [compress] 26809/426012 bytes
File: "radar.map" [compress] 9520/141145 bytes
File: "radar_adv.map" [compress] 5982/92726 bytes
File: "storage.map" [compress] 12384/183903 bytes
File: "teamroom.map" [compress] 10885/140026 bytes
File: "ufohangar.map" [compress] 13917/216405 bytes
File: "ufohangar_l.map" [compress] 17291/277112 bytes
File: "workshop.map" [compress] 20385/294172 bytes
SetOutPath: "$INSTDIR\base\maps\bomber_city"
File: "bc_drop_firebird.map" [compress] 2346/25328 bytes
File: "bc_drop_herakles.map" [compress] 1053/8144 bytes
File: "bc_main.map" [compress] 96818/1795596 bytes
SetOutPath: "$INSTDIR\base\maps\bridge"
File: "br_drop_firebird.map" [compress] 2233/23691 bytes
File: "br_drop_herakles.map" [compress] 1001/7327 bytes
File: "br_main.map" [compress] 59994/1047478 bytes
SetOutPath: "$INSTDIR\base\maps\cemetery"
File: "cem_d01.map" [compress] 264/737 bytes
File: "cem_drop_firebird.map" [compress] 5592/74478 bytes
File: "cem_g01.map" [compress] 1904/17448 bytes
File: "cem_g02.map" [compress] 1808/15658 bytes
File: "cem_p01.map" [compress] 1188/10100 bytes
File: "cem_p02.map" [compress] 1191/10080 bytes
File: "cem_p03.map" [compress] 1161/12646 bytes
File: "cem_p04.map" [compress] 1375/12797 bytes
File: "cem_p05.map" [compress] 1085/9754 bytes
File: "cem_p06.map" [compress] 1080/9754 bytes
File: "cem_p07.map" [compress] 1384/12844 bytes
File: "cem_p08.map" [compress] 1582/15445 bytes
File: "cem_p09.map" [compress] 1390/12264 bytes
File: "cem_p10.map" [compress] 1072/9241 bytes
File: "cem_p11.map" [compress] 1366/12112 bytes
File: "cem_p12.map" [compress] 1420/13074 bytes
File: "cem_p13.map" [compress] 1424/13049 bytes
SetOutPath: "$INSTDIR\base\maps\city_disco"
File: "cd_drop_firebird.map" [compress] 3803/45046 bytes
File: "cd_drop_herakles.map" [compress] 3110/39675 bytes
File: "cd_main.map" [compress] 41697/657578 bytes
SetOutPath: "$INSTDIR\base\maps\community_centre"
File: "cm_drop_firebird.map" [compress] 2099/22651 bytes
File: "cm_drop_herakles.map" [compress] 889/6397 bytes
File: "cm_main.map" [compress] 31242/491470 bytes
SetOutPath: "$INSTDIR\base\maps\construction"
File: "cs_drop_firebird.map" [compress] 2389/24485 bytes
File: "cs_drop_herakles.map" [compress] 1105/8045 bytes
File: "cs_main.map" [compress] 47966/781467 bytes
SetOutPath: "$INSTDIR\base\maps\country"
File: "c_c01.map" [compress] 7647/94010 bytes
File: "c_c02.map" [compress] 2979/30564 bytes
File: "c_craft_ufo_fighter.map" [compress] 2186/25139 bytes
File: "c_craft_ufo_harvester.map" [compress] 12503/210769 bytes
File: "c_d01.map" [compress] 1054/8671 bytes
File: "c_d02.map" [compress] 532/2513 bytes
File: "c_d03.map" [compress] 569/3965 bytes
File: "c_d04.map" [compress] 1166/7688 bytes
File: "c_d05.map" [compress] 1129/13243 bytes
File: "c_d06.map" [compress] 2946/36199 bytes
File: "c_d07.map" [compress] 1213/11036 bytes
File: "c_d08.map" [compress] 7202/111138 bytes
File: "c_d09.map" [compress] 1040/7603 bytes
File: "c_d10.map" [compress] 801/5752 bytes
File: "c_drop_firebird.map" [compress] 1770/19309 bytes
File: "c_h01.map" [compress] 2541/32057 bytes
File: "c_h02.map" [compress] 2523/33398 bytes
File: "c_h03.map" [compress] 3361/43353 bytes
File: "c_h04.map" [compress] 7932/86223 bytes
File: "c_h05.map" [compress] 4209/64398 bytes
File: "c_h06.map" [compress] 9121/138377 bytes
File: "c_r01.map" [compress] 709/5570 bytes
File: "c_r01_2.map" [compress] 711/5671 bytes
File: "c_r02.map" [compress] 751/5645 bytes
File: "c_r02_2.map" [compress] 762/5761 bytes
File: "c_r03.map" [compress] 869/6415 bytes
File: "c_r03_2.map" [compress] 894/6653 bytes
File: "c_r04.map" [compress] 793/7104 bytes
File: "c_r04_2.map" [compress] 769/7123 bytes
File: "c_r05.map" [compress] 547/4038 bytes
File: "c_r05_2.map" [compress] 554/4209 bytes
File: "c_re01.map" [compress] 707/4491 bytes
File: "c_re01_2.map" [compress] 701/4631 bytes
File: "c_re02.map" [compress] 554/2589 bytes
File: "c_re02_2.map" [compress] 557/2672 bytes
File: "c_re03.map" [compress] 613/2947 bytes
File: "c_re03_2.map" [compress] 605/3022 bytes
File: "c_re04.map" [compress] 482/2456 bytes
File: "c_re04_2.map" [compress] 530/2926 bytes
File: "c_s01.map" [compress] 611/3542 bytes
File: "c_s01_2.map" [compress] 654/3705 bytes
File: "c_s02.map" [compress] 467/2569 bytes
File: "c_s02_2.map" [compress] 450/2311 bytes
File: "c_s03.map" [compress] 345/2157 bytes
File: "c_s03_2.map" [compress] 364/2185 bytes
File: "c_s04.map" [compress] 570/5682 bytes
File: "c_s04_2.map" [compress] 467/3728 bytes
File: "c_s05.map" [compress] 513/3923 bytes
File: "c_s05_2.map" [compress] 495/3919 bytes
File: "c_s06.map" [compress] 529/3882 bytes
File: "c_s06_2.map" [compress] 519/3925 bytes
File: "c_s07.map" [compress] 515/3454 bytes
File: "c_v01.map" [compress] 1043/9554 bytes
File: "c_v01_2.map" [compress] 1084/10137 bytes
SetOutPath: "$INSTDIR\base\maps\druglord"
File: "dl_drop_firebird.map" [compress] 2601/29179 bytes
File: "dl_drop_herakles.map" [compress] 1418/12964 bytes
File: "dl_main.map" [compress] 42724/705804 bytes
SetOutPath: "$INSTDIR\base\maps\eaglenest"
File: "en_drop_firebird.map" [compress] 5617/64609 bytes
File: "en_main.map" [compress] 34654/483879 bytes
SetOutPath: "$INSTDIR\base\maps\farm"
File: "f_barn_a.map" [compress] 4969/63672 bytes
File: "f_barn_b.map" [compress] 5201/64182 bytes
File: "f_craft_ufo_bomber.map" [compress] 42154/947685 bytes
File: "f_craft_ufo_fighter.map" [compress] 5555/87820 bytes
File: "f_craft_ufo_harvester.map" [compress] 12857/215581 bytes
File: "f_craft_ufo_scout.map" [compress] 5202/82486 bytes
File: "f_drop_firebird.map" [compress] 2300/28040 bytes
File: "f_farmhouse_a.map" [compress] 19411/291085 bytes
File: "f_farmhouse_b.map" [compress] 19602/292254 bytes
File: "f_field_a.map" [compress] 2955/47898 bytes
File: "f_field_b.map" [compress] 3552/52536 bytes
File: "f_field_c.map" [compress] 4937/73140 bytes
File: "f_filler_l_a.map" [compress] 232/670 bytes
File: "f_filler_l_b.map" [compress] 4133/44043 bytes
File: "f_filler_m_a.map" [compress] 238/684 bytes
File: "f_filler_m_b.map" [compress] 692/4798 bytes
File: "f_filler_s.map" [compress] 179/592 bytes
File: "f_silo.map" [compress] 1635/17587 bytes
File: "f_stables_a.map" [compress] 4927/78536 bytes
File: "f_stables_b.map" [compress] 4819/77960 bytes
SetOutPath: "$INSTDIR\base\maps\forest"
File: "fr_a1.map" [compress] 1865/16941 bytes
File: "fr_a2.map" [compress] 5098/62673 bytes
File: "fr_craft_crash_fighter.map" [compress] 6155/66823 bytes
File: "fr_craft_crash_scout.map" [compress] 4482/46261 bytes
File: "fr_craft_ufo_fighter.map" [compress] 7363/80060 bytes
File: "fr_craft_ufo_harvester.map" [compress] 14385/231686 bytes
File: "fr_craft_ufo_scout.map" [compress] 4353/51965 bytes
File: "fr_drop_firebird.map" [compress] 2449/24092 bytes
File: "fr_f1.map" [compress] 1758/17043 bytes
File: "fr_f10.map" [compress] 5169/59695 bytes
File: "fr_f2.map" [compress] 828/6373 bytes
File: "fr_f3.map" [compress] 3563/36694 bytes
File: "fr_f4.map" [compress] 5934/75229 bytes
File: "fr_f5.map" [compress] 6739/92337 bytes
File: "fr_f6.map" [compress] 5454/53891 bytes
File: "fr_f7.map" [compress] 1784/16035 bytes
File: "fr_f8.map" [compress] 2841/30948 bytes
File: "fr_f9.map" [compress] 6127/71304 bytes
File: "fr_h1.map" [compress] 8339/115332 bytes
File: "fr_w1.map" [compress] 1320/9326 bytes
File: "fr_w2.map" [compress] 1045/7485 bytes
File: "fr_w3.map" [compress] 1004/7462 bytes
File: "fr_w4.map" [compress] 1329/9096 bytes
File: "fr_w5.map" [compress] 2978/25679 bytes
File: "fr_w6.map" [compress] 3373/30730 bytes
File: "fr_w7.map" [compress] 4233/44192 bytes
File: "fr_w8.map" [compress] 3083/26920 bytes
Title: Re: NSIS Compilation Errors
Post by: odie on January 12, 2009, 09:46:55 am
Code: [Select]
SetOutPath: "$INSTDIR\base\maps\frozen"
File: "st_craft_ufo_fighter.map" [compress] 2241/24494 bytes
File: "st_craft_ufo_scout.map" [compress] 2541/25283 bytes
File: "st_craft_ufo_supply.map" [compress] 7345/87615 bytes
File: "st_drop_firebird.map" [compress] 2396/28131 bytes
File: "st_h01.map" [compress] 6522/89688 bytes
File: "st_h02.map" [compress] 5327/64647 bytes
File: "st_h03.map" [compress] 1955/14161 bytes
File: "st_h04.map" [compress] 3552/46352 bytes
File: "st_h05.map" [compress] 2456/28366 bytes
File: "st_i01.map" [compress] 17182/256191 bytes
File: "st_i02.map" [compress] 8068/126527 bytes
File: "st_i03.map" [compress] 5759/81125 bytes
File: "st_i04.map" [compress] 7894/109042 bytes
File: "st_i05.map" [compress] 2367/29919 bytes
File: "st_i06.map" [compress] 2807/32662 bytes
File: "st_i07.map" [compress] 10962/168257 bytes
File: "st_mp_t2.map" [compress] 2087/15249 bytes
File: "st_n01.map" [compress] 1136/12118 bytes
File: "st_n02.map" [compress] 1892/21533 bytes
File: "st_n03.map" [compress] 544/4014 bytes
File: "st_n04.map" [compress] 443/2743 bytes
File: "st_n05.map" [compress] 285/1927 bytes
SetOutPath: "$INSTDIR\base\maps\gasstation"
File: "gas_drop_firebird.map" [compress] 3576/44392 bytes
File: "gas_main.map" [compress] 38684/606332 bytes
SetOutPath: "$INSTDIR\base\maps\ice"
File: "ice_drop_firebird.map" [compress] 1683/18807 bytes
File: "ice_r01.map" [compress] 4912/73431 bytes
File: "ice_r02.map" [compress] 5423/80602 bytes
File: "ice_r03.map" [compress] 4796/73766 bytes
SetOutPath: "$INSTDIR\base\maps\industrial"
File: "craft_ufo_fighter.map" [compress] 4278/42858 bytes
File: "craft_ufo_scout.map" [compress] 2957/28486 bytes
File: "craft_ufo_supply.map" [compress] 8276/95430 bytes
File: "drop_firebird.map" [compress] 2320/23712 bytes
File: "drop_herakles.map" [compress] 1245/12428 bytes
File: "fr01.map" [compress] 2568/28249 bytes
File: "fr02.map" [compress] 1014/5752 bytes
File: "fr03.map" [compress] 655/2713 bytes
File: "fr04.map" [compress] 777/4073 bytes
File: "fr05.map" [compress] 4638/73760 bytes
File: "fr06_3x2.map" [compress] 21159/333227 bytes
File: "fr07.map" [compress] 838/8987 bytes
File: "fr08.map" [compress] 990/7764 bytes
File: "fr09.map" [compress] 1256/16841 bytes
File: "fr10.map" [compress] 184/615 bytes
File: "fr11_1x2.map" [compress] 5372/83454 bytes
File: "fr12_3x3.map" [compress] 30158/482906 bytes
File: "fr13_2x1.map" [compress] 1532/10122 bytes
File: "fr14_1x3.map" [compress] 7801/110635 bytes
File: "fr15_2x1.map" [compress] 1755/15462 bytes
File: "fr16_5x1.map" [compress] 10568/136947 bytes
File: "inter_saracen.map" [compress] 1685/14920 bytes
File: "inter_stiletto.map" [compress] 1371/10585 bytes
SetOutPath: "$INSTDIR\base\maps\italy"
File: "it_drop_firebird.map" [compress] 3662/37205 bytes
File: "it_main.map" [compress] 43334/672858 bytes
SetOutPath: "$INSTDIR\base\maps\japan"
File: "ja_drop_firebird.map" [compress] 1815/16613 bytes
File: "ja_main.map" [compress] 35888/549393 bytes
SetOutPath: "$INSTDIR\base\maps\laboratory"
File: "lab_drop_firebird.map" [compress] 2183/23058 bytes
File: "lab_main.map" [compress] 61366/878492 bytes
SetOutPath: "$INSTDIR\base\maps\mart"
File: "ma_drop_firebird.map" [compress] 2277/24953 bytes
File: "ma_main.map" [compress] 46951/739682 bytes
SetOutPath: "$INSTDIR\base\maps\military_convoy"
File: "mc_drop_firebird.map" [compress] 2440/24716 bytes
File: "mc_main.map" [compress] 41628/567768 bytes
SetOutPath: "$INSTDIR\base\maps\oriental"
File: "or_craft_crash_fighter.map" [compress] 8914/84677 bytes
File: "or_craft_ufo_scout.map" [compress] 4492/47652 bytes
File: "or_drop_firebird.map" [compress] 3722/40956 bytes
File: "or_house_a.map" [compress] 4651/61416 bytes
File: "or_house_b.map" [compress] 7803/114873 bytes
File: "or_house_c.map" [compress] 10853/160666 bytes
File: "or_house_d.map" [compress] 3921/53092 bytes
File: "or_house_e.map" [compress] 9193/147177 bytes
File: "or_house_f.map" [compress] 11321/173593 bytes
File: "or_house_g.map" [compress] 3139/40105 bytes
File: "or_house_h.map" [compress] 14499/237003 bytes
File: "or_mosque.map" [compress] 7078/138778 bytes
File: "or_shed_a.map" [compress] 8008/113920 bytes
File: "or_stand_a.map" [compress] 2008/24320 bytes
File: "or_stand_b.map" [compress] 2904/33893 bytes
File: "or_trees_a.map" [compress] 1233/15463 bytes
File: "or_trees_b.map" [compress] 1782/19260 bytes
File: "or_well.map" [compress] 1186/12828 bytes
SetOutPath: "$INSTDIR\base\maps\shelter"
File: "shelter_corridor_ne.map" [compress] 3219/48051 bytes
File: "shelter_corridor_nw.map" [compress] 3286/49238 bytes
File: "shelter_entrance.map" [compress] 4660/69789 bytes
File: "shelter_hallnorth_a.map" [compress] 9557/155895 bytes
File: "shelter_hallnorth_b.map" [compress] 10060/162506 bytes
File: "shelter_hallsouth_a.map" [compress] 10897/168631 bytes
File: "shelter_hallsouth_b.map" [compress] 10124/152825 bytes
File: "shelter_room_e_a.map" [compress] 10798/208402 bytes
File: "shelter_room_e_b.map" [compress] 10702/207850 bytes
File: "shelter_room_n_a.map" [compress] 10334/185935 bytes
File: "shelter_room_n_b.map" [compress] 10355/185890 bytes
File: "shelter_room_w_a.map" [compress] 10572/206348 bytes
File: "shelter_room_w_b.map" [compress] 10626/211826 bytes
File: "shelter_solid.map" [compress] 526/4637 bytes
SetOutPath: "$INSTDIR\base\maps\spedition"
File: "sp_drop_firebird.map" [compress] 2814/29419 bytes
File: "sp_main.map" [compress] 36387/497311 bytes
SetOutPath: "$INSTDIR\base\maps\stadium"
File: "st_drop_firebird.map" [compress] 1284/12329 bytes
File: "st_main.map" [compress] 31513/635167 bytes
SetOutPath: "$INSTDIR\base\maps\transport"
File: "tra_drop_firebird.map" [compress] 2900/28901 bytes
File: "tra_main.map" [compress] 36671/576737 bytes
SetOutPath: "$INSTDIR\base\maps\tropic"
File: "tr_craft_crash_fighter.map" [compress] 5622/46052 bytes
File: "tr_craft_crash_scout.map" [compress] 4769/32794 bytes
File: "tr_craft_ufo_corrupter.map" [compress] 29768/504865 bytes
File: "tr_craft_ufo_fighter.map" [compress] 3349/38156 bytes
File: "tr_craft_ufo_harvester.map" [compress] 13451/226303 bytes
File: "tr_craft_ufo_scout.map" [compress] 2643/30053 bytes
File: "tr_drop_firebird.map" [compress] 2837/37631 bytes
File: "tr_f01.map" [compress] 674/6432 bytes
File: "tr_f02.map" [compress] 385/2393 bytes
File: "tr_f03.map" [compress] 600/4801 bytes
File: "tr_f04.map" [compress] 719/6347 bytes
File: "tr_f05.map" [compress] 1144/9918 bytes
File: "tr_f06.map" [compress] 1262/10519 bytes
File: "tr_f07.map" [compress] 608/4178 bytes
File: "tr_h01.map" [compress] 4081/57725 bytes
File: "tr_h02.map" [compress] 9998/156264 bytes
File: "tr_h03.map" [compress] 9615/128550 bytes
File: "tr_h04.map" [compress] 2485/31069 bytes
File: "tr_p01.map" [compress] 477/3593 bytes
File: "tr_p02.map" [compress] 945/7650 bytes
File: "tr_r01.map" [compress] 3411/38730 bytes
File: "tr_r02.map" [compress] 881/7868 bytes
File: "tr_r03.map" [compress] 1457/13061 bytes
File: "tr_r04.map" [compress] 2632/32723 bytes
File: "tr_r05.map" [compress] 1564/18330 bytes
SetOutPath: "$INSTDIR\base\maps\ufocrash"
File: "uc_craft_crash_corrupter.map" [compress] 41169/664141 bytes
File: "uc_craft_crash_fighter.map" [compress] 4217/44831 bytes
File: "uc_craft_crash_harvester.map" [compress] 20599/299081 bytes
File: "uc_craft_crash_scout.map" [compress] 2448/22583 bytes
File: "uc_craft_crash_supply.map" [compress] 7505/89643 bytes
File: "uc_d01.map" [compress] 4971/59487 bytes
File: "uc_d02_harvester.map" [compress] 1647/18858 bytes
File: "uc_d03.map" [compress] 2745/32139 bytes
File: "uc_drop_firebird.map" [compress] 2166/23075 bytes
File: "uc_h01.map" [compress] 2473/31356 bytes
File: "uc_h02.map" [compress] 2412/29490 bytes
File: "uc_h03.map" [compress] 15262/233389 bytes
File: "uc_h04.map" [compress] 9471/144444 bytes
File: "uc_h05.map" [compress] 5764/83451 bytes
File: "uc_h06.map" [compress] 5481/67600 bytes
File: "uc_h07.map" [compress] 18322/270181 bytes
SetOutPath: "$INSTDIR\base\maps\village"
File: "vil_c01.map" [compress] 17213/264780 bytes
File: "vil_c02.map" [compress] 10393/153008 bytes
File: "vil_c03.map" [compress] 11421/168461 bytes
File: "vil_c04.map" [compress] 13837/196137 bytes
File: "vil_d01.map" [compress] 1927/22745 bytes
File: "vil_d02.map" [compress] 1599/17427 bytes
File: "vil_d03.map" [compress] 1630/17183 bytes
File: "vil_d04.map" [compress] 1032/7243 bytes
File: "vil_d05.map" [compress] 1595/17841 bytes
File: "vil_d06.map" [compress] 911/5710 bytes
File: "vil_d07.map" [compress] 648/3248 bytes
File: "vil_drop_firebird.map" [compress] 5419/68669 bytes
File: "vil_h01.map" [compress] 17985/309263 bytes
File: "vil_h02.map" [compress] 2448/25509 bytes
File: "vil_h03.map" [compress] 7727/107207 bytes
File: "vil_h04.map" [compress] 2441/25851 bytes
File: "vil_r01.map" [compress] 9332/134275 bytes
File: "vil_r02.map" [compress] 7047/99524 bytes
File: "vil_r03.map" [compress] 2851/39834 bytes
File: "vil_s01.map" [compress] 2271/26777 bytes
File: "vil_s02.map" [compress] 1217/10629 bytes
File: "vil_s03.map" [compress] 1175/8898 bytes
File: "vil_s04.map" [compress] 900/9252 bytes
File: "vil_s05.map" [compress] 891/8986 bytes
File: "vil_s06.map" [compress] 909/8074 bytes
File: "vil_s07.map" [compress] 2501/28950 bytes
File: "vil_s08.map" [compress] 1637/13421 bytes
File: "vil_s15.map" [compress] 1059/9278 bytes
SetOutPath: "$INSTDIR\tools"
File: "importmd2.ms" [compress] 2843/10001 bytes
File: "importmd3.ms" [compress] 7678/28021 bytes
File: "md2tagExport.ms" [compress] 5118/26720 bytes
File: "findrep.pl" [compress] 1855/4174 bytes
File: "map2obj.pl" [compress] 3526/11468 bytes
File: "md2.pl" [compress] 3591/12317 bytes
File: "md2_tag.pl" [compress] 1411/3954 bytes
File: "ufo2dot.pl" [compress] 7498/32455 bytes
File: "q3radiant_eula.doc" [compress] 6159/30208 bytes
File: "q3radiant.exe" [compress] 982513/2850872 bytes
File: "ufo2map.exe" [compress] 0/208384 bytes
SetOutPath: "$INSTDIR\radiant"
File: "..\..\..\radiant\*.dll" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "C:\SVN Update\src\ports\windows\installer.nsi" on line 237 -- aborting creation process

Error from line 237 -
Code: [Select]
    file "..\..\..\radiant\*.dll"
I am sorry to do this, but somehow, i checked with Word and though it says 19835 characters w spaces, i still exceeded 20000 characters' post.... so have to split over a couple of entries - the codes.
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 12, 2009, 01:10:22 pm
Read this (http://ufoai.ninex.info/forum/index.php?topic=2830.msg22510#msg22510).
Title: Re: NSIS Compilation Errors
Post by: odie on January 13, 2009, 04:55:40 am
Read this (http://ufoai.ninex.info/forum/index.php?topic=2830.msg22510#msg22510).

Hi BTAxis!

Thanks for the link! It helped to bring me from line 237 past to 244.

I have this error now:
Code: [Select]
File: "..\..\..\radiant\i18n\en\LC_MESSAGES\*.mo" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "C:\SVN Update\src\ports\windows\installer.nsi" on line 244 -- aborting creation process

What i have done is went to:
1) contrib/dlls/radiant_runtime.zip
2) Unzipped the radiant_runtime.zip into a folder default (called radiant_runtime). Then i moved the whole folder to \radiant\radiant_runtime.
Did not worked initially, and i copy to BOTH \radiant\radiant_runtime and \radiant. There is where i got error at line 244.

Many thanks for your patience BTAxis! :)
Title: Re: NSIS Compilation Errors
Post by: geever on January 13, 2009, 09:58:01 am
language files need to be compiled. use compile_po.bat (contrib/scripts).

-geever
Title: Re: NSIS Compilation Errors
Post by: Kildor on January 13, 2009, 10:01:34 am
I don`t sure that he compiled radiant at all, it has different target.

Script should run automaticaly after radiant`s compiling end.

And he needs to use compile_po.bat /radiant (or /uforadiand, reed its output)
Title: Re: NSIS Compilation Errors
Post by: odie on January 14, 2009, 05:50:29 am
language files need to be compiled. use compile_po.bat (contrib/scripts).

-geever

hi geever,

I confirmed the compile_po.bat issue.
I ran the file manually under dos and ensured it work. Somehow it did not worked properly in windows mode and the screen closed with the error.... nvm dat. Got it to work....for the PO part.

But still same error at 244:
Code: [Select]
   /oname=outfile one_file_only)
Error in script "C:\SVN Update\src\ports\windows\installer.nsi" on line 244 -- aborting creation process

I am still curious if my radiant is really like as kildor said, not compiled properly. Would really appreciate some clarifications on that pls.

====
*Edit*
Ah, i traced the issue to msgfmt.exe being missing. I tried searching in forum here, and on google and it does not help much.

Not familar with this file, was wondering if this is another dependent dll missing.....
Thanks for help again!
Title: Re: NSIS Compilation Errors
Post by: Mattn on January 14, 2009, 07:35:16 am
this should be included in your codeblocks package that you downloaded.
Title: Re: NSIS Compilation Errors
Post by: Kildor on January 14, 2009, 08:35:04 am
> I confirmed the compile_po.bat issue.
I ran the file manually under dos and ensured it work. Somehow it did not worked properly in windows mode and the screen closed with the error.... nvm dat. Got it to work....for the PO part.
What`s error? Give full text of error to us.
And, what`s system do you use?
Title: Re: NSIS Compilation Errors
Post by: Destructavator on January 14, 2009, 07:25:36 pm
Odie, this might be somewhat of a long shot, but when you compiled in codeblocks did you choose "(re)build project" or "(re)build workspace"?

I've found when I put together the game for the installers I upload that choosing "project" with "ufo" activated doesn't build everything, so I select "rebuild workspace" in the codeblocks menu, which builds all the components including the language files, radiant, and ufo2map as well as the main game.

I just checked the wiki and saw it doesn't clarify this - the wiki might need an update if this is indeed the issue.
Title: Re: NSIS Compilation Errors
Post by: odie on January 15, 2009, 04:09:35 am
> I confirmed the compile_po.bat issue.
I ran the file manually under dos and ensured it work. Somehow it did not worked properly in windows mode and the screen closed with the error.... nvm dat. Got it to work....for the PO part.
What`s error? Give full text of error to us.
And, what`s system do you use?

Hi, I use a self-built system here @ work (OEM - Odie's Essentrically Manufactured.... haha, jk):
(Not My Home, i use a quad at home....)
1) Core 2 E4600 (2 CPU at 2.4GHz)
2) 2GB (800MHz Ram)
3) 256 MB GeForce Graphics Card
4) Win XP SP 3 (fully patched as of well..... Jan 09 Update).
The rest are i guess redundant info.....

My compiler is Codeblocks SVN 5177 - which i thnk should be the same one as the one i should d/l. :P

Odie, this might be somewhat of a long shot, but when you compiled in codeblocks did you choose "(re)build project" or "(re)build workspace"?

For the compilation, I tried a few methods.
1) Activate Codeblocks initially, File, Open, \build\projects\ufo.workspace
Then Build, Build Workspace - did not work.

2) Right cliking on \build\projects\ufo.workspace
Selecting Build - did not work.

3) Right cliking on \build\projects\ufo.workspace
Selecting ReBuild (clean) - also did not work.

I've found when I put together the game for the installers I upload that choosing "project" with "ufo" activated doesn't build everything, so I select "rebuild workspace" in the codeblocks menu, which builds all the components including the language files, radiant, and ufo2map as well as the main game.

I just checked the wiki and saw it doesn't clarify this - the wiki might need an update if this is indeed the issue.

Okie, i tried this today, and i have a log for us here:
<See Compile_Log.txt>

Hope this help us.

[attachment deleted by admin]
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 15, 2009, 04:12:31 am
You're using an outdated version of gettext. Download the latest C::B package or update gettext manually. Kildor has it up for download here (http://kildor.miranda.im/ufoai/gettext.zip).
Title: Re: NSIS Compilation Errors
Post by: odie on January 15, 2009, 04:18:54 am
You're using an outdated version of gettext. Download the latest C::B package or update gettext manually. Kildor has it up for download here (http://kildor.miranda.im/ufoai/gettext.zip).

Excellent!
Thanks BTAxis! You are the best!

Okie, downloaded it, wondering which directory should this go pls?

Many thanks!

*Edit*
Ah, it says in the batch file something abt being in path. Let me trying pathing it in OS. :P

*Edit2*
Hi BTAxis and staff team again,

Okie, tried pathing (in the system variables) and recompiling in the Codeblocks. Still the same Error.
See The Error:


Okie, Yay! I have progressed much.

Odie, this might be somewhat of a long shot, but when you compiled in codeblocks did you choose "(re)build project" or "(re)build workspace"?

I've found when I put together the game for the installers I upload that choosing "project" with "ufo" activated doesn't build everything, so I select "rebuild workspace" in the codeblocks menu, which builds all the components including the language files, radiant, and ufo2map as well as the main game.

I just checked the wiki and saw it doesn't clarify this - the wiki might need an update if this is indeed the issue.

Destructavator, u were right. I simply cleanup and rebuilt everything from scratch and i was surprised i have progressed much.

Here's the new error log.....
See Compile_Error3.txt

Something abt the final product output cannot be done.

In case u r wondering, the system has full rights to those directory - i.e. i am the administrator on the system alrite. Logged in as a full-admin-rights. :P

And in case u r wondering, my project's drive has well over 80G of disk space in that partition. :)

*Edit (again)*
Hey BTAxis and Destructavator,

Thanks alot alot!
I managed to compile! Yayness!

The final 'warning and error' log is in Compile_Error4.txt

I have a feedback on how i got it to work, remember previous post about how i failed with Compile_Error3.txt ?

All i did was simply to build again (not clean but right click and compile using nsis)...... and it works... very strange rite? Hmmm.

Oh, oh, how can i contribute by helping the folks here to compile DEV versions? I dun have a webby that's big enough to upload the compiled installer (which is 527MB at moment)....

Is there a similar SVN way i can commit a file? Or the such?

Many thanks. I thnk from now, i can help to do the compilation, cos its really not even an hr to do for all steps on my computer here. So that will really help Destructavator..... :)

[attachment deleted by admin]
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 15, 2009, 12:16:26 pm
Compilation is usually fast enough (though map compilation can take a long time if there's a big change to ufo2map). It's hosting that's the biggest issue.
Title: Re: NSIS Compilation Errors
Post by: odie on January 16, 2009, 02:34:21 am
Compilation is usually fast enough (though map compilation can take a long time if there's a big change to ufo2map). It's hosting that's the biggest issue.

*Nods* BTAxis. Hosting has always been the issue for most....

Was wondering if Sourceforge's allocated project space allows for me to upload compiled exe??

I mean, i can do the compilation, now that its working, and help probably maintain it to onli keep 1 of the latest Revision. Though we have to be practical that this cant be done every day haha..... probably once a wk might be good.... thats if we can find a place to host that well over 500MB file (for win32).
Title: Re: NSIS Compilation Errors - R21931
Post by: odie on January 21, 2009, 09:12:53 am
Okie, I reupdate again this morning and rebuild the maps and rebuild the codes.

I am still dead at the NSIS compilation again with the line 244 error. <See attached compilation log>.

I have previously been ok with the R21800+.

Could anyone pls advise ??

[attachment deleted by admin]
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 21, 2009, 02:56:23 pm
You didn't compile radiant properly.
Title: Re: NSIS Compilation Errors
Post by: odie on January 22, 2009, 04:50:37 am
You didn't compile radiant properly.

Hi BTAxis,

Hey again! Thanks. Yes i do.... i have been trying to make sense of the radiant issues but i cant seemed to compile them successfully.....

Could you pls direct me to the right link for this, or a way to get this running? It seemed i have onli managed to get this part by chance last time, and it did not work for me this time...

I have looked at every single search instance on "gtkradiant", "radiant" on the forum and none of them are helpful. Although i can do as Destructavator does, omitting the radiant / simply copying the radiant.exe and gtkradiant.exe into the folders and modifying the nsis script, i am still interested in getting it to compile properly.

None of the wiki seemed to address this gtk-thingy well...... although i stands to be corrected.

Many thanks for your patience, BTAxis.

:)

PS: And yes, i was a C programmer previously..... though haven touched that in years, now more of an IT administrator and network engineer. lol. And boy, do i love the extent of programming done in this.... i can so appreciate the TONS of hrs u folks must have put into the source code. :)
Title: Re: NSIS Compilation Errors
Post by: Muton on January 22, 2009, 06:11:20 pm
ever tried this http://ufoai.ninex.info/forum/index.php?topic=3208.0 ?

I've merged all *.cmd's and procedures to build ufoai
incl. error checking

maybe you passed something
Title: Re: NSIS Compilation Errors
Post by: odie on January 23, 2009, 03:14:27 am
ever tried this http://ufoai.ninex.info/forum/index.php?topic=3208.0 ?

I've merged all *.cmd's and procedures to build ufoai
incl. error checking

maybe you passed something

Hi Muton, i have got all the batch files and procedures ran - "Codeblocks issues", "compile_maps /ufoai", "compile_maps /uforadiant", moving "\src\po\*.po" to "\base\i18n", NSIS compiler.

The step that was not clearly documented is well..... the radiant part. I clarify later, and perhaps get us a pdf manual....

You didn't compile radiant properly.

Hi Folks again! I am back!
Okie, i managed to compile the new version R21950 completely and successfully.

Thanks BTAxis for the concise issue on radiant. The issue WAS radiant, as i realised that codeblocks require both "BUILD" and "BUILD WORKSPACE". The "BUILD" option is for the main codings, whilst the "BUILD WORKSPACE" option is for compiling radiant and other environment.

BTAxis, perhaps you could let future beta testers / compilers know that this is a necessary option, as not everyone is familiar with Codeblocks. (Even though i was a C programmer for so long, i also do not use / come across codeblocks.....) That would really be helpful.

Odie, this might be somewhat of a long shot, but when you compiled in codeblocks did you choose "(re)build project" or "(re)build workspace"?

I've found when I put together the game for the installers I upload that choosing "project" with "ufo" activated doesn't build everything, so I select "rebuild workspace" in the codeblocks menu, which builds all the components including the language files, radiant, and ufo2map as well as the main game.

I just checked the wiki and saw it doesn't clarify this - the wiki might need an update if this is indeed the issue.

And why is Destructavator quoted? Because it was his very this point that got me to relook my procedures..... I have tried building w/o rebuilding workspace, or vice versa, but never both. And i did a CLEAN in between the procedures (duh, my bad mistake).......

Thanks Destructavator!

Nv knew that within CB: that Build and Build Workspace are different..... it was not so on my usual C or C++ compilers. lol.

Thanks again!
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 23, 2009, 12:28:57 pm
Thanks BTAxis for the concise issue on radiant. The issue WAS radiant, as i realised that codeblocks require both "BUILD" and "BUILD WORKSPACE". The "BUILD" option is for the main codings, whilst the "BUILD WORKSPACE" option is for compiling radiant and other environment.

BTAxis, perhaps you could let future beta testers / compilers know that this is a necessary option, as not everyone is familiar with Codeblocks. (Even though i was a C programmer for so long, i also do not use / come across codeblocks.....) That would really be helpful.

This is not true. Build Workspace builds everything, from the game to the editor. You don't need both.

You should make it a habit to pick rebuild workspace (not build workspace), though. Building may skip some files it deems unchanged, and that can cause problems.
Title: Re: NSIS Compilation Errors
Post by: odie on January 28, 2009, 09:11:17 am
This is not true. Build Workspace builds everything, from the game to the editor. You don't need both.

You should make it a habit to pick rebuild workspace (not build workspace), though. Building may skip some files it deems unchanged, and that can cause problems.

Ah, BTAxis, i verified this again this morning when doing the R22076. If i were to just Build or Rebuild, it would not compile Radiant. Thats why need to Rebuild Workspace. Either way, from now, i will just clean workspace and Build Workspace from Scratch.

I will indeed spend sometime to do up the SVN guide bah in pdf. I will post somewhere once its done. :)

Thanks again for the helps!
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 29, 2009, 11:24:23 pm
Build or rebuild WILL build Radiant if you activate the gtkradiant project first. By default, the ufo project is active.
Title: Re: NSIS Compilation Errors
Post by: odie on January 30, 2009, 09:19:23 am
Oh btw, for the records,

I figured out the missing links in b/w.

If i wan to build an installer,
1) Not only do i need to update using TortiseSVN (i am on WinXP)
2) I need to compile and build workspace (Rebuild workspace if i want a clean one)
3) I need to also run \base\archives.bat (which refreshes the pk3 files)
4) I need to thereafter compile NSIS compiler too.

This way will all things work.
Give me some time to work on that pdf.
Will send to BTAxis or one of the developers for approval so it helps future beta-testers. :)
Title: Re: NSIS Compilation Errors
Post by: BTAxis on January 30, 2009, 11:45:56 am
We don't really have much use for a PDF. It would be more useful to have some less obscure wiki documentation.