Technical support > Windows
Trouble with the installer.nsi script
BTAxis:
Possibly the installer installs MinGW to a different directory than the one used in the prepackaged version. If it's a different location, replace your previously installed MinGW with the one from the prepackaged version.
Afterthought_btw:
Found the problem! I had downloaded the right one, and put in the settings described on the page. BUT[/i] The zip file I downloaded (the one you linked to) had MinGW inside the Codeblocks folder. The paths in the instructions needed MinGW in the development folder. i.e. a level up. So either the zip file needs fixing, with both the MinGW folder and the Codeblocks folder side by side in a folder called development and just extract it to c:, or else the paths need to be fixed in the instructions at
http://ufoai.ninex.info/wiki/index.php/Code::Blocks.
If I'd been a bit cleverer I would have noticed the discrepancy.
Many many thanks for all of your help.
Can I suggest on the wiki page for the compiling of the sourse that you have a 'checklist' of what has to be done, in what order. All the information is there alright, but it isn't obvious which order it is meant to be in. At least for idiots like me! :)
One more thing... LOL I thought that was all, but nope... I've obviously done something else wrong.
--- Code: ---warning: File: "..\..\..\radiant\*.dll" -> no files found. (C:\Users\Greg\Desktop\Ufo AI\src\ports\windows\installer.nsi:203)
File: "..\..\..\radiant\*.xlink" -> 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 204 -- aborting creation process
--- End code ---
TimMayle:
--- Quote from: BTAxis on September 08, 2008, 11:01:09 pm ---Possibly the installer installs MinGW to a different directory than the one used in the prepackaged version. If it's a different location, replace your previously installed MinGW with the one from the prepackaged version.
--- End quote ---
You're right. I installed minGW from the installer of the MinGw official web site. I shouldn't.
The C::B packages contains all that is needed.
I moved the MinGW up a level and corrected my C::B paths. Now it's compiling much better.
Hope this thread will help others.
Thanks.
Tim
BTAxis:
--- Quote from: Afterthought_btw on September 08, 2008, 11:06:13 pm ---Found the problem! I had downloaded the right one, and put in the settings described on the page. BUT[/i] The zip file I downloaded (the one you linked to) had MinGW inside the Codeblocks folder. The paths in the instructions needed MinGW in the development folder. i.e. a level up. So either the zip file needs fixing, with both the MinGW folder and the Codeblocks folder side by side in a folder called development and just extract it to c:, or else the paths need to be fixed in the instructions at
--- End quote ---
You're right. I'll take care of this.
--- Quote ---One more thing... LOL I thought that was all, but nope... I've obviously done something else wrong.
--- Code: ---warning: File: "..\..\..\radiant\*.dll" -> no files found. (C:\Users\Greg\Desktop\Ufo AI\src\ports\windows\installer.nsi:203)
File: "..\..\..\radiant\*.xlink" -> 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 204 -- aborting creation process
--- End code ---
--- End quote ---
This was actually an error in the script. I've fixed it. Update it from SVN and try again.
Afterthought_btw:
Still got an error:
--- Code: ---SetOutPath: "$INSTDIR\radiant\docs"
File: "..\..\..\radiant\docs\*.html" -> 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 207 -- aborting creation process
--- End code ---
And thanks again for your patience :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version