ChanServ changed the topic of #mlpack to: "mlpack: a fast, flexible machine learning library :: We don't always respond instantly, but we will respond; please be patient :: Logs at http://www.mlpack.org/irc/
< SirishGitter[m]> Hey. I am trying to compile sample c++ programs in the examples section(covariance calculation) using the command g++ -std=c++11 example.cpp
< SirishGitter[m]> This is the error I am receiving, unable to find fix on the internet.
< SirishGitter[m]> note: #pragma message: mlpack was compiled with OpenMP support, but you are compiling without OpenMP support. This will almost certainly cause irreparable disaster. Either enable OpenMP support in your application (e.g., add -fopenmp to your compiler command line), or, recompile mlpack without OpenMP support.
< SiddhantJain[m]> try this to compile `g++ example.cpp -larmadillo -lmlpack -fopenmp`
< NippunSharmaGitt> add `-fopenmp` at the end of compile command
< SirishGitter[m]> Thanks Siddhant, Nippun. That solved the issue.
< SirishGitter[m]> Is there any fix to this error?
< SirishGitter[m]> /usr/bin/ld: /tmp/ccAQd48X.o: undefined reference to symbol 'wrapper_ddot_'
< SirishGitter[m]> //usr/lib/libarmadillo.so.8: error adding symbols: DSO missing from command line
< SirishGitter[m]> collect2: error: ld returned 1 exit status
< SirishGitter[m]> I tried using ARMADILLO_INCLUDE_DIR=/home/cassio/tools/armadillo-6.200.4/tmp/include/ as given on github. No luck ye.
< SirishGitter[m]> (edited) ... luck ye. => ... luck yet.
< RishabhGarg108Gi> @Sirish07 , you have to link armadillo just like you are linking opemnp and mlpack. So, the fix to your problem would be adding `-larmadillo` to the g++ command.
< RishabhGarg108Gi> > `zoq on Freenode` RishabhGarg108 (Gitter): We are looking into replacing boost::variant with inheritance, so not sure it will be that useful; but not sure since I haven't seen it in action.
< RishabhGarg108Gi> That's great. So, I guess we can delay the cli for ann until this transition from variant to inheritance is completed.
< RishabhGarg108Gi> > `zoq on Freenode` RishabhGarg108 (Gitter): I guess since you are working the on the ann cli, we will find out soon?
< RishabhGarg108Gi> I think, now my job is even more simplified, coz now I only need to make something that just stores int, float and string. Because that's all we need for the parser.
< SirishGitter[m]> Thanks Rishabh. But just a follow-up, why is this issue reporting, though I am linking all the necessaries.
< SirishGitter[m]> g++ -std=c++11 a1.cpp -lmlpack -larmadillo -fopenmp
< SirishGitter[m]> undefined reference to `bool mlpack::data::Load<double>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, arma::Mat<double>&, bool, bool, arma::file_type)'
< SirishGitter[m]> I think there's some problem with mlpack linking
< SirishGitter[m]> (edited) ... mlpack linking => ... mlpack linking in my case.
< NippunSharmaGitt> @Sirish07 are you doing `make install` ?
< NippunSharmaGitt> If you have not installed then you must point to `libmlpack.so`
< RishabhGarg108Gi> You are right @Sirish07 , the issue now is with mlpack. Take a look at this issue https://github.com/mlpack/mlpack/issues/2709 . Here the same peoblem that you are facing is discussed quite extensively. Maybe you can find your solution here :+1:
ImQ009 has joined #mlpack
j_aj[m] has joined #mlpack
< SirishGitter[m]> Yeah, thanks @RishabhGarg108. It was exactly pointing to my case. Somehow installing libmlpack by sudo apt-get command is installing some other version and I am building 3.4 version using make command. Hence, it was the issue. It's now compiling fine. Thanks.
extrowerk has left #mlpack []
siddhant_jain[m] has joined #mlpack
< rcurtin[m]> green build on the binding deallocation fix branch :-D (#2688)
< shrit[m]> greate news
_slack_mlpack_22 has joined #mlpack
_slack_mlpack_22 is now known as Gulshan[m]
< Gulshan[m]> Hello everyone This is Gulshan .I am interested in contributing to mlpack how should I proceed
< zoq> Gulshan[m]: Hello there, the comminuty page - https://www.mlpack.org/community.html should be helpful here.
< zoq> Gulshan[m]: https://www.mlpack.org/gsoc.html has some information about GSoC, in case you are interested.
< jeffin143[m]> You are a hero , rcurtin
< jeffin143[m]> I saw everything green after so many days
< rcurtin[m]> thanks :) who knows how long it will last...
ImQ009 has quit [Quit: Leaving]
tobelegitGitter[ has joined #mlpack
pavanbadugu[m] has joined #mlpack
zoq[m] has joined #mlpack
Cadair has joined #mlpack
himanshu_pathak[ has joined #mlpack
SaraanshTandonGi has joined #mlpack
thecodeeagleGitt has joined #mlpack
AlexNguyen[m] has joined #mlpack
DivyanshKumar[m] has joined #mlpack
arcinston[m] has joined #mlpack
Valliappan_CAGit has joined #mlpack
JoelJosephGitter has joined #mlpack
_slack_mlpack_16 has joined #mlpack
kshitijandmojoGi has joined #mlpack
AndrewSpottGitte has joined #mlpack
GauravSinghGitte has joined #mlpack
< PranavReddyP16Gi> Hey everyone even I'm having problems with libmlpack.so while running the make command despite pointing to the correct directory containing libmlpack.so (/usr/local/lib/libmlpack.so). The stderr output is here : https://pastebin.com/ZqsqKbr0 . I would be really grateful if someone could help me out. Thanks in advance