Skip to content

How can I add function at other file? #12552

@leegod

Description

@leegod

I am using ubuntu within VirtualBox from windows10.

For example, how can I use "CheckProofOfWork" function from pow.cpp at chainparams.cpp?

I added #include "pow.h" at chainparams.cpp, but after this and when I tried compile with 'make' at terminal, error says there is no definition of that function...

Is this C++'s linker problem? Then how to solve this?

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