Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
I had the same problem on OS X 10.6 Snow Leopard, and was able to successfully 
build with the steps described above.

Original comment by [email protected] on 30 Jan 2012 at 4:59

from mitlm.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi, I am OS X 10.6 Snow Leopard. 
I followed the steps but the error that I get on make DEBUG=1 is: 

g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o 
src/util/RefCounter.o src/util/RefCounter.cpp
g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o 
src/util/Logger.o src/util/Logger.cpp
g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o 
src/util/CommandOptions.o src/util/CommandOptions.cpp
g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o src/Vocab.o 
src/Vocab.cpp
g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o 
src/NgramVector.o src/NgramVector.cpp
g++ -g -Wall -fPIC -fmessage-length=0 -Isrc -O0 -fno-inline   -c -o 
src/NgramModel.o src/NgramModel.cpp
src/vector/Operations.h: In static member function ‘static T OpIsNan::Eval(T) 
[with T = double]’:
src/vector/VectorClosures.h:103:   instantiated from ‘typename 
TypeInfo<UnaryVectorClosure<Op, V> >::ElementType UnaryVectorClosure<Op, 
V>::ConstIterator::operator*() const [with Op = OpIsNan, V = 
DenseVector<double>]’
src/vector/VectorOps.h:77:   instantiated from ‘bool anyTrue(const 
Vector<I>&) [with V = UnaryVectorClosure<OpIsNan, DenseVector<double> >]’
src/NgramModel.cpp:388:   instantiated from here
src/vector/Operations.h:133: error: no matching function for call to 
‘isnan(double&)’
make: *** [src/NgramModel.o] Error 1

Any Ideas? Could this be a Boost issue. I have boost 1.45 installed, but not 
sure whether mitlm knows the path to it. 

Original comment by [email protected] on 28 Feb 2012 at 6:36

from mitlm.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
The above tips were very helpful, thanks. I had a handfull of more troubles 
installing this in Lion, here are some pointers for others:

* Some functions were not found I had to go and edit the code to std::min and 
similar in some instances. (I believe this might be fixed in SVN).
* I didn't want to use brew, so I installed a gfortran precompiled version from 
here: http://gcc.gnu.org/wiki/GFortranBinaries
* The library that I needed to symlink was in a different directory: 
/usr/local/gfortran/lib/libgfortran.a
* I needed to link two more libraries: /usr/local/gfortran/lib/libquadmath.a 
/usr/local/gfortran/lib/gcc/x86_64-apple-darwin11/4.6.2/libgcc.a and 
/usr/local/gfortran/lib/gcc/x86_64-apple-darwin11/4.6.2/libgcc_eh.a
* I needed to add these to the makefile too -lquadmath -lgcc -lgcc_eh

Original comment by [email protected] on 19 May 2012 at 5:42

from mitlm.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi, can you please try mitlm 0.4.1 installation and report results?

Original comment by [email protected] on 27 Mar 2013 at 1:22

from mitlm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.