Hi
I do build Boost & Eigen, then I tried to "Make Install' the nplm, after 
editing the makefile, I got the following error
$ make install/usr/bin/g++ -fopenmp   -Lc:/boostbuild/include/lib -Wl,-rpath 
-Wl,c:/boostbuild/include/lib  trainNeuralNetwork.o util.o model.o  
-lboost_iostreams -lboost_system -lboost_filesystem -o 
trainNeuralNetwork/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld:
 cannot find 
-lboost_iostreams/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld:
 cannot find 
-lboost_system/usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld:
 cannot find -lboost_filesystemcollect2: error: ld returned 1 exit 
statusMakefile:165: recipe for target 'trainNeuralNetwork' failedmake: *** 
[trainNeuralNetwork] Error 1
Any help please !!! 
 
Marwa N. Refaie



Date: Tue, 30 Dec 2014 06:36:34 +0000
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Moses-support] how to compile with nplm library

Hey, 
First you need to checkout and compile this fork of nplm:

https://github.com/rsennrich/nplm
Then you need to compile moses with nplm switch:

./bjam --with-nplm=path/to/nplm
Then you can see how to use it here 
http://www.statmt.org/moses/?n=FactoredTraining.BuildingLanguageModel#ntoc31
On 30 Dec 2014 06:28, "Xiaoqiang Feng" <[email protected]> wrote:
Hi,
nplm is one toolkit of neural probabilistic language model. This toolkit can be 
used in Moses for language model and bilingual LM(neural network joint model, 
ACL 2014). These two parts have been updated in github mosesdecoder.
If you want to use nplm in Moses, you have to compile Moses by linking 
libnplm.a (generated by nplm). Here is the probelm : how to compile Moses with 
libnplm.a ? Do I need to modify the Jamroot file and how to modify ?
Thanks,Xiaoqiang Feng

_______________________________________________

Moses-support mailing list

[email protected]

http://mailman.mit.edu/mailman/listinfo/moses-support




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

Reply via email to