Grawitas is a lightweight, fast parser for Wikipedia talk pages that takes the raw Wikipedia-syntax and outputs the structured content in various formats.
I tried the instructions you provided for Ubuntu. I had to change to libcurl4 as there is no libcurl3 with the latest Ubuntu. Once I install all the dependencies and run cmake -DCMAKE_BUILD_TYPE=Release ../src/, I get the following error:
CMake Error: The source directory "~/grawitas/src" does not appear to contain CMakeLists.txt.
So I copied the CMakeLists.txt to src/ folder. Now when I run cmake -DCMAKE_BUILD_TYPE=Release ../src/, I get the following error:
-- Found XercesC: /usr/lib/x86_64-linux-gnu/libxerces-c.so (found version "3.2.3")
-- Found SQLite3: /usr/include (found version "3.33.0")
-- Configuring done
CMake Error at CMakeLists.txt:152 (add_executable):
Cannot find source file:
src/tests/main_tests.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Warning at CMakeLists.txt:143 (add_executable):
Cannot generate a safe runtime search path for target grawitas_gui_crawler
because files in some directories may conflict with libraries in implicit
directories:
runtime library [libcurl.so.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/home/santoshbs/anaconda3/lib
Some of these libraries may not be found correctly.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
I tried the instructions you provided for Ubuntu. I had to change to libcurl4 as there is no libcurl3 with the latest Ubuntu. Once I install all the dependencies and run
cmake -DCMAKE_BUILD_TYPE=Release ../src/
, I get the following error:CMake Error: The source directory "~/grawitas/src" does not appear to contain CMakeLists.txt.
So I copied theCMakeLists.txt
to src/ folder. Now when I runcmake -DCMAKE_BUILD_TYPE=Release ../src/,
I get the following error:Not sure what I am doing wrong.