IOsipov / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

could not find the "muParser.h"~~in make step #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.at the make step
2.
3.

What is the expected output? What do you see instead?
complete the make process

I see following message...
 CC formula.o
In file included from formula.cc:21:
formula.h:26:22: error: muParser.h: No such file or directory
In file included from /usr/include/c++/4.4/ext/hash_map:60,
                 from formula.h:35,
                 from formula.cc:21:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.
In file included from formula.cc:21:
formula.h:42: error: ‘mu’ is not a namespace-name
formula.h:42: error: expected namespace-name before ‘;’ token
formula.h:53: error: ‘Parser’ does not name a type
formula.cc: In constructor ‘Formula::Formula(std::string, int)’:
formula.cc:36: error: ‘class Formula’ has no member named ‘p’
formula.cc: In member function ‘int Formula::eval()’:
formula.cc:58: error: ‘p’ was not declared in this scope
formula.cc:61: error: expected type-specifier before ‘Parser’
formula.cc:61: error: expected ‘)’ before ‘::’ token
formula.cc:61: error: expected ‘{’ before ‘::’ token
formula.cc:61: error: ‘::exception_type’ has not been declared
formula.cc:61: error: ‘e’ was not declared in this scope
formula.cc:61: error: expected ‘;’ before ‘)’ token
make[3]: *** [formula.o] Error 1
make[2]: *** [LIBS] Error 2
make[1]: *** [LIBS] Error 2
make: *** [LIBS] Error 2

What version of the product are you using? On what operating system?
the latest one from from 
hg clone https://androguard.googlecode.com/hg/ androguard 

Please provide any additional information below.

Original issue reported on code.google.com by CHMao2...@gmail.com on 30 Mar 2012 at 6:17

GoogleCodeExporter commented 9 years ago
You must install libmuparser 
http://code.google.com/p/androguard/wiki/Installation#Requirements

Original comment by anthony....@gmail.com on 30 Mar 2012 at 7:01

GoogleCodeExporter commented 9 years ago
thanks for your answer.
Actually, I have already install libmuparser-dev and libmuparser0 (in Ubuntu)
"sudo apt-get install libmuparser-dev..."
However, I still get the same message, is there anything that I need to check?

thanks...

Original comment by CHMao2...@gmail.com on 30 Mar 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Yes, this is an old library. Use the library from the website of muparser

Original comment by anthony....@gmail.com on 30 Mar 2012 at 7:22