Regard3D
Regard3D copied to clipboard
Issues with `make` on Arch - SQLite
I managed to get the cmake command to finish successfully after installing various dependencies.
Now that I'm running make
, I'm getting the following error.
$ make
[ 4%] Built target kgraph
[ 12%] Built target daisy
[ 19%] Built target AKAZE
[ 26%] Built target fast-akaze
[ 29%] Built target liop
[ 32%] Built target tinyply
[ 33%] Building C object thirdparty/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o
/home/bradsk88/Downloads/regard/src/thirdparty/sqlite/sqlite3.c: In function ‘sqlite3IsNaN’:
/home/bradsk88/Downloads/regard/src/thirdparty/sqlite/sqlite3.c:28276:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC.
# error SQLite will not work correctly with the -ffast-math option of GCC.
^~~~~
make[2]: *** [thirdparty/sqlite/CMakeFiles/sqlite.dir/build.make:63: thirdparty/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:404: thirdparty/sqlite/CMakeFiles/sqlite.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Any ideas on how I can get past this?
Yes: Open CMakeLists.txt in the source folder of Regard3D, find all occurrences of -ffast-math and remove them. Then rebuild.
Got me further. Once make finishes, where does the executable live?
In your build directory, where you started cmake. Isn't it there?