dcsimg
Installation (compilation) issues with ANTLR software version 2.7.5 on solaris
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nidhi_Malik
Posted On:   Thursday, October 27, 2005 01:43 AM

Hi Sir, I have read INSTALL.txt and have configured my machine successfully. While building('make' part) the antlr-2.7.5/lib/cpp/src/TokenStreamRewriteEngine.cpp, I got the following error In file included from antlr-2.7.5/lib/cpp/src/TokenStreamRewriteEngine.cpp:16:antlr-2.7.5/lib/cpp/antlr/TokenStreamRewriteEngine.hpp: In method `class antlr::RefToken antlr::TokenStreamRewriteEngine::getToken(unsigned int)': antlr-2.7.5/lib/cpp/antlr/TokenStreamRewriteEngine.hpp:335: no matching function for call to `vector ,allocator enWithIndex> > >::at (size_t &)' The culprit code ( line 335,   More>>

Hi Sir,



I have read INSTALL.txt and have configured my machine successfully.



While building('make' part) the antlr-2.7.5/lib/cpp/src/TokenStreamRewriteEngine.cpp, I got the following error




In file included from antlr-2.7.5/lib/cpp/src/TokenStreamRewriteEngine.cpp:16:antlr-2.7.5/lib/cpp/antlr/TokenStreamRewriteEngine.hpp:



In method `class antlr::RefToken antlr::TokenStreamRewriteEngine::getToken(unsigned int)':




antlr-2.7.5/lib/cpp/antlr/TokenStreamRewriteEngine.hpp:335:

no matching function for call to `vector ,allocator
enWithIndex> > >::at (size_t &)'


The culprit code ( line 335, TokenStreamRewriteEngine.hpp ) is:


return RefToken(tokens.at(i));





Please help me to resolve this as it is a code issue.



Regards,
Nidhi    <<Less
About | Sitemap | Contact