Hi,
I am using some of the functions from Eigen library in a feature. If I want to compile moses with eigen headers, so I am modifying the Jamfile but I cannot make it work.. not familiar with it.. I did everything same as it is done for DLIB. In moses/Jamfile I inserted this code after the dlib snippet. with-eigen = [ option.get "with-eigen" ] ; if $(with-eigen) { eigen = <include>$(with-eigen) ; } else { eigen = ; } . . . alias headers : ../util//kenutil $(classifier) : : : $(max-factors) $(dlib) $(oxlm) $(eigen); This gives me error when I compile : ./bjam --with-tcmalloc=/hltsrv1/software/GPERFTOOLS/gperftools-2.1 --with-boost=/hltsrv1/software/BOOST/boost_1_51_0 --with-eigen=/hltsrv0/prashant/MyInstallation/Eigen -j8 -a Tip: install tcmalloc for faster threading. See BUILD-INSTRUCTIONS.txt for more information. mkdir: cannot create directory `bin': File exists moses/Jamfile:34: in modules.load *** argument error * rule alias ( name : sources * : requirements * : default-build * : usage-requirements * ) * called with: ( headers : ../util//kenutil : : : <define>MAX_NUM_FACTORS=4 <dependency>/hltsrv0/prashant/mosesdecoder/moses/bin/factor.log <include>/hltsrv0/prashant/MyInstallation/Eigen; alias ThreadPool : ThreadPool.cpp ) * extra argument ThreadPool.cpp /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/alias.jam:59:see definition of rule 'alias' being called /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/project.jam:317: in load-jamfile /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/project.jam:62: in load /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/project.jam:168: in project.find /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/targets.jam:414: in find-really /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/targets.jam:435: in find /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/targets.jam:291: in targets-to-build /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build/targets.jam:256: in class@project-target.generate /hltsrv0/prashant/mosesdecoder/jam-files/boost-build/build-system.jam:729: in load ./jam-files/boost-build/kernel/modules.jam:283: in import ./jam-files/boost-build/kernel/bootstrap.jam:142: in boost-build ./jam-files/boost-build/boost-build.jam:8: in module scope what can be the problem? Thanks, Prashant
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support