在 2014/9/29 10:24, Alexey Pavlov 写道:
> 29 сент. 2014 г., в 5:42, Matrix <[email protected]> написал(а):
>
>> Hi:
>>
>> I find out the pkgconf not work correctly with valac
>>
>> first, if i just install vala and its dependencies, valac works well
>>
>> but after i install the cmake which was dependened on the pkgconf package, 
>> then valac not worked...
>>
>> it just say could not find <glib.h> such as following :
>>
>> C:/MSYS32/home/Matrix/vala_test/serialport.vala.c:5:18: fatal error: glib.h: 
>> No such file or directory
>>   #include <glib.h>
>>                    ^
>> compilation terminated.
>> Compilation failed: 1 error(s)
>>
>> i fixed it with replace the pkg-config.exe use the Gtk official's pkg-config 
>> precompiled binary...
>>
>> i think there is something wrong with the pkgconf package….
> CMake is native windows application as pkgconf too. Pkg-config files, 
> installed by programs, contain UNIX paths and pkgconf return them by queries. 
> CMake can’t convert such paths the leads it not find anything.
>
> Regards,
> Alexey.
>> Best Regards!
>> ------------------------------------------------------------------------------
>> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk_______________________________________________
>> Msys2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
cmake does not matter, if i use valac generate pure c souces, and pass 
cflags use `pkg-config --cflags xxx`. it works...

just valac embed build have problem...

------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to