|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Posts: 2
|
I have installed scons and cross-compiler on my linux machine. I have downloaded NSIS source also. But when i go to the NSIS extract directory and say scons, It is throwing errors.
Here is the error after i type :: scons APPEND_CPPPATH=/usr/local/cross-tools/include/ ===================== gcc -o build/release/AdvSplash/advsplash.o -c -Os -Wall -fno-strict-aliasing -I/usr/local/cross-tools/include Contrib/AdvSplash/advsplash.c Contrib/AdvSplash/advsplash.c:176: warning: 'dllexport' attribute directive ignored g++ -s -mwindows -Wl,--file-alignment,512 -Wl,-Map,build/release/AdvSplash/AdvSplash.map -Wl,-e_DllMain@12 -nostdlib -Wl,--exclude-libs,msvcrt.a -shared -o build/release/AdvSplash/AdvSplash.dll build/release/AdvSplash/advsplash.o SCons/Config/memcpy.c SCons/Config/memset.c -Lbuild/release/AdvSplash -LContrib/AdvSplash -lkernel32 -luser32 -lgdi32 -lwinmm -Wl,--out-implib,build/release/AdvSplash/AdvSplash.lib -Wl,--output-def,build/release/AdvSplash/AdvSplash.def cc1plus: error: unrecognized command line option "-mwindows" cc1plus: error: unrecognized command line option "-mwindows" scons: *** [build/release/AdvSplash/AdvSplash.dll] Error 1 scons: building terminated because of errors. =========================== |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Looks like your cross-compiler isn't MinGW compatible. You can build just makensis and copy the plug-ins from a released version as suggested in the documentation.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2007
Posts: 2
|
Thanks kichik!!! I have already made the makensis by the option suggested by u. Its working fine.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|