That works! Thanks for the quick fix.
I had a few questions on the compiler options. When I pass the compile
options: --max-factors = 1, I see warnings like "MAX_NUM_FACTORS" redefined.

and I also see that in the compile command both the -DMAX_NUM_FACTORS=1 AND
 -DMAX_NUM_FACTORS=4


Also, on the moses documentation http://www.statm
t.org/moses/?n=Moses.Optimize#ntoc20 the following option seems to have
been changed to --max-kenlm-order as I see in the Jamroot file.

--kenlm-max-order=5




Cheers,
Sameer.


On Thu, Aug 18, 2016 at 1:26 AM, Hieu Hoang <[email protected]> wrote:

> thanks for bringing it to our attention. Fixed.
>    https://github.com/moses-smt/mosesdecoder/commit/d196279be89
> 2a06f852dce9beb4041ff5c018634
>
> Hieu Hoang
> http://www.hoang.co.uk/hieu
>
> On 17 August 2016 at 22:16, Sameer Bhadouria <[email protected]>
> wrote:
>
>> Hello,
>>
>> I am trying to compile the latest version of moses from github master
>> branch in the static mode and I have manually installed boost. However, I
>> hitting a compilation error while building.
>>
>> Some of the error messages I noticed were:
>>
>> 1. Could not statically link against lib boost_serialization.  Your build
>> will probably fail. But, I do have libboost serialization.a file in my
>> boost installation lib64 directory. I a
>> 2. In file included from moses/ExportInterface.cpp:58:
>>
>> moses/TranslationModel/UG/mmsapt.h:122: error: ISO C++ forbids
>> initialization of member ‘m_track_coord’
>>
>> moses/TranslationModel/UG/mmsapt.h:122: error: making ‘m_track_coord’
>> static
>>
>> moses/TranslationModel/UG/mmsapt.h:122: error: ISO C++ forbids in-class
>> initialization of non-const static member ‘m_track_coord’
>> Attached, full build log.
>>
>> Thanks for the help!.
>>
>> --
>> Regards,
>> Sameer Bhadouria.
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>


-- 
Regards,
Sameer Bhadouria.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to