<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Bruno,<br><br>As Gabriel is telling you, you must be very careful with paths. Here is my pc file for directfb, called directfb.pc and located at /opt/STM/STLinux-2.3/devkit/sh4/target/usr/lib/pkgconfig.<br><br><span style="font-family: courier,monaco,monospace,sans-serif;">prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">exec_prefix=${prefix}</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">libdir=${prefix}/lib</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">includedir=${prefix}/include</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br
 style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Name: DirectFB</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Description: Graphics and windowing library for the Linux frame buffer device</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Version: 1.0.1</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Requires: fusion direct</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Libs: -L${libdir} -ldirectfb -lpthread -ldl -lz</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family:
 courier,monaco,monospace,sans-serif;">Cflags: -D_REENTRANT -I${prefix}/include/directfb</span><br><br>According to this,&nbsp; you should have a similar file called boost.pc that looks like this:<br><br><span style="font-family: courier,monaco,monospace,sans-serif;">prefix=</span><span style="font-family: courier,monaco,monospace,sans-serif;">/opt/STM/STLinux-2.3/devkit/sh4/target/usr</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">exec_prefix=${prefix}</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">libdir=${exec_prefix}/lib</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">includedir=${prefix}/include</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family:
 courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Name: boost</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Description: Boost library</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Version: 1.40.0</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Requires: </span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Conflicts:</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Libs: </span><br><span style="font-family: courier,monaco,monospace,sans-serif;"><br><span style="font-family:
 arial,helvetica,sans-serif;">I suppose you have libraries in "/opt/STM/STLinux-2.3/devkit/sh4/target/usr</span></span>/lib" and headers in<span style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;"> "/opt/STM/STLinux-2.3/devkit/sh4/target/usr</span></span>/include".<br><br>Remember you will also need a "pc" file for each of the boost libraries.<br><br>You could also ask for support here:<br><br><a href="https://bugzilla.stlinux.com/">https://bugzilla.stlinux.com/</a><br style="font-family: arial,helvetica,sans-serif;"><br>Hope this help you!<br><br>Greetings,<br>Ezequiel.<br><br>--- El <b>vie 25-feb-11, Gabriel Boiero <i>&lt;gabriel.boiero@gmail.com&gt;</i></b> escribi�:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Gabriel Boiero &lt;gabriel.boiero@gmail.com&gt;<br>Asunto: Re: [Ginga-hackers] Cross-compiling the ginga-ar to st
 plataform.<br>Para: "Lista de developers y hackers de Ginga, en espa�, �, ol" &lt;ginga-hackers@lists.ourproject.org&gt;<br>Cc: "Bruno Seabra Lima" &lt;bslima@telemidia.puc-rio.br&gt;<br>Fecha: viernes, 25 de febrero de 2011, 16:41<br><br><div class="plainMail">Hello Bruno,<br><br>Be careful with the paths, you are using all paths with references to<br>your host environment, not the target environment (STM). All your<br>pkgconfig files inside your /opt/STM dir should have to ponit to libs<br>and headers inside the /opt too. It is a common issue that all<br>downloaded and precompiled libraries for STM have wrong paths, they<br>are intended to be used directly in the target architecture, not for<br>cross compiling, check this paths and others that could have the same<br>wrong paths inside in the remaining pkg config files. Also check all<br>".la" files, they usually have the same issue.<br><br>Best regards,<br><br>Gabriel.<br><br>LIFIA - Universidad
 Nacional de La Plata<br><br><br><br>2011/2/25 Bruno Seabra Lima &lt;<a ymailto="mailto:bslima@telemidia.puc-rio.br" href="/mc/compose?to=bslima@telemidia.puc-rio.br">bslima@telemidia.puc-rio.br</a>&gt;:<br>&gt; I tried to that:<br>&gt;<br>&gt; prefix=/usr/local<br>&gt; exec_prefix=${prefix}<br>&gt; libdir=${prefix}/lib<br>&gt; sharedlibdir=${libdir}<br>&gt; includedir=${prefix}/include<br>&gt;<br>&gt; Name: boost<br>&gt; Description: boost c++<br>&gt; Version: 1.4.6<br>&gt;<br>&gt; Requires:<br>&gt; Libs: -L${libdir} -L${sharedlibdir} -lboost<br>&gt; Cflags: -I${includedir}<br>&gt;<br>&gt; --- But still if no lucky =/ does anyone has the boost pkgconfig file to<br>&gt; give me some tips ?<br>&gt;<br>&gt; Thanks.<br>&gt;<br>&gt; Bruno Seabra Mendon�a Lima<br>&gt; --------------<br>&gt; Bacharel em Ci�ncia da Computa��o - UFMA<br>&gt; Mestrando da PUC-Rio<br>&gt; Pesquisador Laborat�rio Telemidia (PUC-Rio)<br>&gt; Pesquisador Colaborador LAWS
 (UFMA)<br>&gt; Pesquisador/Desenvolvedor Intacto Software<br>&gt; -------------<br>&gt; www.bslima.com<br>&gt;<br>&gt;<br>&gt; On Fri, Feb 25, 2011 at 12:09 PM, Arturo Zambrano<br>&gt; &lt;<a ymailto="mailto:arturo@lifia.info.unlp.edu.ar" href="/mc/compose?to=arturo@lifia.info.unlp.edu.ar">arturo@lifia.info.unlp.edu.ar</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Defining the pkgconfig file?<br>&gt;&gt;<br>&gt;&gt; On Fri, Feb 25, 2011 at 10:57 AM, Bruno Seabra Lima<br>&gt;&gt; &lt;<a ymailto="mailto:bslima@telemidia.puc-rio.br" href="/mc/compose?to=bslima@telemidia.puc-rio.br">bslima@telemidia.puc-rio.br</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Sorry to be posting in english, but my spanish sucks a lot ...<br>&gt;&gt;&gt; I'm trying to compile the ginga-ar to the ST plataform, but i got an<br>&gt;&gt;&gt; error on the boost library.<br>&gt;&gt;&gt; It cant find the boost library pkgconfig, but researching in the web the<br>&gt;&gt;&gt; boost lib doesnt
 have support for<br>&gt;&gt;&gt; pkgconfig, so how can i bypass this problem ?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Att,<br>&gt;&gt;&gt; ============<br>&gt;&gt;&gt; -- The C compiler identification is GNU<br>&gt;&gt;&gt; -- The CXX compiler identification is GNU<br>&gt;&gt;&gt; -- Check for working C compiler:<br>&gt;&gt;&gt; /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-gcc<br>&gt;&gt;&gt; -- Check for working C compiler:<br>&gt;&gt;&gt; /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-gcc -- works<br>&gt;&gt;&gt; -- Detecting C compiler ABI info<br>&gt;&gt;&gt; -- Detecting C compiler ABI info - done<br>&gt;&gt;&gt; -- Check for working CXX compiler:<br>&gt;&gt;&gt; /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-g++<br>&gt;&gt;&gt; -- Check for working CXX compiler:<br>&gt;&gt;&gt; /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-g++ -- works<br>&gt;&gt;&gt; -- Detecting CXX compiler ABI info<br>&gt;&gt;&gt; -- Detecting CXX compiler ABI info -
 done<br>&gt;&gt;&gt; -- Could NOT find Boost<br>&gt;&gt;&gt; -- checking for module 'boost&gt;=1.40.0'<br>&gt;&gt;&gt; -- &nbsp; package 'boost&gt;=1.40.0' not found<br>&gt;&gt;&gt; CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266<br>&gt;&gt;&gt; (message):<br>&gt;&gt;&gt; &nbsp;&nbsp;A required package was not found<br>&gt;&gt;&gt; Call Stack (most recent call first):<br>&gt;&gt;&gt; &nbsp;&nbsp;/usr/share/cmake/Modules/FindPkgConfig.cmake:320<br>&gt;&gt;&gt; (_pkg_check_modules_internal)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; &nbsp;&nbsp;/home/raptor7/Downloads/ginga.ar/tags/release/1.1.0/src/CMakeModules/AddBoost.cmake:6<br>&gt;&gt;&gt; (PKG_CHECK_MODULES)<br>&gt;&gt;&gt; &nbsp;&nbsp;CMakeLists.txt:35 (ADD_BOOST)<br>&gt;&gt;&gt; ======================<br>&gt;&gt;&gt; Bruno Seabra Mendon�a Lima<br>&gt;&gt;&gt; --------------<br>&gt;&gt;&gt; Bacharel em Ci�ncia da Computa��o - UFMA<br>&gt;&gt;&gt; Mestrando da PUC-Rio<br>&gt;&gt;&gt;
 Pesquisador Laborat�rio Telemidia (PUC-Rio)<br>&gt;&gt;&gt; Pesquisador Colaborador LAWS (UFMA)<br>&gt;&gt;&gt; Pesquisador/Desenvolvedor Intacto Software<br>&gt;&gt;&gt; -------------<br>&gt;&gt;&gt; www.bslima.com<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; Ginga-hackers mailing list<br>&gt;&gt;&gt; <a ymailto="mailto:Ginga-hackers@lists.ourproject.org" href="/mc/compose?to=Ginga-hackers@lists.ourproject.org">Ginga-hackers@lists.ourproject.org</a><br>&gt;&gt;&gt; <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Ginga-hackers mailing list<br>&gt; <a ymailto="mailto:Ginga-hackers@lists.ourproject.org"
 href="/mc/compose?to=Ginga-hackers@lists.ourproject.org">Ginga-hackers@lists.ourproject.org</a><br>&gt; <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers</a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>Ginga-hackers mailing list<br><a ymailto="mailto:Ginga-hackers@lists.ourproject.org" href="/mc/compose?to=Ginga-hackers@lists.ourproject.org">Ginga-hackers@lists.ourproject.org</a><br><a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers</a><br></div></blockquote></td></tr></table><br>




      &nbsp;