Skip to content
⌘ NSIS Forum Archive

Error opening stub

3 posts

KSadeck#

Error opening stub

Hello,

Today I encountered a problem after building makensis and trying to run it. I received this error.
Error: opening stub "...../nsis/Stubs/zlib"
Error initalizing CEXEBuild: error setting default stub

After looking through google, I learned that someone else had this same problem, although they were able to fix it.

This is a link to that thread.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


It seemed that everything went fine when the SConstruct was replaced, but that link is dead and my attempts to find it have failed.

If anyone could help me I'd greatly appreciate it. I apologize if a solution to this problem is in another thread.

(/Stubs/zlib) doesn't exist
kichik#
The problem, as you said yourself, that Stubs/zlib doesn't exist. Building just makensis is not enough, you have to build the stubs as well. If you only need makensis because you're not on Windows, you can use the stubs from a release. Follow the build documentation for more details.