Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Problem: any.hpp missing #1663

Open
meerfrau opened this issue Sep 22, 2023 · 4 comments
Open

Build Problem: any.hpp missing #1663

meerfrau opened this issue Sep 22, 2023 · 4 comments
Labels
bug A problem, flaw, or broken functionality.

Comments

@meerfrau
Copy link

Bug Report

Build Problem

In file included from ./OpenTimelineIO/src/opentimelineio/anyDictionary.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObject.h:9,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObjectWithMetadata.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/composable.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/item.h:7,
                 from ./OpenTimelineIO/src/opentimelineio/clip.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/clip.cpp:4:
./OpenTimelineIO/src/opentimelineio/any.h:6:10: fatal error: any/any.hpp: No such file or directory
    6 | #include "any/any.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from ./OpenTimelineIO/src/opentimelineio/anyDictionary.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObject.h:9,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObjectWithMetadata.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/composable.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/composable.cpp:4:
./OpenTimelineIO/src/opentimelineio/any.h:6:10: fatal error: any/any.hpp: No such file or directory
    6 | #include "any/any.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/opentimelineio/CMakeFiles/opentimelineio.dir/build.make:76: src/opentimelineio/CMakeFiles/opentimelineio.dir/clip.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./OpenTimelineIO/src/opentimelineio/anyDictionary.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObject.h:9,
                 from ./OpenTimelineIO/src/opentimelineio/deserialization.cpp:7:
./OpenTimelineIO/src/opentimelineio/any.h:6:10: fatal error: any/any.hpp: No such file or directory
    6 | #include "any/any.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/opentimelineio/CMakeFiles/opentimelineio.dir/build.make:90: src/opentimelineio/CMakeFiles/opentimelineio.dir/composable.cpp.o] Error 1
make[2]: *** [src/opentimelineio/CMakeFiles/opentimelineio.dir/build.make:118: src/opentimelineio/CMakeFiles/opentimelineio.dir/deserialization.cpp.o] Error 1
In file included from ./OpenTimelineIO/src/opentimelineio/anyDictionary.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObject.h:9,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObjectWithMetadata.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/effect.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/effect.cpp:4:
./OpenTimelineIO/src/opentimelineio/any.h:6:10: fatal error: any/any.hpp: No such file or directory
    6 | #include "any/any.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/opentimelineio/CMakeFiles/opentimelineio.dir/build.make:132: src/opentimelineio/CMakeFiles/opentimelineio.dir/effect.cpp.o] Error 1
In file included from ./OpenTimelineIO/src/opentimelineio/anyDictionary.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObject.h:9,
                 from ./OpenTimelineIO/src/opentimelineio/serializableObjectWithMetadata.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/composable.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/item.h:7,
                 from ./OpenTimelineIO/src/opentimelineio/composition.h:6,
                 from ./OpenTimelineIO/src/opentimelineio/composition.cpp:4:
./OpenTimelineIO/src/opentimelineio/any.h:6:10: fatal error: any/any.hpp: No such file or directory
    6 | #include "any/any.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.

To Reproduce

  1. ArchLinux
  2. Python 3.10 (sic)
  3. git master
  4. gcc 13.2.1

submodules initiated

@meerfrau meerfrau added the bug A problem, flaw, or broken functionality. label Sep 22, 2023
@meshula
Copy link
Collaborator

meshula commented Sep 24, 2023

What command line did you use to build?

@meerfrau
Copy link
Author

  cmake \
    -Bbuild \
    -GNinja \
    -DUSE_PYTHON=ON \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_CXX_STANDARD=17 \
    -DBUILD_MISSING_FMT=OFF \
    -DUSE_EXTERNAL_PUGIXML=ON \
    -DSTOP_ON_WARNING=OFF
  ninja -C build

@meshula
Copy link
Collaborator

meshula commented Sep 25, 2023

Okay, I see you are using C++17. Could you try the cxx17 branch instead? We expect to land that soon.

@meshula
Copy link
Collaborator

meshula commented Feb 9, 2024

@meerfrau Is this still an issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem, flaw, or broken functionality.
Projects
None yet
Development

No branches or pull requests

2 participants