-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building KI18n module #3
Comments
I guess the warnings above about rules not firing could be the culprit? |
Whenever reporting an error, make sure to do some minimizing before you do. For example, your build log contains too much. Apply something like
Then make sure you get verbose build output. You can see that your error message is talking about a problem on the command line, so you need to see what that is.
|
With VERBOSE=1, the first error messages are:
I note that TRANSLATION_DOMAIN is set in the command to a string, "ki18n5". But I cannot quite see the wood for the trees... The preprocessed code looks like this:
which is clearly wrong. But I can't quite see what the literal is supposed to be. |
Based on the documentation on TRANSLATION_DOMAIN in ki18n/docs/programmers-guide.md, I tried prepending an |
@ShaheedHaque What is 'clearly wrong' about the preprocessed code? |
I have forgotten the exact details, but if you have ki18n building, then
perhaps we can just move on.
FWIW, it was something like this: while I was using the framework-bindings
temporary infrastructure from github, the macro TRANSLATION_BINDING was
being defined as a string, which IIRC resulted in a function declaration
being emitted which looked like this:
myfuncname("some string", int foo, int bar) ...
when I looked at the pre-processed code. Hence, the hacky fix I was using
was to add a manual #undef to one of the generated .cpp files.
…On 15 January 2017 at 14:29, Stephen Kelly ***@***.***> wrote:
@ShaheedHaque <https://github.com/ShaheedHaque> What is 'clearly wrong'
about the preprocessed code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEp7KeOXg2rDpni9BTVTMBTmS6UobrHIks5rSi0ugaJpZM4IusLh>
.
|
I'm getting
and a few similar errors when the
KI18n
module is compiled.I'm attaching the full
cmake --build .
output.This is on an up-to-date Arch Linux. Am I missing some dependency?
buildlog.txt
The text was updated successfully, but these errors were encountered: