[Ginga-hackers] Cross-compiling the ginga-ar to st plataform.

Gabriel Boiero gabriel.boiero at gmail.com
Fri Feb 25 19:41:37 CET 2011


Hello Bruno,

Be careful with the paths, you are using all paths with references to
your host environment, not the target environment (STM). All your
pkgconfig files inside your /opt/STM dir should have to ponit to libs
and headers inside the /opt too. It is a common issue that all
downloaded and precompiled libraries for STM have wrong paths, they
are intended to be used directly in the target architecture, not for
cross compiling, check this paths and others that could have the same
wrong paths inside in the remaining pkg config files. Also check all
".la" files, they usually have the same issue.

Best regards,

Gabriel.

LIFIA - Universidad Nacional de La Plata



2011/2/25 Bruno Seabra Lima <bslima at telemidia.puc-rio.br>:
> I tried to that:
>
> prefix=/usr/local
> exec_prefix=${prefix}
> libdir=${prefix}/lib
> sharedlibdir=${libdir}
> includedir=${prefix}/include
>
> Name: boost
> Description: boost c++
> Version: 1.4.6
>
> Requires:
> Libs: -L${libdir} -L${sharedlibdir} -lboost
> Cflags: -I${includedir}
>
> --- But still if no lucky =/ does anyone has the boost pkgconfig file to
> give me some tips ?
>
> Thanks.
>
> Bruno Seabra Mendonça Lima
> --------------
> Bacharel em Ciência da Computação - UFMA
> Mestrando da PUC-Rio
> Pesquisador Laboratório Telemidia (PUC-Rio)
> Pesquisador Colaborador LAWS (UFMA)
> Pesquisador/Desenvolvedor Intacto Software
> -------------
> www.bslima.com
>
>
> On Fri, Feb 25, 2011 at 12:09 PM, Arturo Zambrano
> <arturo at lifia.info.unlp.edu.ar> wrote:
>>
>> Defining the pkgconfig file?
>>
>> On Fri, Feb 25, 2011 at 10:57 AM, Bruno Seabra Lima
>> <bslima at telemidia.puc-rio.br> wrote:
>>>
>>> Sorry to be posting in english, but my spanish sucks a lot ...
>>> I'm trying to compile the ginga-ar to the ST plataform, but i got an
>>> error on the boost library.
>>> It cant find the boost library pkgconfig, but researching in the web the
>>> boost lib doesnt have support for
>>> pkgconfig, so how can i bypass this problem ?
>>>
>>> Att,
>>> ============
>>> -- The C compiler identification is GNU
>>> -- The CXX compiler identification is GNU
>>> -- Check for working C compiler:
>>> /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-gcc
>>> -- Check for working C compiler:
>>> /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-gcc -- works
>>> -- Detecting C compiler ABI info
>>> -- Detecting C compiler ABI info - done
>>> -- Check for working CXX compiler:
>>> /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-g++
>>> -- Check for working CXX compiler:
>>> /opt/STM/STLinux-2.4/devkit/sh4/bin/sh4-linux-g++ -- works
>>> -- Detecting CXX compiler ABI info
>>> -- Detecting CXX compiler ABI info - done
>>> -- Could NOT find Boost
>>> -- checking for module 'boost>=1.40.0'
>>> --   package 'boost>=1.40.0' not found
>>> CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:266
>>> (message):
>>>   A required package was not found
>>> Call Stack (most recent call first):
>>>   /usr/share/cmake/Modules/FindPkgConfig.cmake:320
>>> (_pkg_check_modules_internal)
>>>
>>>   /home/raptor7/Downloads/ginga.ar/tags/release/1.1.0/src/CMakeModules/AddBoost.cmake:6
>>> (PKG_CHECK_MODULES)
>>>   CMakeLists.txt:35 (ADD_BOOST)
>>> ======================
>>> Bruno Seabra Mendonça Lima
>>> --------------
>>> Bacharel em Ciência da Computação - UFMA
>>> Mestrando da PUC-Rio
>>> Pesquisador Laboratório Telemidia (PUC-Rio)
>>> Pesquisador Colaborador LAWS (UFMA)
>>> Pesquisador/Desenvolvedor Intacto Software
>>> -------------
>>> www.bslima.com
>>>
>>> _______________________________________________
>>> Ginga-hackers mailing list
>>> Ginga-hackers at lists.ourproject.org
>>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers
>>>
>>
>
>
> _______________________________________________
> Ginga-hackers mailing list
> Ginga-hackers at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers
>
>



More information about the Ginga-hackers mailing list