verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
trapz has joined #mlpack
decltypeme has joined #mlpack
inilahs has quit [Quit: ZNC - http://znc.in]
naywhayare has joined #mlpack
< zoq> naywhayare: In ProposedNewDesignGuidelines you used the expression 'const boost::enable_if<boost::is_class<T>>::type* = 0)' does this work without the typename and '>>' I think '<T>>:' isn't valid? Btw. is there a reason to use boost instead of c++11 for enable_if and is_class?
trapz has quit [Quit: trapz]
trapz has joined #mlpack
< naywhayare> oh, are these things part of C++11? I didn't know that
< naywhayare> also the missing typename is just an error on my part :)
< zoq> since we require c++11 maybe we can use the std functionality instead of boost
govg has quit [Quit: leaving]
< naywhayare> yeah, I agree
< naywhayare> I'll fix that in a little while, unless you want to go ahead and change it
< zoq> I'll go and change the expressions
el_segfaulto has joined #mlpack
< el_segfaulto> hi, I have a question on the gmm implementaiton in mlpack
< el_segfaulto> when using diagonal covariance matrices, it seems to be really slow. is there a reason why the gmm class from armadillo isn't being used ?
el_segfaulto has left #mlpack []
< zoq> hm, there is no 'disable_if' we can use 'std::enable_if<!std::is_class<T>::value >::type* = 0' but this isn't really an improvement of the readability aspect, what do you think?
Fury__ has joined #mlpack
< Fury__> Hi guys, I'm trying to run a tutorial program using mlpack and it cannot find libmlpack.so.1
< Fury__> Anyone know how to fix this?
< zoq> Fury__: Hello, make sure that the linker is searching the directory where libmlpack.so was installed. You can use 'export LD_LIBRARY_PATH=/usr/local/lib/' (use the correct path that contains libmlpack.so). Hopefully this helps?
< Fury__> I was just using -lmlpack to link mlpack when I compiled the test program, should I be doing something different?
Fury___ has joined #mlpack
Fury__ has quit [Ping timeout: 246 seconds]
< zoq> I think you get the error because libmlpack.so.1 isn't part of the dynamic linker's search path, you should specify LD_LIBRARY_PATH on the command-line when you call your executable you can use the command line above or you can also use LD_LIBRARY_PATH=/usr/local/lib/ ./test
< zoq> Alternately you could set an rpath during compilation, but using LD_LIBRARY_PATH should work fine in your case.
< zoq> I think the way you use to compile the test programm is fine.
< Fury___> I set LD_LIBRARY_PATH to '/usr/local/include' which is where I have mlpack installed but it still gave me the same error: ./a.out: error while loading shared libraries: libmlpack.so.1: cannot open shared object file: No such file or directory
< zoq> hm, okay, can you make sure that libmlpack.so is in /usr/local/include?
< Fury___> I'm rebuilding mlpack again from the source before I try it again to make sure everything is where it should be
< Fury___> i can confirm that libmlpacl.so.1 is in '/usr/local/lib/' and I changed LD_LIBRARY_PATH to '/usr/local/lib' but I'm still getting the same error
< zoq> Did you use LD_LIBRARY_PATH=/usr/local/lib/ ./test or export?
< Fury___> Oh wow...
< Fury___> never exported it
< Fury___> it works now after exporting LD-LIBRARY_PATH
< zoq> okay, great :)
< Fury___> Thanks a ton zoq
Fury___ has quit [Quit: Page closed]
trapz has quit [Quit: trapz]
< naywhayare> zoq: I don't think the ! distracts from readability too much
KTL has joined #mlpack
KTL has quit [Ping timeout: 252 seconds]
trapz has joined #mlpack