crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

some errors occur when I execute "./install-openrave.sh" #14

Closed Richardurben closed 4 years ago

Richardurben commented 4 years ago

hello! I want to install openrave on ubuntu18.04 system without docker. According to your tutorial, the first three commands are executed very well, but when I executed to install openrave to the last item, some problems occurred and I did not deal with it.

/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fp_identifier_parser.inc:141:15: error: unable to find character literal operator 'operator""l5' with 'char' argument
 #define lL if('i'l5
               ^
/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fp_identifier_parser.inc:165:3: note: in expansion of macro 'lL'
 2:lL
   ^~
/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fp_identifier_parser.inc:166:1: error: expected ')' before numeric constant
 0]&&'f'l5
 ^
/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fp_identifier_parser.inc:166:2: error: expected primary-expression before ']' token
 0]&&'f'l5
  ^
/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fp_identifier_parser.inc:142:12: error: unable to find character literal operator 'operator""l5' with 'char' argument
 #define lK 'n'l5
            ^
there are some operator errors
...
/home/richardurben/git/openrave/3rdparty/fparser-4.5/extrasrc/fpaux.hh:250:64: error: no matching function for call to 'log2(const std::complex<double>&)'
     inline Value_t fp_log2(const Value_t& x) { return std::log2(x); }
                                                       ~~~~~~~~~^~~
...
/usr/include/c++/7/cmath:1597:5: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, double>'

I would appreciate it if you give me some advices.

nicholasadr commented 4 years ago

Thank you for raising this, I will take a look at this in the next couple of days.

Richardurben commented 4 years ago

Thank you for your reply!In order to find the problem, I paste all the code to you Ubuntu Pastebin

nicholasadr commented 4 years ago

Unfortunately I can't replicate your problem. I have included my terminal output from calling ./install-openrave.sh as well for your reference here.

Richardurben commented 4 years ago

Anyway, thanks for your help, I will try other ways.