Skip to content

Failed to compile LEMP #1

@MengsD

Description

@MengsD

Hello,
I failed to compile LEMP. I tried all the methods I can, but I still failed to find solutions, and I wonder whether you can give me some help. I really appreciate your reply.

Here is the log. Error happens when I run 'make' (following instructions.txt).

[ 10%] Building C object mips/CMakeFiles/ta.dir/ap/memory.c.o
[ 12%] Building C object mips/CMakeFiles/ta.dir/ap/select.c.o
[ 15%] Building C object mips/CMakeFiles/ta.dir/ap/sort.c.o
[ 17%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/cli.cpp.o
[ 20%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/cli_deleter.cpp.o
[ 22%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/log.cpp.o
[ 25%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/option.cpp.o
[ 27%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/prefixedoutstream.cpp.o
[ 30%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/string_util.cpp.o
[ 32%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/timers.cpp.o
[ 35%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/util/version.cpp.o
[ 37%] Building CXX object mips/CMakeFiles/ta.dir/my_mlpack/core/math/random.cpp.o
[ 40%] Linking CXX shared library libta.so
[ 40%] Built target ta
[ 42%] Building CXX object examples/CMakeFiles/testPcaTree.dir/testPcaTree.cpp.o
[ 45%] Linking CXX executable testPcaTree
[ 45%] Built target testPcaTree
[ 47%] Building CXX object examples/CMakeFiles/testNaive.dir/testNaive.cpp.o
[ 50%] Linking CXX executable testNaive
[ 50%] Built target testNaive
[ 52%] Building CXX object examples/CMakeFiles/testLemp.dir/testLemp.cc.o
[ 55%] Linking CXX executable testLemp

CMakeFiles/testLemp.dir/testLemp.cc.o: In function mips::BlshIndex::posteriorCdf(double, double, double)': testLemp.cc:(.text._ZN4mips9BlshIndex12posteriorCdfEddd[_ZN4mips9BlshIndex12posteriorCdfEddd]+0x9f): undefined reference to boost::math::tools::promote_args<double, double, double, float, float, float>::type boost::math::ibeta<double, double, double>(double, double, double)'
testLemp.cc:(.text._ZN4mips9BlshIndex12posteriorCdfEddd[_ZN4mips9BlshIndex12posteriorCdfEddd]+0xe5): undefined reference to `boost::math::tools::promote_args<double, double, double, float, float, float>::type boost::math::ibeta<double, double, double>(double, double, double)'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/testLemp.dir/build.make:117: recipe for target 'examples/testLemp' failed
make[2]: *** [examples/testLemp] Error 1
CMakeFiles/Makefile2:282: recipe for target 'examples/CMakeFiles/testLemp.dir/all' failed
make[1]: *** [examples/CMakeFiles/testLemp.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

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