kas1e / Odyssey

AmigaOS4 version of Odyssey
9 stars 7 forks source link

Compiling with cmake 3.22.1 fails #33

Open walkero-gr opened 1 year ago

walkero-gr commented 1 year ago

I was trying today to compile Odyssey with a new dev environment I set up. Unfortunately, the compilation stops around 94% with the following error

[ 94%] Building CXX object Source/WebCore/CMakeFiles/webcore.dir/__/__/generated_sources/WebCore/HTMLNames.cpp.obj
/opt/code/Odyssey/build/generated_sources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory
  160 | #include "CSSGrammar.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Source/WebCore/CMakeFiles/webcore.dir/build.make:42381: Source/WebCore/CMakeFiles/webcore.dir/__/__/generated_sources/WebCore/CSSGrammar.cpp.obj] Error 1
make[4]: *** Waiting for unfinished jobs....
/opt/code/Odyssey/build/generated_sources/WebCore/XPathGrammar.cpp:124:10: fatal error: XPathGrammar.hpp: No such file or directory
  124 | #include "XPathGrammar.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

I tested the old dev environment I had, which has cmake 3.16.3 and this seems to work fine. The problem is that my new dev environment has latest SDK, so I would like to test doing the compilation with it.

While I am doing a research on how this can be fixed, I thought to ask if anyone had the same problem and fixed it somehow.