Skip to content

Cannot create CppWriter #47

@gasbug

Description

@gasbug

It seems that there is an error creating CppWriter, e.g. I tred to compile the following code:

#include "cppwriter/cppwriter.h"
int main(){
    cppcodegen::CppWriter writer;
}

And got the following error:

in function `cppcodegen::CppWriter::emitCompound(cppast::CppCompound const&, std::ostream&, cppcodegen::CppIndent, bool) const':
cppwriter.cpp:(.text+0x2ee7): undefined reference to `cppast::IsClassLike(cppast::CppEntity const&)'

Is this an error of the CppWriter, or is it something to do with my environment?
Thanks!

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