Solved

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

Posted on 2010-09-21
14
1,360 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

708 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

14 Experts available now in Live!

Get 1:1 Help Now