SanderMertens / bake

Bake, A build system for building, testing and running C & C++ projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can I setup "missing dependency"

BenjaminGu opened this issue · comments

I installed bake on windows 10. And,

bake new game -t sdl2.basic
bake run game

I got the following error message.

[ error] missing dependency 'sdl2'

How can I make Bake find sdl2?

I'm having the same issue building tower_defense. Actually I've been unable to get bake to run anything but a simple empty project.

Here's the outputs of bake list, bake build, and bake run

image
image (1)
image (2)

It looks like EcsSignatureExpr is missing from a header file, but I'm not sure. (I'm an experienced developer but C++ is one of my weaker languages)

C:\Users\Adam\bake\src\flecs-meta\src\main.c(557): error C2065: 'FLECS__EEcsSignatureExpr': undeclared identifier
C:\Users\Adam\bake\src\flecs-meta\src\main.c(557): error C2065: 'EcsSignatureExpr': undeclared identifier

The missing dependency error also happens when I build other projects.

OS: Windows 10
Visual Studio 2017 / 2019

Please help diagnose why bake isn't working correctly, or point us to a resource to resolve these issues