rwppi icon indicating copy to clipboard operation
rwppi copied to clipboard

Missing dependencies

Open gunar opened this issue 2 years ago • 0 comments

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

gunar avatar Aug 01 '23 15:08 gunar