These are chat archives for symengine/symengine

17th
Mar 2017
Prateek Singh
@prateeksingh0001
Mar 17 2017 16:12
Hi, I've cloned the symengine source code, but while trying to build the symengine system its failing
These are the steps I've followed :
  • I've installed the CMake v2.8.5, GMP and I already have the g++ compiler(version 5.4.0)
  • with 'cmake .' in the symengine directory I'm getting the output
    '''
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /media/prateek/New Volume1/symengine
    '''
    but, while executing the 'make' command in the same directory I'm getting an error
    '''
    [ 0%] Building CXX object CMakeFiles/symengine.dir/benchmarks/add1.cpp.o
    /media/prateek/New Volume1/symengine/benchmarks/add1.cpp:4:29: fatal error: symengine/basic.h: No such file or directory
    compilation terminated.
    CMakeFiles/symengine.dir/build.make:62: recipe for target 'CMakeFiles/symengine.dir/benchmarks/add1.cpp.o' failed
    make2: **
    [CMakeFiles/symengine.dir/benchmarks/add1.cpp.o] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/symengine.dir/all' failed
    make1: [CMakeFiles/symengine.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make:
    [all] Error 2
    '''
    Please help me with the same.
Isuru Fernando
@isuruf
Mar 17 2017 16:13
Use backticks instead of quotes
Prateek Singh
@prateeksingh0001
Mar 17 2017 16:14
  • I've installed the CMake v2.8.5, GMP and I already have the g++ compiler(version 5.4.0)
  • with cmake . in the symengine directory I'm getting the output
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /media/prateek/New Volume1/symengine
    *but, while executing the make command in the same directory I'm getting an error
    [  0%] Building CXX object CMakeFiles/symengine.dir/benchmarks/add1.cpp.o
    /media/prateek/New Volume1/symengine/benchmarks/add1.cpp:4:29: fatal error: symengine/basic.h: No such file or directory
    compilation terminated.
    CMakeFiles/symengine.dir/build.make:62: recipe for target 'CMakeFiles/symengine.dir/benchmarks/add1.cpp.o' failed
    make[2]: *** [CMakeFiles/symengine.dir/benchmarks/add1.cpp.o] Error 1
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/symengine.dir/all' failed
    make[1]: *** [CMakeFiles/symengine.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    Please help me with the same.
Isuru Fernando
@isuruf
Mar 17 2017 16:15
Can you try a more recent CMake?
Prateek Singh
@prateeksingh0001
Mar 17 2017 16:17
Sorry, it's actually v3.8.0-rc2
I mentioned it wrong by mistake
Isuru Fernando
@isuruf
Mar 17 2017 16:24
maybe 3.8.0-rc2 is broken
try a stable release
Shikhar Jaiswal
@ShikharJ
Mar 17 2017 17:09
@isuruf Do you have any idea why is this build failing on symengine.py? The log is giving me no clue as to how to solve this issue. https://travis-ci.org/ShikharJ/symengine.py/jobs/211715591
Prateek Singh
@prateeksingh0001
Mar 17 2017 18:41
@isuruf I tried with a stable release, first with v3.7.2 the latest release and then with v3.6.3 the previous release, but still I have not been able to build the system. It
It's the same error again
Scanning dependencies of target symengine
[  0%] Building CXX object CMakeFiles/symengine.dir/benchmarks/add1.cpp.o
/media/prateek/New Volume1/symengine/benchmarks/add1.cpp:4:29: fatal error: symengine/basic.h: No such file or directory
compilation terminated.
CMakeFiles/symengine.dir/build.make:62: recipe for target 'CMakeFiles/symengine.dir/benchmarks/add1.cpp.o' failed
make[2]: *** [CMakeFiles/symengine.dir/benchmarks/add1.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/symengine.dir/all' failed
make[1]: *** [CMakeFiles/symengine.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2