Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created May 7, 2014 01:57
Show Gist options
  • Save anonymous/50140fa1bf5bbb974ae8 to your computer and use it in GitHub Desktop.
Save anonymous/50140fa1bf5bbb974ae8 to your computer and use it in GitHub Desktop.
Linking CXX shared library ../lib/libcluster.dylib
Undefined symbols for architecture x86_64:
"_omp_set_num_threads", referenced from:
double cluster<distributions::Dirichlet, distributions::ExpGamma>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::Dirichlet, std::allocator<distributions::Dirichlet> >&, std::vector<distributions::ExpGamma, std::allocator<distributions::ExpGamma> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::GDirichlet, distributions::ExpGamma>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::GDirichlet, std::allocator<distributions::GDirichlet> >&, std::vector<distributions::ExpGamma, std::allocator<distributions::ExpGamma> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::GDirichlet, distributions::NormGamma>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::GDirichlet, std::allocator<distributions::GDirichlet> >&, std::vector<distributions::NormGamma, std::allocator<distributions::NormGamma> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::Dirichlet, distributions::NormGamma>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::Dirichlet, std::allocator<distributions::Dirichlet> >&, std::vector<distributions::NormGamma, std::allocator<distributions::NormGamma> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::GDirichlet, distributions::GaussWish>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::GDirichlet, std::allocator<distributions::GDirichlet> >&, std::vector<distributions::GaussWish, std::allocator<distributions::GaussWish> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::Dirichlet, distributions::GaussWish>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::Dirichlet, std::allocator<distributions::Dirichlet> >&, std::vector<distributions::GaussWish, std::allocator<distributions::GaussWish> >&, double, bool, bool, unsigned int)in cluster.cpp.o
double cluster<distributions::StickBreak, distributions::GaussWish>(std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > > const&, std::vector<Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::allocator<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&, std::vector<distributions::StickBreak, std::allocator<distributions::StickBreak> >&, std::vector<distributions::GaussWish, std::allocator<distributions::GaussWish> >&, double, bool, bool, unsigned int)in cluster.cpp.o
...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [../lib/libcluster.dylib] Error 1
make[1]: *** [CMakeFiles/cluster.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment