Closed GoogleCodeExporter closed 8 years ago
solved by removing the header "tr1" from the code.
Original comment by afsa...@whirlscape.com
on 10 Apr 2014 at 4:58
Did you replace <tr1/unordered_map> with <unordered_map>?
Original comment by giuliop...@gmail.com
on 10 Apr 2014 at 5:30
Yes. Actually that's how I resolved this issue.
Original comment by afsa...@whirlscape.com
on 10 Apr 2014 at 5:50
This should be fixed in revision r106.
The complete solution requires to re-run the autogen.sh script.
Autoconf-archive should also be present on the system.
Can you check if this solution works for you?
Bests,
Giulio.
Original comment by giuliop...@gmail.com
on 3 Jun 2014 at 12:11
Hello,
I encounter the same problem:
> src/util/CommandOptions.h:39:10: fatal error: 'tr1/unordered_map' file not
found
Even if I remove all references to 'tr1' across several files
(CommandOptions.h, RefCounter.h, RefCounter.cpp in src/util, plus Lattice.cpp
in src) I then encounter a new error with src/util/FastIO.h: implicit
instantiation of undefined template 'std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >'
And if I run autogen.sh, and then make, I see an error "while processing
Libtool library 'libmitlm.la'"
I'm on OS X 10.10.3, and have downloaded mitlm-0.4.1. Any help much appreciated.
cheers, Andrew
Original comment by caine...@gmail.com
on 2 Jul 2015 at 11:09
Can you provide the complete error that you see with autogen.sh + make?
Cheers,
Giulio.
Original comment by giuliop...@gmail.com
on 2 Jul 2015 at 12:10
Hi Giulio,
autogen.sh seems to run fine, ending with the comment: "Now type `make' to
compile."
When I type `make', I see the following:
$ make
cd . && automake-1.14 --foreign
automake-1.14: warnings are treated as errors
/opt/local/share/automake-1.14/am/ltlibrary.am: warning: 'libmitlm.la': linking
libtool libraries using a non-POSIX
/opt/local/share/automake-1.14/am/ltlibrary.am: archiver requires 'AM_PROG_AR'
in 'configure.ac'
Makefile.am:14: while processing Libtool library 'libmitlm.la'
make: *** [Makefile.in] Error 1
Original comment by caine...@gmail.com
on 2 Jul 2015 at 2:13
Hello Giulio,
I wonder if you have any comment on my previous error message?
Many thanks!
Andrew
Original comment by caine...@gmail.com
on 4 Aug 2015 at 12:21
Original issue reported on code.google.com by
afsa...@whirlscape.com
on 10 Apr 2014 at 4:33