- NSIS Discussion
- compiler error #12345
Archive: compiler error #12345
CuteBird_HL
2nd April 2005 12:36 UTC
compiler error #12345
Can any one help me,i donot how to do.
Generating uninstaller... Internal compiler error #12345: deflateInit() failed(initialization failed [-2]).
Note: you may have one or two (large) stale temporary file(s)
left in your temporary directory (Generally this only happens on Windows 9x).
CuteBird_HL
2nd April 2005 12:46 UTC
i compile tow file,one is main.nsi,the other is language.nsh.
I compile small files,less than 2 MB.
kichik
2nd April 2005 12:46 UTC
You should upgrade to the latest version. Newer versions provide a better error message for this case. It should give a better clue to what exactly happens.
CuteBird_HL
2nd April 2005 12:51 UTC
But i'm already the latest version
kichik
2nd April 2005 12:56 UTC
Oh right, it's the same message for lzma too...
POSIX or Windows?
CuteBird_HL
2nd April 2005 13:17 UTC
OK,thanks.
i also find this problem
SetCompressor lzma
SetCompressorDictSize 32
but,why?
kichik
2nd April 2005 13:46 UTC
Are you copmiling on Windows or POSIX?
CuteBird_HL
2nd April 2005 14:20 UTC
Windows
kichik
2nd April 2005 15:41 UTC
Can you attach a complete minimal example reproducing this error?
CuteBird_HL
2nd April 2005 23:09 UTC
i dont know ,but i try it
CuteBird_HL
2nd April 2005 23:28 UTC
sorry i cannot
kichik
5th April 2005 21:12 UTC
Why can't you upload it?
I'll add some more pin-pointed error messages over the weekend and upload a compiled version so we can find out exactly what happens.
vilja
11th October 2007 13:03 UTC
I'm getting the same error and I have MakeNSISW 2.3. What is causing this?
kichik
14th October 2007 22:28 UTC
What's the exact error text? Usually this is caused by compressing too much. You can't compress over 2GB. There are some solutions available on the forum and Wiki like CABSetup.
demiller9
23rd February 2008 03:30 UTC
"Internal compiler error #12345: error creating mmap the size of 66564805." I've just started getting this error tonight... and I am using version 2.35.
My last good compile shows the total files' size of this:
Using zlib compression.
EXE header size: 50688 / 35328 bytes
Install code: 50506 / 255498 bytes
Install data: 257573050 / 823940028 bytes
Uninstall code+data: 61150 / 65510 bytes
CRC (0x28EC9E5C): 4 / 4 bytes
Total size: 257735398 / 824296368 bytes (31.2%)
(257MB compressed, 824MB raw). I've rebooted and it is still failing. The last change I made was 200 lines below the line where it now fails.
What do I do ??
Edit
Oooofff! Sorry for panicing so quickly. I had run too low on disk space. When I deleted some of the iso files I'd been creating, the error went away.
Don :o
Animaether
29th April 2009 02:44 UTC
fwiw - I just got this error as well.. plenty of disk space, but..
1. RAM was almost all used
2. pagefile was disabled, so nowhere to swap to