Skip to content

Target "OSM_A_star_search" links to target "Cairo::Cairo" but the target was not found.  #19

@mFontoura

Description

@mFontoura

In Windows I tried to start the first project today but I'm still stuck on the setup of "Building and Running". I want to use a local environment so I'm not using the VM. I think I have installed all the dependencies correctly but I still have errors when trying to "cmake" this repo. I get an error on the line:
add_executable(OSM_A_star_search src/main.cpp src/model.cpp src/render.cpp src/route_model.cpp src/route_planner.cpp)
on the command line i get:

CMake Error at CMakeLists.txt:28 (add_executable):
  Target "OSM_A_star_search" links to target "Cairo::Cairo" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

Any ideas?

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