Skip to content

CMake Error 'functional' file not found #253

@lotshawpc

Description

@lotshawpc

I'm trying to install QCOR on Mac using
git pull,
mkdir build,
cd build,
cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE,
make -j 48 install

This returns an error at the end of the install

In file included from /Users/5ci/.xacc/include/qcor/qcor_lang_ext.hpp:12:
/Users/5ci/.xacc/include/qcor/objective_function.hpp:13:10: fatal error: 'functional' file not found
#include
^~~~~~~~~~~~
1 error generated.
CMake Error at runtime/cmake_install.cmake:89 (file):
file INSTALL cannot find
"/Users/5ci/qcor/build/runtime/qcor_lang_ext.hpp.pch": No such file or
directory.
Call Stack (most recent call first):
cmake_install.cmake:48 (include)

I've tried updating to the latest version of xacc before installing, but this didn't help. Any ideas what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions