Skip to content

compile error  #2

@lijhong

Description

@lijhong

Hi , I am learning NLP in these days.and I study your papers and want to running your code ,but I use make command to compile test folder ,but it's failed.it's shows this :

../src/model/evaluation.hpp: In instantiation of ‘std::string libcf::RANKING_Evaluation::evaluate(Model&, const libcf::Data&, const libcf::Data&) const [with Model =
libcf::FactorModel; std::string = std::basic_string]’:
main_test.cpp:19:1: required from here
../src/model/evaluation.hpp:261:5: error: ‘class libcf::FactorModel’ has no member named ‘pre_recommend’
model.pre_recommend();

/usr/include/c++/4.9/functional:2225: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cce4Gl1B.out file, please attach this to your bugreport.
Makefile:24: recipe for target 'main_test.o' failed

So can you tell me how to fixed it.thank you.

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