These are chat archives for symengine/symengine

12th
Apr 2017
Prateek Singh
@prateeksingh0001
Apr 12 2017 08:18
@isuruf while compiling only the tests in SymEngine I am facing fatal error: catch.hpp: No such file or directory compilation terminated. In the source code also there is just #include "catch.hpp" with no path to the file specified (in the file test_unintpoly.cpp). Should the path be added to it or am I missing something while performing the compilation.
Isuru Fernando
@isuruf
Apr 12 2017 08:19
@prateeksingh0001, how are you compiling the tests?
Prateek Singh
@prateeksingh0001
Apr 12 2017 10:08
In symengine/tests/polynomial/ I am using the command g++ -std=c++11 test_uintpoly.cpp -o test_uintpoly
Isuru Fernando
@isuruf
Apr 12 2017 10:41
@prateeksingh0001, use make to compile the tests and ctest -V to run them
Prateek Singh
@prateeksingh0001
Apr 12 2017 13:52
@isuruf while using make in symengine/tests/polynomial/I'm still getting the same error
```
prateek@Zed:/media/prateek/New Volume1/symengine/symengine/tests$ make
[ 1%] Building CXX object rcp/CMakeFiles/test_rcp.dir/test_rcp.o
/media/prateek/New Volume1/symengine/symengine/tests/rcp/test_rcp.cpp:1:21: fatal error: catch.hpp: No such file or directory
compilation terminated.
rcp/CMakeFiles/test_rcp.dir/build.make:62: recipe for target 'rcp/CMakeFiles/test_rcp.dir/test_rcp.o' failed
make[2]: [rcp/CMakeFiles/test_rcp.dir/test_rcp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'rcp/CMakeFiles/test_rcp.dir/all' failed
make[1]:
[rcp/CMakeFiles/test_rcp.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: * [all] Error 2
*
continuing the above message
prateek@Zed:media/prateek/New Volume1/symengine/symengine/tests$ make
[ 1%] Building CXX object rcp/CMakeFiles/test_rcp.dir/test_rcp.o
/media/prateek/New Volume1/symengine/symengine/tests/rcp/test_rcp.cpp:1:21: fatal error: catch.hpp: No such file or directory
compilation terminated.
rcp/CMakeFiles/test_rcp.dir/build.make:62: recipe for target 'rcp/CMakeFiles/test_rcp.dir/test_rcp.o' failed
make[2]: [rcp/CMakeFiles/test_rcp.dir/test_rcp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'rcp/CMakeFiles/test_rcp.dir/all' failed
make[1]: [rcp/CMakeFiles/test_rcp.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: * [all] Error 2
Ignore the first error message, it was typed by mistake.
Isuru Fernando
@isuruf
Apr 12 2017 14:29
@prateeksingh0001, I'm not sure why that happens. Can you try make in the project root?
Shikhar Jaiswal
@ShikharJ
Apr 12 2017 15:46
@isuruf I believe #861 and #1025 can be closed now.