problem in compiling scim-anthy-1.2.6

3 messages Options
Embed this post
Permalink
pig2532

problem in compiling scim-anthy-1.2.6

Reply Threaded More More options
Print post
Permalink
I already have scim installed, and it works well in an other language. But when I compiled scim-anthy-1.2.6, it came up with an error as below:

scim_anthy_conversion.cpp: In member function 'void scim_anthy::Conversion::convert(scim::WideString, scim_anthy::CandidateType, bool)':
scim_anthy_conversion.cpp:123: error: invalid conversion from 'const char*' to 'char*'
scim_anthy_conversion.cpp:123: error:   initializing argument 2 of 'int anthy_set_string(anthy_context*, char*)'
make[2]: *** [anthy_la-scim_anthy_conversion.lo] Error 1
make[2]: Leaving directory `/root/scim-anthy-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/scim-anthy-1.2.6'
make: *** [all] Error 2

I tried to add a forced conversion "(char *)" before that argument in source code, it could be compiled and installed. But scim and my application crashed when I switched to Anthy. Does anybody have experiences in solving such problem? Thanks.
Takuro Ashie

Re: problem in compiling scim-anthy-1.2.6

Reply Threaded More More options
Print post
Permalink
Hi.

pig2532 さんは書きました:

> I already have scim installed, and it works well in an other language. But
> when I compiled scim-anthy-1.2.6, it came up with an error as below:
>
> scim_anthy_conversion.cpp: In member function 'void
> scim_anthy::Conversion::convert(scim::WideString, scim_anthy::CandidateType,
> bool)':
> scim_anthy_conversion.cpp:123: error: invalid conversion from 'const char*'
> to 'char*'
> scim_anthy_conversion.cpp:123: error:   initializing argument 2 of 'int
> anthy_set_string(anthy_context*, char*)'

Which version of Anthy are you using?
It seems your Anthy is too old.

Please get later Anthy from:

  http://sourceforge.jp/projects/anthy/

then rebuild Anthy and scim-anthy.

Regards,
--
Takuro Ashie <[hidden email]>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel
pig2532

Re: problem in compiling scim-anthy-1.2.6

Reply Threaded More More options
Print post
Permalink
I changed a new version of anthy, and it goes well. Thank you very much.
But now here's another problem. If scim was switched to anthy, and then I launched Firefox,
firefox crashed. But if scim was switched to English or other languages, Firefox ran well,
and then I could switch to anthy and use in it in Firefox. I wonder if this is the problem
of anthy or scim or even firefox. Thanks.

Takuro Ashie wrote:
Hi.

pig2532 さんは書きました:
> I already have scim installed, and it works well in an other language. But
> when I compiled scim-anthy-1.2.6, it came up with an error as below:
>
> scim_anthy_conversion.cpp: In member function 'void
> scim_anthy::Conversion::convert(scim::WideString, scim_anthy::CandidateType,
> bool)':
> scim_anthy_conversion.cpp:123: error: invalid conversion from 'const char*'
> to 'char*'
> scim_anthy_conversion.cpp:123: error:   initializing argument 2 of 'int
> anthy_set_string(anthy_context*, char*)'

Which version of Anthy are you using?
It seems your Anthy is too old.

Please get later Anthy from:

  http://sourceforge.jp/projects/anthy/

then rebuild Anthy and scim-anthy.

Regards,
--
Takuro Ashie <ashie@homa.ne.jp>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Scim-devel mailing list
Scim-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scim-devel