fast, flexible C++ machine learning library

mlpack IRC logs, 2019-01-11

Logs for the day 2019-01-11 (starts at 0:00 UTC) are shown below.

January 2019
--- Log opened Fri Jan 11 00:00:04 2019
--- Day changed Fri Jan 11 2019
00:00 -!- cjlcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has quit [Ping timeout: 258 seconds]
00:32 -!- cjlcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has joined #mlpack
01:44 -!- pymit [2dfbea33@gateway/web/cgi-irc/kiwiirc.com/ip.] has joined #mlpack
02:04 -!- pymit [2dfbea33@gateway/web/cgi-irc/kiwiirc.com/ip.] has quit [Remote host closed the connection]
02:18 -!- travis-ci [~travis-ci@ec2-3-81-18-10.compute-1.amazonaws.com] has joined #mlpack
02:18 < travis-ci> mlpack/mlpack#5756 (master - e909d97 : Shikhar Jaiswal): The build passed.
02:18 < travis-ci> Change view : https://github.com/mlpack/mlpack/compare/2a039f2211ee...e909d97d56ec
02:18 < travis-ci> Build details : https://travis-ci.org/mlpack/mlpack/builds/478125063
02:18 -!- travis-ci [~travis-ci@ec2-3-81-18-10.compute-1.amazonaws.com] has left #mlpack []
03:57 -!- cjlcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has quit [Ping timeout: 258 seconds]
05:25 < jenkins-mlpack2> Yippee, build fixed!
05:25 < jenkins-mlpack2> Project docker mlpack weekly build build #28: FIXED in 6 hr 38 min: http://ci.mlpack.org/job/docker%20mlpack%20weekly%20build/28/
08:29 < jenkins-mlpack2> Project docker mlpack nightly build build #184: STILL UNSTABLE in 3 hr 15 min: http://ci.mlpack.org/job/docker%20mlpack%20nightly%20build/184/
09:10 -!- Xuwei [71505688@gateway/web/freenode/ip.] has joined #mlpack
09:13 < Xuwei> Hi, After building mlpack I tried to build solution on VS but it failed. First it says could not found Windows SDK, so I tried to switch between Windows SDK 10 and 8 but then it keeps failing showing this
09:14 < Xuwei> 1>------ Build started: Project: mlpack, Configuration: Debug Win32 ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of adaboost_test.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are src\mlpack\tests\adaboost_test.cpp, src\mlpack\tests\main_t
09:14 < Xuwei> 1>svrg_test.cpp 1>c:\mlpack\mlpack-3.0.4\src\mlpack\tests\svrg_test.cpp(12): fatal error C1083: Cannot open include file: 'mlpack/core.hpp': No such file or directory 1>termination_policy_test.cpp 1>c:\mlpack\mlpack-3.0.4\src\mlpack\tests\termination_policy_test.cpp(12): fatal error C1083: Cannot open include file: 'mlpack/core.hpp': No such file or directory 1>timer_test.cpp 1>c:\mlpack\mlpack-3.0.4\src\mlpack\tests\timer_test.cpp(21)
09:15 < Xuwei> 1>c:\mlpack\mlpack-3.0.4\src\mlpack\tests\union_find_test.cpp(12): fatal error C1083: Cannot open include file: 'mlpack/methods/emst/union_find.hpp': No such file or directory 1>vantage_point_tree_test.cpp 1>c:\mlpack\mlpack-3.0.4\src\mlpack\tests\vantage_point_tree_test.cpp(11): fatal error C1083: Cannot open include file: 'mlpack/core.hpp': No such file or directory 1>Generating Code... 1>Done building project "mlpack.vcxproj" -- FAI
09:15 < Xuwei> Can anyone help me out here?
09:25 < Xuwei> It looks like it can not find the core.hpp but I found it in this path C:\mlpack\mlpack-3.0.4\src\mlpack
09:26 < Xuwei> Same issue for prereqs.hpp
09:29 < Xuwei> Also, for the duplicated files issue I'm sure if it's because I tried to build it many times. I did click clean solution every time I try to build it again though.
09:59 -!- Xuwei [71505688@gateway/web/freenode/ip.] has quit [Ping timeout: 256 seconds]
10:07 -!- cjlcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has joined #mlpack
12:35 < rcurtin> Xuwei: what are the include directories of the project? it seems based on your output that the include directories are not set right
12:35 < rcurtin> CMake should be configuring those correctly... maybe it makes sense to remove the build directory and try configuring/building again?
12:51 -!- travis-ci [~travis-ci@ec2-54-81-167-45.compute-1.amazonaws.com] has joined #mlpack
12:51 < travis-ci> mlpack/mlpack#5759 (master - 07252cc : Shikhar Jaiswal): The build has errored.
12:51 < travis-ci> Change view : https://github.com/mlpack/mlpack/compare/e909d97d56ec...07252cc54380
12:51 < travis-ci> Build details : https://travis-ci.org/mlpack/mlpack/builds/478299299
12:51 -!- travis-ci [~travis-ci@ec2-54-81-167-45.compute-1.amazonaws.com] has left #mlpack []
12:53 -!- travis-ci [~travis-ci@ec2-54-157-248-221.compute-1.amazonaws.com] has joined #mlpack
12:53 < travis-ci> mlpack/mlpack#5760 (master - 820f9c9 : Shikhar Jaiswal): The build has errored.
12:53 < travis-ci> Change view : https://github.com/mlpack/mlpack/compare/07252cc54380...820f9c91f2d2
12:53 < travis-ci> Build details : https://travis-ci.org/mlpack/mlpack/builds/478300338
12:53 -!- travis-ci [~travis-ci@ec2-54-157-248-221.compute-1.amazonaws.com] has left #mlpack []
13:48 -!- cjlcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has quit [Quit: Konversation terminated!]
13:48 -!- caiojcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has joined #mlpack
14:07 -!- caiojcarvalho [~caio@187-127-196-179.user.veloxzone.com.br] has quit [Ping timeout: 272 seconds]
15:28 -!- Xuwei [71505688@gateway/web/freenode/ip.] has joined #mlpack
15:31 < Xuwei> rcurtin: I tried to build it again. It shows the same error message. Could it be caused by this error message when building mlpack?
15:31 < Xuwei> CMake Warning: Manually-specified variables were not used by the project: ARMADILLO_LIBRARY
15:38 < rcurtin> Xuwei: that should not be the issue, because ARMADILLO_LIBRARY would be used for linking if needed (in your case it looks like CMake does not need to link against it)
15:38 < rcurtin> can you check the include directories of the project?
15:39 < rcurtin> one of the include directories should be the include/ directory contained under the build directory that you are building from
15:39 < rcurtin> and that include/ directory should have all the mlpack headers in it
15:44 < Xuwei> I tried to search include under the build directory but I got nothing
15:45 < Xuwei> Not sure what I've done wrong
15:45 < rcurtin> is it possible to put the entire build log on pastebin?
15:45 < rcurtin> the first step CMake should take is to copy all of the mlpack headers to the include/ directory in the build directory
15:45 < rcurtin> it seems like maybe that hasn't happened in your case
15:47 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has joined #mlpack
15:48 < Xuwei> I can only send limited word at a time
15:49 < Xuwei> There is another warning though
15:50 < Xuwei> CMake Warning at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindBoost.cmake:847 (message): New Boost version may have incorrect or missing dependencies and imported targets
15:53 < Xuwei> -- ARMA_USE_WRAPPER is not defined, so all dependencies of Armadillo must be manually linked.
16:07 < rcurtin> I don't think either of those are problems
16:07 < rcurtin> the issue is going to be the include directories not pointing to the right place
16:43 < Xuwei> I got this when I tried to build solution on VS
16:43 < Xuwei> 13>Done building project "mlpack_test.vcxproj" -- FAILED. 53>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------ 54>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------ 54>Project not selected to build for this solution configuration ========== Build: 47 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========
16:44 < Xuwei> Is this considered successful?
17:03 < rcurtin> well, it looks like it built everything except mlpack_test, so whether or not you consider that successful is up to whether or not you'd like to run the tests
17:05 < Xuwei> Well is that going to be a problem?
17:07 < Xuwei> I got a lot of warning saying something like this
17:07 < Xuwei> 13>c:\mlpack\mlpack-3.0.4\src\mlpack\methods\kmeans\kmeans_impl.hpp(308): warning C4244: 'argument': conversion from 'eT' to 'const eT', possible loss of data 13> with
17:07 < Xuwei> 13> [ 13> eT=arma::u64 13> ] 13> and 13> [ 13> eT=double 13> ]
17:08 -!- MLPackApprentice [4dfb19d9@gateway/web/freenode/ip.] has joined #mlpack
17:09 < rcurtin> I wouldn't be worried about conversion warnings or any other warnings during build
17:09 < rcurtin> it seems unlikely that there will be a problem if you haven't built the test successfully
17:10 < rcurtin> assuming that the error there was again the include directories and not some other compiler failure
17:10 < Xuwei> Alright
17:11 < Xuwei> But this thing is this time I did not used the command copied from the tutorial
17:11 < Xuwei> I got the error with include directories using that
17:12 < rcurtin> so, I can't tell you if that is going to be a problem or what
17:12 < rcurtin> I don't have very many details on your system since you can't put the errors on pastebin for me
17:12 < rcurtin> and I also don't use Windows, so I can't speak to what about the configuration is wrong
17:12 < Xuwei> I replace part of the command from zoq one the #563
17:12 < rcurtin> I'd suggest that you try to do what you are trying to do, and see if it works or not
17:13 < rcurtin> and if it doesn't work, you may have to do some debugging to figure out what is wrong and fix it
17:15 -!- MLPackApprentice [4dfb19d9@gateway/web/freenode/ip.] has quit [Ping timeout: 256 seconds]
17:19 < Xuwei> ok, thanks for the help! I am sure but I guess the command about building mlpack on the tutorial might miss \include in this line "DBOOST_INCLUDEDIR:PATH="C:/boost/boost_1_66_0/"
17:19 < Xuwei> *I am not sure
17:22 < rcurtin> I don't think that I understand what you mean
17:22 < rcurtin> can you clarify? I'm always happy to update the tutorial if we need to
17:23 < Xuwei> cmake -G "Visual Studio 15 2017 Win64" -DBLAS_LIBRARY:FILEPATH="C:/mlpack/mlpack-3.0.4/packages/OpenBLAS." -DLAPACK_LIBRARY:FILEPATH="C:/mlpack/mlpack-3.0.4/packages/OpenBLAS." -DARMADILLO_INCLUDE_DIR="C:/mlpack/armadillo-8.500.1/include" -DARMADILLO_LIBRARY:FILEPATH="C:/mlpack/armadillo-8.500.1/build/Debug/armadillo.lib" -DBOOST_INCLUDEDIR:PATH="
17:24 < Xuwei> This is what's on tutorial for building mlpack
17:24 < Xuwei> which I used and got the include dir error
17:25 < rcurtin> right, but setting BOOST_INCLUDEDIR should not cause CMake to forget to add the mlpack include directory
17:26 < rcurtin> oh, wait, do you mean that it may be a problem to wrap some of the strings over multiple lines?
17:26 < Xuwei> while I could no find the include dir under build directory using this
17:26 < Xuwei> when I replace this part " -DBOOST_INCLUDEDIR:PATH="C:/boost/boost_1_66_0/"
17:27 < Xuwei> with -DBOOST_INCLUDEDIR:PATH="C:\boost_1_60_0\include" -DBOOST_LIBRARYDIR:PATH="C:\boost_1_60_0\lib"
17:27 < Xuwei> which I found on #563 from zoq
17:28 < Xuwei> No it's the webchat
17:28 < Xuwei> Sorry I did not send the whole thing
17:28 < Xuwei> DBOOST_LIBRARYDIR:PATH="C:/boost/boost_1_66_0/lib64-msvc-14.1" -DDEBUG=OFF -DPROFILE=OFF ..
17:28 < Xuwei> this is the rest of it
17:29 < Xuwei> https://www.mlpack.org/docs/mlpack-3.0.4/doxygen/build_windows.html
17:29 < Xuwei> this is the link
17:30 < rcurtin> I have to go for lunch, sorry, I'll be back later
17:30 < Xuwei> No problem!
18:22 -!- Xuwei [71505688@gateway/web/freenode/ip.] has quit [Ping timeout: 256 seconds]
19:14 -!- vivekp [~vivek@unaffiliated/vivekp] has quit [Read error: Connection reset by peer]
19:15 -!- vivekp [~vivek@unaffiliated/vivekp] has joined #mlpack
20:24 -!- ImQ009 [~ImQ009@unaffiliated/imq009] has quit [Quit: Leaving]
--- Log closed Sat Jan 12 00:00:14 2019