Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compile error "BOOST_JOIN" #2

Closed
TurBoss opened this issue Feb 9, 2017 · 5 comments
Closed

Fail to compile error "BOOST_JOIN" #2

TurBoss opened this issue Feb 9, 2017 · 5 comments

Comments

@TurBoss
Copy link

TurBoss commented Feb 9, 2017

Hi

I'm trying to compile the project

here is the output:

turboss@TurBoPx:~/Sources/cutsim/build$ cmake ../src
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
--  CMAKE_BUILD_TYPE = Debug
-- Boost version: 1.61.0
-- found Boost: 1_61
-- boost-incude dirs are: /usr/include
-- boost_LIBRARY_DIRS is: /usr/lib
-- Boost_LIBRARIES is: 
-- found OpenMP, compiling with flags: -fopenmp
-- Found QGLViewer: /usr/lib/x86_64-linux-gnu/libQGLViewer-qt4.so
-- Cutting simulation requires OpenGL and Qt4...
-- found OPENGL, lib = /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
--  qmake = /usr/bin/qmake
-- QT_USE_FILE = /usr/share/cmake-3.5/Modules/UseQt4.cmake
-- CMAKE_SOURCE_DIR = /home/turboss/Sources/cutsim/src
-- Found Qt4: /usr/bin/qmake (found version "4.8.7") 
-- Found Qt4: /usr/bin/qmake (found version "4.8.7") 
-- QT_USE_FILE = /usr/share/cmake-3.5/Modules/UseQt4.cmake
-- found OPENGL, lib = /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
-- Boost version: 1.61.0
-- found Boost: 1_61
-- boost-incude dirs are: /usr/include
--  DOXY_CONFIG = /home/turboss/Sources/cutsim/src/Doxyfile
--  Run 'make doc' to generate documentation.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/turboss/Sources/cutsim/build
turboss@TurBoPx:~/Sources/cutsim/build$ make
[  2%] Generating moc_cutsim.cxx
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
cutsim/CMakeFiles/libcutsim.dir/build.make:67: recipe for target 'cutsim/moc_cutsim.cxx' failed
make[2]: *** [cutsim/moc_cutsim.cxx] Error 1
CMakeFiles/Makefile2:117: recipe for target 'cutsim/CMakeFiles/libcutsim.dir/all' failed
make[1]: *** [cutsim/CMakeFiles/libcutsim.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Thanks

@KASUYASU
Copy link
Owner

KASUYASU commented Feb 9, 2017

Hi,

Please refer to the next sites.

moveit/moveit_ros#653
http://answers.ros.org/question/233786/parse-error-at-boost_join/

I think that you have a version mismatch problem. The next copy is the message when I execute the command "cmake ../src" on my 32bits Linux PC.

hamada@hamada-H97M-S01:~/tmp/cutsim-master/build$ cmake ../src-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- CMAKE_BUILD_TYPE = Debug
-- Boost version: 1.54.0
-- found Boost: 1_54
-- boost-incude dirs are: /usr/include
-- boost_LIBRARY_DIRS is: /usr/lib
-- Boost_LIBRARIES is:
-- found OpenMP, compiling with flags: -fopenmp
-- Found QGLViewer: /usr/lib/libQGLViewer.so
-- Cutting simulation requires OpenGL and Qt4...
-- found OPENGL, lib = /usr/lib/i386-linux-gnu/libGLU.so/usr/lib/i386-linux-gnu/libGL.so/usr/lib/i386-linux-gnu/libSM.so/usr/lib/i386-linux-gnu/libICE.so/usr/lib/i386-linux-gnu/libX11.so/usr/lib/i386-linux-gnu/libXext.so
-- qmake = /usr/bin/qmake-qt4
-- QT_USE_FILE = /usr/share/cmake-2.8/Modules/UseQt4.cmake
-- CMAKE_SOURCE_DIR = /home/hamada/tmp/cutsim-master/src
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6")
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6")
-- QT_USE_FILE = /usr/share/cmake-2.8/Modules/UseQt4.cmake
-- found OPENGL, lib = /usr/lib/i386-linux-gnu/libGLU.so/usr/lib/i386-linux-gnu/libGL.so/usr/lib/i386-linux-gnu/libSM.so/usr/lib/i386-linux-gnu/libICE.so/usr/lib/i386-linux-gnu/libX11.so/usr/lib/i386-linux-gnu/libXext.so
-- Boost version: 1.54.0
-- found Boost: 1_54
-- boost-incude dirs are: /usr/include
-- DOXY_CONFIG = /home/hamada/tmp/cutsim-master/src/Doxyfile
-- Run 'make doc' to generate documentation.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hamada/tmp/cutsim-master/build

Kazu

@TurBoss
Copy link
Author

TurBoss commented Feb 11, 2017

thanks

@TurBoss TurBoss closed this as completed Feb 11, 2017
@stustev
Copy link

stustev commented Mar 30, 2018

Where would I find the software to compile the rs274 with AC you use in cutsim?

@KASUYASU
Copy link
Owner

KASUYASU commented Apr 2, 2018

Hi,

For the source code, please visit the page

https://github.com/emogenet/rs274ngc

I think you may compile those with normal 'gcc' and 'make'.
If not, please refer the contents of 'Makefile'.

Kazu

@stustev
Copy link

stustev commented Apr 2, 2018

thanks - I have the zip and a clone - will work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants