error: command 'c++' failed with exit status 1

后端 未结 2 1752
慢半拍i
慢半拍i 2021-01-29 03:30

So I am trying to install Pyv8 by following instruction from https://andrewwilkinson.wordpress.com/2012/01/23/integrating-python-and-javascript-with-pyv8/


    s         


        
相关标签:
2条回答
  • 2021-01-29 04:06

    It is because the version of gcc and g++ is too low for me, as I downgrade it when i install cuda sometime. Just follow the following commands:

    $ cd /usr/bin 
    $  rm gcc
    $ ln -s gcc-5 gcc  
    $ rm g++
    $ ln -s g++-5 g++ 
    

    Done.

    0 讨论(0)
  • 2021-01-29 04:16

    I followed the instructions from this link - http://ubuntuforums.org/showthread.php?t=1480282#post_11247864 and installed the libboost_thread package which solved the problem. Thank you https://stackoverflow.com/users/440558/joachim-pileborg

    0 讨论(0)
提交回复
热议问题