Solved

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

Posted on 2010-09-21
14
1,388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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