Solved

errror boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("

Posted on 2010-09-21
14
1,375 Views
Last Modified: 2013-11-13
hi there
I am getting thise error while compling Player project.
/usr/include/boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("
make[2]: *** [client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerc++.o] Error 1
make[1]: *** [client_libs/libplayerc++/CMakeFiles/playerc++.dir/all] Error 2
make: *** [all] Error 2

Any suggestion will be appriciated

regards.
0
Comment
Question by:loopfinity
  • 6
  • 6
14 Comments
 
LVL 6

Expert Comment

by:collins23
ID: 33725506
paste your code for line number 138
0
 
LVL 6

Author Comment

by:loopfinity
ID: 33725625
line 138
#elif BOOST_PP_ITERATION_DEPTH() == 1


please note that I am using ubunu karmic
0
 
LVL 6

Expert Comment

by:collins23
ID: 33725764
try changing this line to this

#elif BOOST_PP_ITERATION_DEPTH == 1
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 6

Assisted Solution

by:collins23
collins23 earned 500 total points
ID: 33725783
0
 
LVL 6

Author Comment

by:loopfinity
ID: 33725910
it leads to this error
/usr/include/boost/mpl/aux_/full_lambda.hpp:230:31: error: missing binary operator before token "("
0
 
LVL 6

Expert Comment

by:collins23
ID: 33725960
what about the link i sent ?
0
 
LVL 6

Author Comment

by:loopfinity
ID: 33726010
>> Update to boost >= 1.37

Iam using libboost-signals1.35.0 libboost-signals1.35-dev libboost-thread1.35.0 libboost-thread1.35-dev

let me try it
0
 
LVL 6

Author Comment

by:loopfinity
ID: 33726043
could you please write how can I update ro 1.57 ?
0
 
LVL 6

Author Comment

by:loopfinity
ID: 33726079
sorry it shoul be 1.37
0
 
LVL 6

Accepted Solution

by:
loopfinity earned 0 total points
ID: 33727333
0
 
LVL 6

Expert Comment

by:collins23
ID: 33731940
Hey, Don't i get some marks for giving you pointers to the solution ?
0
 
LVL 6

Expert Comment

by:collins23
ID: 33741309
http:#33725783


contained the solution to his problem.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
A short article about problems I had with the new location API and permissions in Marshmallow
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question