[swift-users] Linking errors with latest git versions...
Marc Neeley
neeleym at ociweb.com
Mon Mar 26 01:59:59 CEST 2012
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
MessageEngine.obj
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?
Thanks,
Marc Neeley
Principal Software Engineer
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </lists/pipermail/swift-users/attachments/20120325/64a0fb5e/attachment.html>
More information about the swift-users
mailing list