Cairo problem

BlitzMax Forums/Brucey's Modules/Cairo problem

Henri(Posted 2014) [#1]
Hello Brucey,

I have Cairo wrapper version 1.25 , and it seems there is
Import "src/cairo-traps-compositor.c"
statement in source.bmx file, but no such C-file is present in src-folder. I get an error message when trying to compile in debug-mode, but not in release-mode. Not a show stopper, just wondering.

-Henri


Henri(Posted 2014) [#2]
The file IS present, it was just filtered out because I didn't spesify wildcard at the end of search-string, sorry. Reason why I was searching this in the first place was this error message:

cairo-traps-compositor.c.debug.win32.x86.o):cairo-traps-compositor.c:(.text+0x2db2): undefined reference to `_cairo_tristrip_extents'

-Henri


Brucey(Posted 2014) [#3]
Source looks fine, but I won't know until I get on a non-Linux machine to do a build (Linux doesn't build its own from the source as there's usually a libcairo on the system).


Henri(Posted 2014) [#4]
Adding
Import "src/cairo-tristrip.c"
into source.bmx file seems to remedy the problem :-)

-Henri


Brucey(Posted 2014) [#5]
Ah. The SVN source already has that line in it - at least, that's what I'm looking at : line 162 of source.bmx.


Henri(Posted 2014) [#6]
Bad luck on my side I guess. Is the SVN-repository still at 'http://maxmods.googlecode.com/svn/trunk' ?

EDIT: I'm behind so many firewalls at work so I'll test when back home

-Henri


Brucey(Posted 2014) [#7]
And there's a github mirror too :-)

https://github.com/maxmods/bah.mod/commit/519981503575229be04e33f250b8796d8a17f459


Henri(Posted 2014) [#8]
Thanks :-)

-Henri