Technical support > Windows
Trouble with the installer.nsi script
BTAxis:
Radiant is part of the SVN trunk these days. If you checked out trunk, you should have the sources for it. They can be compiled with Code::Blocks (actually MinGW, C::B is just an IDE), same as the game.
You could edit the NSI script to exclude radiant, but it's probably a good idea to include it.
Afterthought_btw:
Yup - already tried that actually and it compiled fine, but I still get the same error.
--- Code: ---SetOutPath: "$INSTDIR\radiant"
File: "jpeg62.dll" [compress] 0/153966 bytes
File: "..\..\..\radiant\radiant.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Users\Greg\Desktop\Ufo AI\src\ports\windows\installer.nsi" on line 202 -- aborting creation process
--- End code ---
TimMayle:
Hi guys,
Hum ...and any advice about this error while running the nsi script ? :
--- Code: ---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 "O:\Eclipse-WS\UFOAI\src\ports\windows\installer.nsi" on line 90 -- aborting creation process
--- End code ---
I've a fresh SVN update, and ran archives.bat already, but I can't figure yet how to have this exe files.
Thanks.
Tim
Afterthought_btw:
Are you sure you've run archives.bat? I was fooled by Vistas habit of closing windows originally, and just assumed it had worked fine, but actually it just kept giving errors I couldn't see! :) I hadn't got 7-zip installed, and if you don't, then Archives hasn't run properly.
Go to http://ufoai.ninex.info/wiki/index.php/Code::Blocks, and do what it tells you to do there. This will mean you can compile the game (and I think will solve that error)
You have to compile the maps. C:\...\Ufo AI\contrib\scripts\compile_maps.bat
and compile the language files. Go here: http://ufoai.ninex.info/wiki/index.php/Po
And then run archives.bat.
And I think that's about as far as I have got... =/
But if this doesn't work, ignore me... ;) I've been trying to get through this myself without bothering anyone, and can't remember everything I have done, or haven't! :)
BTAxis:
--- Quote from: Afterthought_btw on September 08, 2008, 08:42:30 pm ---Yup - already tried that actually and it compiled fine, but I still get the same error.
--- End quote ---
Are you sure? Do you have that radiant.exe file? If not, chances are compilation wasn't successful. Are you (re)building the radiant project in C::B? If so, check the output - maybe there's a problem linking the binary. You tend not to see that in the error log.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version