Am Freitag, 4. September 2009 12:03:47 schrieb Andreas Theofilu:
> Hi,
>
> I'm developing a KDE application with KDE4 (4.2) and using Mapnik to read
> some shape files and render a map. The program is written in C++ and I'm
> using the C++ API to access Mapnik. My application work, but at the moment
> where I link with KDE libraries, the filter expressions stop work. Mapnik
> still accept them and if I create a map file with "save_map()" all filter
> expressions are there. The problem is, that none of them seems to match. A
> small test program without KDE libraries showed, that the filter
> expressions do match. But as soon as I link with KDE libraries, the filters
> stop to work. So only the rules without any filter expression are drawn.
>
[...]
I've found the solution!! It's the compiler option "-fvisibility=hidden". This 
is set with cmake. To deactivate it, it's enough to add the option
"-fvisibility=default" and compile the whole program again. Then the filters 
of Mapnik work as expected.
-- 
Andreas Theofilu
http://www.TheosSoft.net/

                     --==| Enjoy the science of Linux! |==--

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to