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/
favre49 has joined #mlpack
favre49 has quit [Ping timeout: 256 seconds]
favre49 has joined #mlpack
favre49 has quit [Ping timeout: 265 seconds]
favre49 has joined #mlpack
favre49 has quit [Ping timeout: 258 seconds]
favre49 has joined #mlpack
ImQ009 has joined #mlpack
favre49 has quit [Ping timeout: 246 seconds]
favre49 has joined #mlpack
< walragatver[m]> jeffin143: It looks like you are only building include/proto folder.
< walragatver[m]> include/filewriter and mlboard.hpp is not getting build I think
< walragatver[m]> I might be wrong so let me know what you think
< jeffin143[m]> Yes I did raise this doubt , and brin , gave me suggestion to use install dir , I guess because since they are header file they can be copied to install locations
< jeffin143[m]> And after you hit install
< jeffin143[m]> It will installed in the location where all other include are there with a folder mlboard
< jeffin143[m]> @walragatver:matrix.org: sorry forgot to tag you
favre49 has quit [Ping timeout: 272 seconds]
favre49 has joined #mlpack
< walragatver[m]> jeffin143:
< walragatver[m]> I was able to compile it
< walragatver[m]> I referred rustingswords make commands slightly
< walragatver[m]> There is CMakeFiles/proto.dir folder in /include/proto/ folder
< walragatver[m]> It contains .o files for every proto
< walragatver[m]> I used them while linking.
< walragatver[m]> g++ main.cpp /usr/local/include/proto/event.pb.cc.o /usr/local/include/proto/summary.pb.cc.o /usr/local/include/proto/tensor_shape.pb.cc.o /usr/local/include/proto/resource_handle.pb.cc.o /usr/local/include/proto/tensor.pb.cc.o /usr/local/include/proto/types.pb.cc.o -lprotobuf -lpthread
< walragatver[m]> I copied those .o files in include/proto folder
< walragatver[m]> I think it's a linking problem
< walragatver[m]> I saw CMakeFiles.txt file in ensmallen/tests
< walragatver[m]> Over there target_link_libraries() function is used to link ensmallen_tests to ensmallen
< walragatver[m]> I tried it in CMakeLists.txt of our include/proto folder but I was not able do it correctly.
< jeffin143[m]> Ok I think so I was providing this after the l flag
< jeffin143[m]> I have seen some video what they do is
< jeffin143[m]> Create a archive of all these o file as .a file and they use that
< jeffin143[m]> I am trying that
< jeffin143[m]> I am new to all this
< jeffin143[m]> @walragatver:matrix.org: Thanks for that :)
< walragatver[m]> <jeffin143[m] "Create a archive of all these o "> There is libproto.a file present
< jeffin143[m]> @walragatver:matrix.org: did you link against the Rusting sword repo output folder ??
< jeffin143[m]> How did that libproto.a ?? File get created ??
< walragatver[m]> I think after sudo make install
< jeffin143[m]> How did you generate the output file for include/proto/*cc ?
< walragatver[m]> output file in the sense?
< jeffin143[m]> .o file as in event.pb.cc.o and all the other .o files ???
< walragatver[m]> when we run make in build directory
< jeffin143[m]> Ok I got that
< jeffin143[m]> Yes I wanted to know whether you were using the same
< jeffin143[m]> Files or not
< walragatver[m]> Yeah the same ones
< walragatver[m]> They got copied in usr/local/include after make install
< jeffin143[m]> Ok , so I wil try to write cmake in the sense that we get this created as one and then we can link them as one instead of multiple of al these files
< jeffin143[m]> Did you try to link against libproto.a ?? File and check ??
< walragatver[m]> Yeah it's working
< walragatver[m]> I checked it now
< jeffin143[m]> Ok ,that means we have to link against libproto.a that's it
< jeffin143[m]> Can u chexk once wether pthread and protobuf flas are necessary,mm
< jeffin143[m]> Like could you remove that once and check ,mm
< walragatver[m]> I think they might be necessary
< walragatver[m]> It's starts throwing undefined reference to google::protobuf etc.
< jeffin143[m]> Ok fine , thanks
< jeffin143[m]> I would try it out in few hours
< jeffin143[m]> I don't have any charge in my laptop
< jeffin143[m]> I will add the docs and improve the styling
< jeffin143[m]> Add a small example
< jeffin143[m]> And then mark the pr for review
< walragatver[m]> Okay
< jeffin143[m]> Thanks for helping out :)
< jeffin143[m]> Did you check that the log file is getting created ??
< walragatver[m]> nope let me check
< walragatver[m]> I am getting this as output
< walragatver[m]> after running ./a.out
< jeffin143[m]> Ok that's expected
< jeffin143[m]> I was just writing temp so that I know
< jeffin143[m]> Thanks :)
< walragatver[m]> Where will the log file get created?
< jeffin143[m]> In jeffin folder
< jeffin143[m]> Created a folder as jeffin
< jeffin143[m]> And run it again
< jeffin143[m]> Or change the folder also if you want*
< jeffin143[m]> In the main.cpp
< walragatver[m]> Yeah it's getting created
< jeffin143[m]> Can you share the exact command to compile the file
< jeffin143[m]> ?
< walragatver[m]> g++ main.cpp /usr/local/include/proto/libproto.a -lprotobuf -lpthread
< jeffin143[m]> Thank @walragatver:matrix.org for all the help
< jeffin143[m]> Really :)
< jeffin143[m]> I was watching YouTube videos from yesterday
< walragatver[m]> It's fine debugging is always fun.
< walragatver[m]> :)
ImQ009 has quit [Ping timeout: 272 seconds]
< walragatver[m]> jeffin143: This might also help you so just check it out. I am not sure but might help
rcurtin[m] has quit [Quit: Idle for 30+ days]
ImQ009 has joined #mlpack
jeffin143 has joined #mlpack
< jeffin143> Thanks walragatver[m] : I will take a look
< jeffin143> I was trying out something with mlboard :
< jeffin143> https://pastebin.com/YrmDwRgm : Can you take a look at this , I am not sure why this is throwing weird error
< jeffin143> https://pastebin.com/RWxU4Ke7 -> this is nearly a same implementation of the main.cpp with async and all other dependency so that you can mock that
< jeffin143> The second file compiles without any error not sure, why does first one fail
< jeffin143> also in second one if you change `static void check(const string& name, size_t age, T func)` to `static void check(const string& name, size_t age, T& func)` the compilation fails
< jeffin143> May be I have to look deep into parameter pack and unpack
jeffin143 has quit [Ping timeout: 245 seconds]
jeffin143 has joined #mlpack
< jeffin143> Hence we need to pass by reference only `static void check(const string& name, size_t age, T& func)` and hence we should compile the code with this as argument function
jeffin143 has quit [Remote host closed the connection]
< jeffin143[m]> Please note that we cannot pass file writer object as pass by value is it will call the destructor and delete the queue and Nothing will be stored and thus we have to call by reference , just like the second prototype function
max84 has joined #mlpack
< max84> hey i am a newbie and would like to make some contributions can anyone help me out
< zoq> max84: Hello, sure maybe you have already seen: https://www.mlpack.org/community.html#getting-involved ?
< zoq> max84: That should be a good starting point.
< max84> yeah I just installed ml pack
max84 has quit [Remote host closed the connection]
< jeffin143[m]> I made it to work :)
< jeffin143[m]> Thanks
< jeffin143[m]> Never knew
< jeffin143[m]> Cpp had std::ref
< jeffin143[m]> Cpp is an Ocean , never ending
< abernauer[m]> Thirty five year old languages can be like that. Stroustrup intial goals for the language are not even in the current standard to my knowledge.
favre49 has quit [Remote host closed the connection]
< jeffin143[m]> @walragatver:matrix.org: Ryan Birmingham (Gitter) @brim : https://github.com/mlpack/mlboard/blob/e3e9d75613395dc04a45b58efd03a7c76b24eee7/README.md
ImQ009 has quit [Quit: Leaving]
petris has quit [Quit: Bye bye.]
petris has joined #mlpack
mrmajor[m] has joined #mlpack