Solved

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

Posted on 2010-09-21
14
1,363 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi parse string to params 3 100
Adoquery sql  left join does not work 25 81
CONDITIONAL MAX STATEMENT IN T-SQL 3 41
program a usb light to turn on when needed 6 49
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now