b2 icon indicating copy to clipboard operation
b2 copied to clipboard

pkg-config.import in windows msys2

Open fasxmut opened this issue 3 years ago • 2 comments

pkg-config.import thename : requirements <name>thelibname ; does not work correct in msys2 b2 jamfile.

but pkg-config --libs thelibname works correctly in msys2 commandline.

I think b2 is using native way in windows msys2, so it searches windows style path, but pkg-config is using unix style path.

(Both ucrt (gcc) and clang version of pkg-config do not work correctly in b2 jamfile.)

I dont know how to solve it.

fasxmut avatar Apr 05 '22 13:04 fasxmut

Can you provide a full, but minimal, test project and with instructions on how to reproduce the problem. Assume I don't have msys2 installed, which I don't :-)

grafikrobot avatar May 04 '22 00:05 grafikrobot

Can you provide a full, but minimal, test project and with instructions on how to reproduce the problem. Assume I don't have msys2 installed, which I don't :-)

I am sorry I have removed windows from my pc for a long time, so I can not repeat the operations now.

But I can guess I have to build b2 for msys2-msys, which can use the unix variant of pkg-config; not build b2 for msys2-ucrt (gcc). pkg-config in msys2 is for msys2-msys unix subsystem I think.

fasxmut avatar Jun 23 '22 12:06 fasxmut