njlr / apache-pulsar-demo

Apache Pulsar demo using Buckaroo
https://buckaroo.pm
3 stars 1 forks source link

Windows dependencies resolution #1

Open aahmed-se opened 5 years ago

aahmed-se commented 5 years ago

This occurs in my win 10 env with buckaroo 2.2.0 buck version 2019.01.10.01

Don't see in osx env.

The target 'buckaroo.github.buckaroo-pm.icu4c//:icu4c' tried to reference 'source\samples\cal\uprint.h'.
This is not allowed because 'source\samples\cal\uprint.h' can only be referenced from 'source\samples\cal\BUCK'
which is its closest parent 'BUCK' file.

You should find or create a rule in 'source\samples\cal\BUCK' that references
'source\samples\cal\uprint.h' and use that in 'buckaroo.github.buckaroo-pm.icu4c//:icu4c'
instead of directly referencing 'source\samples\cal\uprint.h'.
More info at:
https://buckbuild.com/concept/build_rule.html

This issue might also be caused by a bug in buckd's caching.
Please check whether using `buck kill` resolves it.

This error happened while trying to get dependency 'buckaroo.github.buckaroo-pm.icu4c//:icu4c' of target 'buckaroo.github.buckaroo-pm.boost-regex//:regex'
njlr commented 5 years ago

Try doing a buckaroo upgrade. I think this issue was fixed recently.

njlr commented 5 years ago

BTW, the port of icu4c does not currently work on Windows since it requires MinGW. We will have to find a work-around.

aahmed-se commented 5 years ago

is it something in the port

this says it should compile fine https://wiki.qt.io/Compiling-ICU-with-MSVC

I ran buckaroo upgrade but still the same issue

The target 'buckaroo.github.buckaroo-pm.icu4c//:icu4c' tried to reference 'source\samples\cal\uprint.h'.
This is not allowed because 'source\samples\cal\uprint.h' can only be referenced from 'source\samples\cal\BUCK'
which is its closest parent 'BUCK' file.

You should find or create a rule in 'source\samples\cal\BUCK' that references
'source\samples\cal\uprint.h' and use that in 'buckaroo.github.buckaroo-pm.icu4c//:icu4c'
instead of directly referencing 'source\samples\cal\uprint.h'.
More info at:
https://buckbuild.com/concept/build_rule.html

This issue might also be caused by a bug in buckd's caching.
Please check whether using `buck kill` resolves it.

This error happened while trying to get dependency 'buckaroo.github.buckaroo-pm.icu4c//:icu4c' of target 'buckaroo.github.buckaroo-pm.boost-regex//:regex'
njlr commented 5 years ago

That link is for Cygwin builds

aahmed-se commented 5 years ago

will have to look into this further