Skip to content

example can not build #43

@TimChenTranzas

Description

@TimChenTranzas

I am using dudac client to build these example.

but I try the first hello world example, the client seems fail to build:


root@vultr:~/duda-examples/001_hello_world# make
[CC] main.o
main.c: In function ‘_duda_main’:
main.c:95:5: error: ‘router’ undeclared (first use in this function)
router->map("/foo/", cb_foo);
^
main.c:95:5: note: each undeclared identifier is reported only once for each function it appears in
Makefile:25: recipe for target 'main.o' failed
make: *** [main.o] Error 1

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