|
|
#1 |
|
Junior Member
Join Date: Jan 2007
Posts: 5
|
NSIS source code's problems
I download NSIS source code 2.22 version. And Install python and Scons. My software environment is WinXP and VC8.0
I want to build a windows program. How can I do? |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jan 2007
Posts: 5
|
question 2:
I key in "scons -U makensis" to the command line. And build targets Success! but makensis.exe is a command line program. I run makensis.exe, print error information: Error: opening stub "D:\project\nsis-2.22-src\build\release\makensis\Stubs\zlib" Error initalizing CEXEBuild: error setting default stub what is the stub? |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2007
Posts: 5
|
question 3:
I look the source code.(build.cpp line:3344) FILE *tmpfile = fopen(file.c_str(), "rb"); file.c_str() is a directory(D:\project\nsis-2.22-src\build\release\makensis\Stubs\zlib), not a file name. I need help... |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,811
|
zlib is the filename (no exstension)
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
Also installing VC8.0 ServicePack1 might be of help.
You write that us use XP - XP+SP2 i assume? if not install SP2 also. And you forgot to menton which Scons version you are using. Make sure you use the CORRECT Scons version, which is not said to be always the latest version... "Just do it" |
|
|
|
|
|
#6 | |
|
Major Dude
|
Quote:
the stubs arent build with that command. try using: scons MSTOOLKIT=yes dist hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Jan 2007
Posts: 5
|
Quote:
thank you very much! |
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jan 2007
Posts: 5
|
I have a new question.
I want to DEBUG the source code. What TOOLs may I use? VC8.0? or others? |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
What do you consider "debug" the sourcecode?
"Just do it" |
|
|
|
|
|
#10 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Compile using DEBUG=yes and debug using a tool that supports PDB files. VC8.0 supports PDB and so does windbg.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|