[Clam-devel]Having MSVC tool chain causes problems while targets building in Windows
JunJun
wangjun at dsp.ac.cn
Wed May 7 02:42:53 PDT 2008
While trying install, meet problem as below:
..........
-Wl,--out-implib,scons\libs\core\libclam_core.a -Wl,--output-def,scons\libs\core\clam_core.def
Creating library file: scons\libs\core\libclam_core.a
Install file: "scons\libs\core\clam_core.dll" as "D:\mingw\local\lib\clam_core.dll"
Install file: "scons\libs\core\libclam_core.a" as "D:\mingw\local\lib\libclam_core.a"
Install file: "scons\libs\core\clam_core.exp" as "D:\mingw\local\lib\clam_core.exp"
scons: building terminated because of errors.
scons/sconstools\versionInfo.py:14: DeprecationWarning: raising a string exception is deprecated
raise "No svn revision found for "+ whatToCheck
scons: *** [D:\mingw\local\lib\clam_core.exp] scons\libs\core\clam_core.exp: No such file or directory
Finding the cause:
"no_import_lib
When set to non-zero, suppresses creation of a corresponding Win32 static import lib by the
SharedLibrary builder when used with MinGW or Microsoft Visual Studio. This also suppresses
creation of an export (.exp) file when using Microsoft Visual Studio.
Maybe, having the msvc tool chain is messing up things again"
As a test, change the line in Sconstruct from:
clam_env = Environment( ENV=os.environ, tools=['default'], CCFLAGS='')
to:
clam_env = Environment( ENV=os.environ, tools=['mingw'], CCFLAGS='')
Then done building targets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080507/3cbc4023/attachment.html>
More information about the clam-devel
mailing list