> 20 нояб. 2014 г., в 3:38, Greg Jung <[email protected]> написал(а):
> 
> I'm running cmake3.0.1 from an msys2 shell, 
> it will read the  environment variables as well as if started from msys,
> but the reverse isn't working: execute_process lacks PKG_CONFIG_PATH
> and so does not find pango
> 
> include(pkg-config)
> 
> message(STATUS "-- -- pkg_check_modules compiled -- -- --\n"
>       "PKG_CONFIG_FOUND          ? ${PKG_CONFIG_FOUND}\n"
>       "PKG_CONFIG_EXECUTABLE     ? ${PKG_CONFIG_EXECUTABLE}")
> 
>  execute_process(
>     COMMAND ${PKG_CONFIG_EXECUTABLE} --version
>     OUTPUT_VARIABLE cmdoutput
>     RESULT_VARIABLE failed)
> message(STATUS " (${failed}) execute: ${PKG_CONFIG_EXECUTABLE} --version \n"
>               " ${cmdoutput}")
>  execute_process(
>     COMMAND ${PKG_CONFIG_EXECUTABLE} --libs pango
>     OUTPUT_VARIABLE cmdoutput
>     RESULT_VARIABLE failed)
> message(STATUS " (${failed}): ${PKG_CONFIG_EXECUTABLE} --libs pango \n"
>               " ${cmdoutput}")
> 
> result: =============================
> -- -- pkg_check_modules compiled -- -- --
> PKG_CONFIG_FOUND ? TRUE
> PKG_CONFIG_EXECUTABLE ? C:/msys64/usr/bin/pkg-config.exe
> (0) execute: C:/msys64/usr/bin/pkg-config.exe --version
> 0.28
> (1): C:/msys64/usr/bin/pkg-config.exe --libs pango
> 
> in shell screen:
>  Package pango was not found in the pkg-config search path.
> Perhaps you should add the directory containing `pango.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'pango’ found

You need install mingw version of pkg-config:
pacman -S mingw-w64-x86_64-pkg-config 

Regards,
Alexey.
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to