Re: Incompatibility of gtkmm 2.14 with boost 1.35/38 on Win32/MSVC 2008
- From: Armin Burgmeier <armin arbur net>
- To: Саша Иваненко <kitovyj mail ru>
- Cc: gtkmm-list gnome org
- Subject: Re: Incompatibility of gtkmm 2.14 with boost 1.35/38 on Win32/MSVC 2008
- Date: Mon, 16 Mar 2009 15:30:43 +0100
On Mon, 2009-03-16 at 12:57 +0300, Саша Иваненко wrote:
> Hi!
>
> I encountered a problem using gtkmm with boost 1.35/1.38 libraries on Win32/MSVC 2008.
>
> Simple code provided below works fine until I add gtkmm_2_4_vc90_d property set as described here : http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-visual-studio-new-project.html.
>
> Code:
>
> #include "stdafx.h"
>
> int main(int argc, char* argv[])
> {
> float v = 2.2;
> boost::format fmt("%.2f");
> fmt % v; // <- AV here
> return 0;
> }
>
> After adding gtkmm property set access violation occurs during the execution of the program(in Debug
> configuration). It is certainly not a boost libraries problem.
Are you using prebuilt boost binaries from somewhere? If you have built
boost yourself, then you probably need to make sure that you build using
the same runtime (using multi-threaded debug DLL as runtime). Maybe you
will also need to build boost with the /vd2 flag.
I'll try to reproduce the problem to see what's going wrong.
> Any suggestions?
>
> Thank you.
Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]