Skip to content

adobe_source_libraries CMake build broken on multiple platforms #87

Open
@ahmedjafri

Description

@ahmedjafri

The CMake build is broken on multiple platforms for what seems to be several reasons.

Acceptance Criteria

  • A successful continuous integration using Github actions for the same windows, Mac, and Linux configurations that stlab/libraries supports

Note that #93 could be used as a start for continuous integration support.

Original Report

Here is my run of ./configure.sh and ./build.sh on MacOS 12.1

$ ./configure.sh
INFO : double-conversion found: skipping setup.
INFO : boost_libraries found: skipping setup.
INFO : No patchfile found for this version of Boost. Skipping.
INFO : b2 found: skipping boostrap.
...
INFO : You are ready to go!

$ ./build.sh
INFO : Make sure you run the configure script before this one to ensure dependencies are
in place.
ERRR : BUILDTOOL unknown. Goodbye.

./cmake_build_all.sh made some progress but then failed with a missing boost include

/Users/ajafri/code/adobe_source_libraries/../boost_libraries/libs/type_i
ndex/include/boost/type_index/type_index_facade.hpp:13:10: fatal error:
'boost/container_hash/hash_fwd.hpp' file not found
#include <boost/container_hash/hash_fwd.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  7%] Building CXX object imported/double-conversion/CMakeFiles/double-
conversion.dir/double-conversion/fixed-dtoa.cc.o
1 error generated.
make[2]: *** [CMakeFiles/boost_unit_test.dir/Users/ajafri/code/boost_lib
raries/libs/test/src/debug.cpp.o] Error 1
make[1]: *** [CMakeFiles/boost_unit_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  7%] Building CXX object imported/double-conversion/CMakeFiles/double-
conversion.dir/double-conversion/string-to-double.cc.o
[  8%] Building CXX object imported/double-conversion/CMakeFiles/double-
conversion.dir/double-conversion/strtod.cc.o
In file included from /Users/ajafri/code/boost_libraries/libs/filesystem
/src/exception.cpp:15:
/Users/ajafri/code/adobe_source_libraries/../boost_libraries/libs/filesy
stem/include/boost/filesystem/path.hpp:33:10: fatal error: 'boost/functi
onal/hash_fwd.hpp' file not found
#include <boost/functional/hash_fwd.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/boost_glob.dir/Users/ajafri/code/boost_librarie
s/libs/filesystem/src/exception.cpp.o] Error 1
make[1]: *** [CMakeFiles/boost_glob.dir/all] Error 2
[  8%] Linking CXX static library libdouble-conversion.a
[  8%] Built target double-conversion
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions