8000 Compilation Error: Multiple Definition of ... · Issue #48 · lava/matplotlib-cpp · GitHub
[go: up one dir, main page]

Skip to content
Compilation Error: Multiple Definition of ... #48
Open
@jmount1992

Description

@jmount1992

First off great piece of software, made my life so much easier, so thank you.

However, when I attempted to compile a program with multiple headers, where each header would require access to matplotlibcpp I would receive the compilation error of multiple definitions of plot, stem etc. The solution was to make all the functions inline. Was there a reason why you hadn't made them inline?

I am using CMake to compile everything.

Once again cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0