Solved

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

Posted on 2010-09-21
14
1,372 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
silent install of security banner via msiexec command 4 88
Adjust the position 3 62
This code tracks birthdays 3 75
Query Syntax 17 36
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 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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

832 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