Skip to content
This repository was archived by the owner on Dec 25, 2022. It is now read-only.
This repository was archived by the owner on Dec 25, 2022. It is now read-only.

fatal error: LibWeb/CSS/Enums.h: No such file or directory #149

@tiaanl

Description

@tiaanl

I checked out ladybird and followed the build steps and described in the BuildInstruction.md file and received the following error:

/usr/bin/ccache /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/tilo/code/ladybird/Build/ladybird_autogen/include -I/home/tilo/code/serenity/Userland/Libraries -I/home/tilo/code/ladybird/Build/_deps/lagom-build/Services -I/home/tilo/code/serenity -I/home/tilo/code/ladybird/Build/_deps/lagom-build -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -ggnu-pubnames -Wall -Wextra -Werror -Wno-implicit-const-int-float-conversion -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-unused-command-line-argument -fsigned-char -fno-exceptions -fdiagnostics-color=always -fPIC -g1 -O2 -fno-semantic-interposition -Wno-expansion-to-defined -Wno-user-defined-literals -std=c++20 -MD -MT CMakeFiles/ladybird.dir/SimpleWebView.cpp.o -MF CMakeFiles/ladybird.dir/SimpleWebView.cpp.o.d -o CMakeFiles/ladybird.dir/SimpleWebView.cpp.o -c /home/tilo/code/ladybird/SimpleWebView.cpp
In file included from /home/tilo/code/serenity/Userland/Libraries/LibWeb/CSS/CSSStyleDeclaration.h:12,
                 from /home/tilo/code/serenity/Userland/Libraries/LibWeb/CSS/CSSRule.h:13,
                 from /home/tilo/code/serenity/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h:11,
                 from /home/tilo/code/serenity/Userland/Libraries/LibWeb/DOM/Document.h:20,
                 from /home/tilo/code/ladybird/SimpleWebView.cpp:45:
/home/tilo/code/serenity/Userland/Libraries/LibWeb/CSS/StyleValue.h:29:10: fatal error: LibWeb/CSS/Enums.h: No such file or directory
   29 | #include <LibWeb/CSS/Enums.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

I retried and set the SERENITY_SOURCE_DIR option on cmake to point to a running build of sOS, but received the same error.

It looks like the Enums.h file is generated and is in the build output directory and I don't see a -I on the command line pointing to it. Am I missing a step during build?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions