windows - SConscript StaticLibrary attribute error. -


i couldn't find information on net, kindly ask one.

i have build environment set properly,
compiler 'cl' vs express package.

i try build static library,
when set tools 'default' works, when set 'msvc'
have following error:

scons: reading sconscript files ... attributeerror: 'sconsenvironment' object has no attribute 'library':   file "d:\n\workspace\cpp\sipher\sconstruct", line 37:     scypherlib_gen = env.sconscript(os.path.join(libbuilddir, 'lib_gen', 'sconscript'), 'env')   file "c:\python26\lib\site-packages\scons-2.0.1\scons\script\sconscript.py", line 551:     return _sconscript(self.fs, *files, **subst_kw)   file "c:\python26\lib\site-packages\scons-2.0.1\scons\script\sconscript.py", line 260:     exec _file_ in call_stack[-1].globals   file "d:\n\workspace\cpp\proj\src\sconscript", line 5:     lib = env.library(target='myprog', source = src) 

so i've asked scons gurus , they've told me need add:
'mslink', , 'mslib' tools.
fixed problem.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -