Prev Previous Post   Next Post Next
Old 3rd September 2018, 17:16   #1
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
Building nsisbi on non-Windows

Has anyone on this forum managed to build nsisbi on macOS or Linux? I'm using the same SCons parameters that work for standard NSIS, but always run into this error:

code:

/usr/local/opt/scons/bin/scons makensis STRIP=0 ZLIB_W32=~/Desktop/zlib128-dll SKIPUTILS=NSIS Menu
Last 15 lines from ~/Library/Logs/Homebrew/nsisbi/01.scons:
^~~~~~~~
ftello
/usr/include/stdio.h:332:8: note: 'ftello' declared here
off_t ftello(FILE * __stream);
^
Source/util.cpp:653:10: error: use of undeclared identifier 'fseeko64'; did you mean 'fseeko'?
return fseeko64(fp, pos, filepos);
^~~~~~~~
fseeko
/usr/include/stdio.h:331:6: note: 'fseeko' declared here
int fseeko(FILE * __stream, off_t __offset, int __whence);
^
2 errors generated.
scons: *** [build/urelease/makensis/util.o] Error 1
scons: building terminated because of errors.



I've also tried specifying different TARGET_ARCH values and 64-bit versions of zlib, but to no avail.
Yathosho is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump