|
Boost : |
From: Saurabh Ramya (saurabhramya_at_[hidden])
Date: 2006-04-16 13:24:48
Thanks for your reply.
But I am just including the header files of the boost like muthex.hpp and not using the DLL.
But even though itried by changing the setting to the Debug MT DLL"
And I am getting warning
"non dll-interface class 'boost::noncopyable' used as base for dll-interface class 'boost::mutex'"
And at the end I get error
fatal error LNK1104: cannot open file "boost_thread-vc6-mt-gd-1_31.lib"
Sebastian Redl <sebastian.redl_at_[hidden]> wrote:
Saurabh Ramya wrote:
>I am getting error
>
> "fatal error C1189: #error : "Mixing a dll boost library with a static runtime is a really bad idea..."
>
> I am building a application which uses boost threads and mutexs using vc6.
> My runtime library is "Debug MultiThreaded".
>
> please help to solve this issue?
>
>
>
This is really an issue for boost-users. Anyway, change your runtime
library to "Debug Multithreaded DLL" and it should work. Don't forget to
change the runtime to "Multithreaded DLL" in release mode.
Sebastian Redl
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk