Re: create_cairo_context resulting in segmentation fault (Windows, GCC, Code::Blocks)

Paul Kertscher <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Again, I managed to get it working by myself. I compiled cairomm with 
MinGW again, but this time with the --enable-static option. After adding 
the respective library file (libcairomm-1.0.a) to the linker, it worked. 
Just in case, that in future someone had the same problem.

Cheers,
PK

Am 16.07.2012 18:19, schrieb Paul Kertscher:
> Hi @all,
>
> As you might've read in my preceding post, I am currently trying to learn using Gtkmm with Cairomm. I followed several examples saying, that I had to create a cairo context in the on_exposed_event of a DrawingArea. Unfortunately, when I'm trying to call window->create_cairo_context() I end up with an segmentation fault.
>   
> I am running windows 7 64bit, on a core i7. I'm writing my code in Code::Blocks and compiling with the gcc shipped with C::B. For I was not able to use cairomm out of the Gtkmm box with GCC, I compiled it by myself with MinGW.
>
> Hopefully this information is sufficient for anyone to give me some hints, on what I'm doing wrong.
>
> Thanks in advance,
> Paul K
>


-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.