BeyondMagic / rwppi

An eater & feeder of information.
GNU Affero General Public License v3.0
18 stars 1 forks source link

Missing dependencies #6

Open gunar opened 1 year ago

gunar commented 1 year ago

I wasn't able to build iris. It complains of missing libcurl and lexbor dependencies. Wondering if there's something we should add to the README about installing/building dependencies. I tried adding lexbor but couldn't get it to work.

❯ make build
g++   -c ./source/main.cpp                                    -o ./bin/iris.o
In file included from ./source/main.cpp:22:
./source/main.hpp:21:10: fatal error: curl/curl.h: No such file or directory
   21 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:44: build] Error 1

~/code/iris on master ········································································································································································································································
❯ nix-shell -p curl.dev --run "make build"
g++   -c ./source/main.cpp                                    -o ./bin/iris.o
In file included from ./source/main.hpp:30,
                 from ./source/main.cpp:22:
./source/modules/Methods/Methods.hpp:28:10: fatal error: lexbor/css/css.h: No such file or directory
   28 | #include "lexbor/css/css.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:44: build] Error 1