Skip to content

Error building the benchmarks and validation tests #169

@mo-morikawa

Description

@mo-morikawa

While trying the build the library together with validation test and/or benchmarks, I encountered the following error:

scons: *** [build/tests/benchmark/PerformanceProgramOptions.o] Error 1
scons: *** [build/tests/benchmark/PerformanceUserConfiguration.o] Error 1
In file included from tests/benchmark/Profiler.cpp:24:0:
tests/benchmark/Profiler.h:29:37: fatal error: benchmark/benchmark_api.h: No such file or directory
 #include "benchmark/benchmark_api.h"
                                     ^
compilation terminated.
scons: *** [build/tests/benchmark/Profiler.o] Error 1
In file included from tests/benchmark/PerformanceProgramOptions.h:27:0,
                 from tests/benchmark/main.cpp:26:
tests/ProgramOptions.h:31:37: fatal error: boost/program_options.hpp: No such file or directory
 #include "boost/program_options.hpp"
                                     ^
compilation terminated.

build command:
scons Werror=1 -j8 debug=0 asserts=0 neon=1 opencl=1 embed_kernels=1 os=android arch=arm64-v8a benchmark_tests=1

Do I need to install any third party libraries to build these tests? I have boost-dev installed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions