Skip to content

Cannot run this sample #2

@baptose

Description

@baptose

Hi,

I am fairly new to c++ building tools, and I cannot get this to compile.
I have git cloned BT.cppv4 and follow the conan/cmake build instructions, with an additionnal cmake --install . from the build directory. Everything went fine.

I git cloned this sample repo, and when I run something like :

> cd btcpp_sample
> mkdir build;cd build
> cmake ..

I get the following

-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Error at CMakeLists.txt:8 (add_executable):
  Target "btcpp_sample" links to target "SQLite::SQLite3" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

I'd really appreciate any help.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions