[GiNaC-list] Problem with parser after updating from 1.6.1 to 1.6.2

Jafar Akhundov adonnen at gmail.com
Fri Jan 6 14:57:42 CET 2012


Hello everyone!

After updating from GiNaC v.1.6.1 to v.1.6.2 the following code (which is
actually taken from the tutorial) won't compile anymore.

{
  symbol x, y;
  symtab table;
  table["x"] = x;
  table["y"] = y;
  parser reader(table);
  ex e = reader("2*x+sin(y)");
}

This is what I get :
ginac1.cc:(.text+0x36c): undefined reference to
`GiNaC::parser::parser(std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, GiNaC::ex,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, GiNaC::ex> > >
const&, bool, std::map<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, unsigned int>, GiNaC::ex
(*)(std::vector<GiNaC::ex, std::allocator<GiNaC::ex> > const&),
GiNaC::PrototypeLess,
std::allocator<std::pair<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, unsigned int> const,
GiNaC::ex (*)(std::vector<GiNaC::ex, std::allocator<GiNaC::ex> > const&)> >
> const&)'

Anyone help or having similar issues?

Thanks!

-- 
Jafar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20120106/72391b2d/attachment.html>


More information about the GiNaC-list mailing list