[swift-users] Linking errors with latest git versions...
neeleym at ociweb.com
Mon Mar 26 08:05:54 CEST 2012
In executing swiften-config.exe -cflags I get the following:
/DBOOST_ALL_NO_LIB /DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_FILESYSTEM_VERSION=2
WIN32_WINNT=0x0501 /DIDNA_STATIC /DXML_STATIC /D_ITERATOR_DEBUG_LEVEL=0
Obviously the /D_ITERATOR_DEBUG_LEVEL=0 is set such that the conflict will
occur. Is there a flag for SCons that I can use to set this to 2?
From: Marc Neeley [mailto:neeleym at ociweb.com]
Sent: Sunday, March 25, 2012 7:00 PM
To: swift-users at swift.im
Subject: Linking errors with latest git versions...
I pulled down the latest Swift git repo content and built it. It claims
everything built ok and I got clean libs, etc. When I built my project
using the new Swiften.lib I get a stream of linking errors that follow the
same pattern as shown below:
Swiften_Boost.lib(connection.obj) : error LNK2038: mismatch detected for
'_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in
Of course MessageEngine.obj is my code and Swiften_Boost.lib is from the
build of the Swift source. This is occurring for Swiften.lib as well. The
error above typically is an indicator that one is being built with release
in mind and the other in debug. My project is being built with Debug on and
I was building cleanly with a pull from Feb 9, 2012 just yesterday. Has
something changed in scons such that the debug version is not the default?
Is there a switch for scons to force a debug build of the Swift libs?
Principal Software Engineer
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users