--- Log opened Sun Nov 17 00:00:28 2013 | ||
-!- zxtx_ [~zv@c-98-193-83-24.hsd1.il.comcast.net] has joined #shogun | 00:10 | |
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat] | 01:33 | |
shogun-buildbot_ | build #524 of nightly_all is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_all/builds/524 | 03:05 |
---|---|---|
-!- sonne|osx_ [~sonne@f053046174.adsl.alicedsl.de] has joined #shogun | 03:21 | |
-!- sonne|osx [~sonne@f053037142.adsl.alicedsl.de] has quit [Ping timeout: 260 seconds] | 03:22 | |
-!- sonne|osx_ is now known as sonne|osx | 03:22 | |
shogun-buildbot_ | build #620 of nightly_default is complete: Failure [failed notebooks] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/620 | 04:18 |
-!- Boeke [~alex@24-179-114-25.dhcp.oxfr.ma.charter.com] has quit [Remote host closed the connection] | 04:23 | |
-!- new_lido [~walid@41.218.175.173] has joined #shogun | 07:48 | |
-!- lisitsyn [~lisitsyn@92-240-132-54.clients.tlt.100megabit.ru] has joined #shogun | 09:15 | |
-!- lisitsyn [~lisitsyn@92-240-132-54.clients.tlt.100megabit.ru] has quit [Read error: Connection reset by peer] | 09:59 | |
-!- Saurabh7 [~Saurabh7@115.248.130.148] has joined #shogun | 10:36 | |
-!- Saurabh7 [~Saurabh7@115.248.130.148] has quit [Ping timeout: 252 seconds] | 11:13 | |
-!- Saurabh7 [~Saurabh7@115.248.130.148] has joined #shogun | 11:27 | |
-!- new_lido [~walid@41.218.175.173] has quit [Ping timeout: 252 seconds] | 12:17 | |
-!- new_lido [~walid@41.218.177.153] has joined #shogun | 12:30 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Quit: leaving] | 12:49 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:50 | |
-!- mode/#shogun [+o wiking] by ChanServ | 12:50 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Client Quit] | 12:51 | |
-!- wiking [~wiking@info2k1.hu] has joined #shogun | 12:53 | |
-!- wiking [~wiking@info2k1.hu] has quit [Changing host] | 12:54 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:54 | |
-!- mode/#shogun [+o wiking] by ChanServ | 12:54 | |
@wiking | mm | 12:55 |
@sonney2k | wiking, mm | 12:57 |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Quit: ZNC - http://znc.in] | 12:58 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:59 | |
-!- mode/#shogun [+o wiking] by ChanServ | 12:59 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 13:06 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 13:06 | |
-!- mode/#shogun [+o wiking] by ChanServ | 13:06 | |
@sonney2k | wiking, why are you reconnecting all the time? | 13:06 |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 13:10 | |
@sonney2k | besser82, hey there back home? | 13:10 |
besser82 | sonney2k: Yes! Since yesterday ~21:00 | 13:10 |
@sonney2k | besser82, I am stuck with cmake - we have a binary protbuf file in shogun | 13:23 |
@sonney2k | but cmake rules for that are not complete | 13:23 |
besser82 | right | 13:24 |
@sonney2k | besser82, so I have protobuf detection and everything ready | 13:24 |
besser82 | sonney2k: kk, but it doesn't compile? | 13:24 |
@sonney2k | but the problem is I now need some kind of rule that goes over the files in shogun/io/protobuf/*.proto | 13:24 |
besser82 | like glob? | 13:25 |
besser82 | or iteration from glob? | 13:25 |
@sonney2k | and adds proper dependencies to compile them before the c++ code is compiled | 13:25 |
@sonney2k | besser82, I have no idea about cmake :/ | 13:25 |
besser82 | so you want to process && build them? | 13:25 |
@sonney2k | as far as I understand I have to write WRAP_PROTO(VAR input1 input2 input3..) | 13:26 |
@sonney2k | and then the inputs will be converted from *proto to whatever | 13:26 |
@sonney2k | besser82, yes | 13:26 |
@sonney2k | besser82, so my plan was to have the protobuf detection in the main cmakelists.txt | 13:26 |
@sonney2k | and from there include the cmakefiles.txt that I put in src/shogun/io/protobuf | 13:27 |
@sonney2k | but I have no idea how dependency management works and which target is built first etc | 13:27 |
besser82 | sonney2k: allrighty! Is there any link to what you have so far? | 13:27 |
-!- gsomix [~Miranda@188.168.2.129] has joined #shogun | 13:27 | |
gsomix | hello | 13:27 |
besser82 | sonney2k: like code-view on gh? | 13:28 |
@sonney2k | besser82, I just need to know how one usually does that with cmake | 13:28 |
besser82 | gsomix:hi! | 13:28 |
@sonney2k | gsomix, hah I am just discussing about how we get your protobuf stuff enabled | 13:28 |
besser82 | sonney2k: allrighty! I'll write some example and fpaste for you after lunch, ok? | 13:28 |
gsomix | sonney2k: magic. | 13:29 |
@sonney2k | besser82, I mean I need these *.proto files to be added | 13:29 |
* gsomix will be afk for little time. | 13:29 | |
besser82 | sonney2k: as a dependency or for being processed? | 13:30 |
@sonney2k | as deps for the src/shogun/io/ProtobufFile.cpp | 13:30 |
@sonney2k | etc | 13:30 |
@sonney2k | that are including files that are to be generated with the WRAP_PROTO command | 13:30 |
@sonney2k | besser82, help says sth like | 13:31 |
@sonney2k | WRAP_PROTO(PROTO_SRC myproto.proto external.proto) | 13:31 |
@sonney2k | # ADD_EXECUTABLE(server ${server_SRC} {PROTO_SRC}) | 13:31 |
besser82 | sonney2k: got it ;) | 13:31 |
@sonney2k | besser82, so any thoughts? | 13:33 |
besser82 | sonney2k: right on it ;) | 13:33 |
* sonney2k tries to relax | 13:35 | |
besser82 | sonney2k: try something like: | 13:35 |
@sonney2k | gsomix, how is it going? long time no see... | 13:35 |
besser82 | FILE(GLOB protobuf_src $path_to/*.proto) | 13:35 |
@sonney2k | besser82, then the wrap_proto line I guess | 13:36 |
besser82 | WRAP_PROTO(PROTO_SRC ${protobuf_src}) | 13:36 |
besser82 | sonney2k: right ;) | 13:36 |
gsomix | re | 13:36 |
@sonney2k | besser82, and then? How do I add it to the shogun sources? | 13:37 |
@sonney2k | is it sth like add_dependencies(shogun PROTO_SRC) ? | 13:37 |
besser82 | ADD_TARGET(libshogun ${shogun_src} ${PROTO_SRC}) | 13:37 |
-!- hushell [~hushell@c-50-188-141-210.hsd1.or.comcast.net] has quit [Ping timeout: 268 seconds] | 13:38 | |
besser82 | sonney2k: add_dependencies might work too | 13:38 |
@sonney2k | besser82, I see in src/shgoun/CMakelists.txt that it does add_library(shogun ...) what is the difference between that and target? | 13:39 |
besser82 | sonney2k: a target is like adding dependency, e.g. you want to compile a prg and need a lib build first | 13:40 |
@sonney2k | besser82, problem is that this will create some .cxx or so files that will need to be compiled too - so I guess target is what we need | 13:41 |
besser82 | sonney2k: forget, just wrote silly stuff | 13:41 |
* sonney2k tries what we have so far | 13:41 | |
besser82 | sonney2k: add_dependency is for depencies like explained above... | 13:42 |
besser82 | sonney2k: add_target is for creating a new target in makefile --> like make docs | 13:42 |
besser82 | sonney2k: i'm afk now ---> lunch will be back in ~30 mins | 13:42 |
gsomix | sonney2k: slowly. I now I'm really bastard. :) at work we preparing release of our optical software. there is not a lot of work, so, last days I was trying "to dive into shogun" again. | 13:42 |
gsomix | first task at my schedule is mat-files reader. | 13:43 |
gsomix | btw I have attended a couple of conferences. | 13:44 |
gsomix | hm, that's all news | 13:44 |
@sonney2k | gsomix, yeah would be nice if you could continue the .mat stuff | 13:45 |
@sonney2k | people would love it :) | 13:45 |
@sonney2k | I am sure | 13:45 |
gsomix | yeah, I love science's people. | 13:46 |
@sonney2k | btw once you have cracked this for CFile - you should also try to write a SerializableMatlabFile.* so we can save shogun objects in .mat files :D | 13:47 |
@sonney2k | gsomix, but for the time being I am trying to get the protbuf stuff to work which is not currently :/ | 13:48 |
gsomix | sonney2k: m? what's problem? | 13:49 |
@sonney2k | gsomix, currenlty proto files are not compiled | 13:50 |
@sonney2k | so the reade & writer is just not used / included | 13:51 |
gsomix | sonney2k: .cxx? | 13:51 |
gsomix | or more complicated problem? | 13:51 |
@sonney2k | gsomix, the *proto -> *.cpp/h yes | 13:56 |
@sonney2k | besser82, back? | 14:36 |
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 252 seconds] | 14:37 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 14:49 | |
@sonney2k | besser82, back? | 14:49 |
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun | 14:57 | |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * 4562893 / CMakeLists.txt,src/shogun/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/4562893e610c59a74e193cd280280fb40f61dcc1 | 14:57 |
shogun-notifier- | shogun: half way protobuf detection | 14:57 |
@sonney2k | besser82, wiking any thoughts why add_dependencies is not causing the proto files to be compiles? https://github.com/shogun-toolbox/shogun/commit/4562893e610c59a74e193cd280280fb40f61dcc1 | 14:58 |
shogun-buildbot_ | build #1950 of bsd1 - libshogun is complete: Failure [failed compile test] Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/1950 blamelist: Soeren Sonnenburg <sonne@debian.org> | 15:02 |
besser82 | sonney2k: I just dived a bit into protobuf && cmake stuff and came up with some interesting conclusions | 15:12 |
besser82 | sonney2k: You need to have Find(Protobuf) inside the same CMakeLists.txt, where the shogun-target is setup and need to append ${PROTO_HDRS} to the file-list of the shogun-target to get it running... | 15:14 |
@sonney2k | besser82, just realized that too but still far from working | 15:17 |
@sonney2k | besser82, it creates inside the build dir then the wanted src/shogun/ShogunVersion.pb.* | 15:17 |
@sonney2k | and also compiles them | 15:17 |
@sonney2k | besser82, but I need these files in the core source tree and also ship them with shogun | 15:18 |
@sonney2k | I mean in principle it is an extra project | 15:18 |
besser82 | sonney2k: lemme checkout current commit and investigate... | 15:19 |
@sonney2k | besser82, I had to do this | 15:20 |
@sonney2k | add_library(shogun SHARED ${protobuf_src} ${PROTO_SRCS} ${PROTO_HDRS} ${LIBSHOGUN_SRC} lib/config.h base/class_list.cpp) | 15:20 |
@sonney2k | then it compiles it but not to the place I want it to | 15:20 |
@sonney2k | besser82, my take is that I would rather add a ADD_CUSTOM_COMMAND | 15:21 |
@sonney2k | and compile the files myself with PROTOBUF_PROTOC_EXECUTABLE | 15:21 |
besser82 | sonney2k: why? | 15:22 |
@sonney2k | besser82, because I don't get it to work otherwise | 15:24 |
@sonney2k | besser82, or any idea how to force the ourput dir? | 15:24 |
* sonney2k I mean we have to install the generated .h files | 15:27 | |
shogun-buildbot_ | build #321 of FCRH - libshogun is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/FCRH%20-%20libshogun/builds/321 | 15:33 |
besser82 | sonney2k: can you push a commit of what you have now into a private branch; so I can have a look and add some needed bits to get it going? | 15:33 |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * 1a6ae35 / src/shogun/ (3 files): https://github.com/shogun-toolbox/shogun/commit/1a6ae35b80d4fdab491cda3b313cc499a7f0972d | 15:34 |
shogun-notifier- | shogun: protobuf fixes | 15:34 |
@sonney2k | besser82, have a look | 15:34 |
@sonney2k | besser82, if I do cp src/shogun/*.{cc,h} ../src/shogun/io/protobuf/ | 15:35 |
@sonney2k | it compiles | 15:35 |
@sonney2k | besser82, so all I need is this output to be in the respective directory (at least the *.h) the .cc file doesn't matter | 15:35 |
besser82 | sonney2k: allrighty! Will do my best to solve that.. | 15:36 |
shogun-buildbot_ | build #1951 of bsd1 - libshogun is complete: Failure [failed compile test] Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/1951 blamelist: Soeren Sonnenburg <sonne@debian.org> | 15:48 |
shogun-buildbot_ | build #113 of clang34 - undefined behaviour analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20undefined%20behaviour%20analysis/builds/113 blamelist: Soeren Sonnenburg <sonne@debian.org> | 15:52 |
@sonney2k | besser82, I have an idea | 15:56 |
@sonney2k | forget it | 15:57 |
@sonney2k | I only see add_custom_target as solution... | 15:57 |
-!- new_lido is now known as new_lido_afk | 16:05 | |
besser82 | sonney2k: there is actually another solution: | 16:06 |
besser82 | sonney2k: I will set it up tomorrow morning | 16:07 |
besser82 | sonney2k: We will need to build the *.pb.cc as a static lib and link that into shogun | 16:07 |
besser82 | sonney2k: That will so the trick and solve the outdir problem | 16:08 |
besser82 | s/ so / do / | 16:08 |
shogun-buildbot_ | build #288 of precise - libshogun is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/precise%20-%20libshogun/builds/288 blamelist: Soeren Sonnenburg <sonne@debian.org> | 16:15 |
shogun-buildbot_ | build #111 of clang34 - thread analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20thread%20analysis/builds/111 blamelist: Soeren Sonnenburg <sonne@debian.org> | 16:15 |
dsockwell | what does it take to cross-compile libshogun in 3.0? | 16:26 |
dsockwell | n/m i think i got it | 16:31 |
-!- sonne|osx [~sonne@f053046174.adsl.alicedsl.de] has quit [Quit: sonne|osx] | 16:34 | |
@sonney2k | besser82, you sure? I mean I still need to include files in that dir? | 16:42 |
@sonney2k | besser82, I mean sure I could just add another static lib target - get the files created in the right place | 16:42 |
@sonney2k | and then add the lib | 16:42 |
besser82 | sonney2k: right and add the headers to be install | 16:43 |
@sonney2k | besser82, well I can try... | 16:44 |
besser82 | sonney2k: If you want to :D Otherwise I can implement that tomorrow morning... | 16:44 |
@sonney2k | besser82, but problem will still be that it generates the .h/cc files under build/src | 16:45 |
@sonney2k | and so I guess the include won't be found | 16:46 |
besser82 | not really, because you can move the autogeneration magic to some seperate CMakeLists.txt in the protobuf dir, then ;) | 16:46 |
@sonney2k | besser82, well about issues with packaging - I realized I would prefer for debian packaging - that one builds libshogun in one go | 16:47 |
@sonney2k | and then uploads that to the archive | 16:47 |
@sonney2k | and then only later builds interfaces but *using* the shogun headers installed | 16:47 |
@sonney2k | and lib of course | 16:47 |
besser82 | sonney2k: what is your specific reason for that? | 16:48 |
besser82 | sonney2k: Wouldn't that just raise overhead for no benefit? | 16:48 |
@sonney2k | besser82, it is not really overhead but think about the dependencies shogun interfaces have | 16:49 |
@sonney2k | shogun 2.0 didn't make it into debian because there was always one stupid dependency that went kaboom | 16:49 |
@sonney2k | think octave, R, lua, ruby, openjdk, narray, numpy, mono, ... | 16:50 |
@sonney2k | besser82, the amount of dependencies is insane | 16:50 |
@sonney2k | now with the split I can at least make sure that a couple of things survive | 16:51 |
besser82 | sonney2k: I've seen packages with lots of more deps... like hadoop | 16:51 |
besser82 | sonney2k: In FC there is one rule: If someone breaks your package with a stupid update, you can intoduce a bat to his face :-P | 16:52 |
@sonney2k | besser82, in debian the rule is if your package has no critical bugs it enters testing and if you don't care fixing the bugs even in the deps - your fault | 16:54 |
@sonney2k | so I need that | 16:54 |
@sonney2k | and there is no overhead... | 16:54 |
besser82 | sonney2k: with overhead i meant two (or more) seperated src-pkgs... | 16:55 |
@sonney2k | yeah ok that there is | 16:56 |
shogun-buildbot_ | build #130 of clang34 - static analysis is complete: Failure [failed analyse] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20static%20analysis/builds/130 blamelist: Soeren Sonnenburg <sonne@debian.org> | 16:59 |
@wiking | sonney2k: i've just did a little bit of polishing and now i have static lib localhost | 17:04 |
@wiking | sonney2k: btw: the static interfaces actually should be | 17:06 |
@wiking | libshogun objects + static interface object -> .so | 17:07 |
@wiking | or? | 17:07 |
@wiking | sonney2k: as currently static interface is currently: static interface obj and then that is linked to libshogun.so | 17:07 |
@wiking | or? | 17:07 |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has joined #shogun | 17:08 | |
shainer | hello | 17:08 |
@wiking | helo | 17:09 |
shainer | can I ask someone about the matlab interface? I downloaded shogun 3.0.0 and can't get it to compile correctly on Linux | 17:09 |
@sonney2k | wiking, it should be separete yes | 17:09 |
@wiking | shainer: go ahead, give us some error output | 17:10 |
@wiking | sonney2k: sorry i lost you. separate in what sense? | 17:10 |
shainer | wiking: well no error output, I followed the INSTALL and everything went fine, but the dir src/interfaces/matlab_static only contains a source code, and header and the CMakeLists.txt | 17:10 |
shainer | it tells me to try this to test the installation | 17:10 |
shainer | addpath('../../../src/interfaces/matlab_static/graphical') | 17:10 |
shainer | on matlab | 17:10 |
@wiking | sonney2k: which scenario would u go with: static interface obj linked with shared libshogun or static interface obj + libshogun obj | 17:10 |
shainer | but of course this fails, the directory graphical doesn't exist | 17:10 |
@wiking | i.e. create a shared lib out of static obj + libshogun obj (static lib) | 17:11 |
@sonney2k | wiking, yes 2 libraries libshogun.so and the sg.so for the interfaces dynamically loading libshogun.so | 17:11 |
@sonney2k | wiking, how do I get -fPIC in cmake for the lib? | 17:12 |
@wiking | sonney2k: so actually the current one should be the right way? | 17:12 |
@wiking | shainer: mmm weird | 17:13 |
shainer | wiking: I should mention that I had to set MATLAB_ROOT explicitly when invoking cmake because it needs it to find the paths | 17:14 |
@sonney2k | shainer, do a find shogun | grep sg.mex | 17:14 |
shainer | no occurrence | 17:15 |
@sonney2k | shainer, then the matlab interface didn't get compiled | 17:15 |
@sonney2k | or you are in the wrong dir | 17:15 |
@sonney2k | shogun == root level source dir | 17:16 |
shainer | yes | 17:16 |
shainer | the one I extracted | 17:16 |
@sonney2k | besser82, any thoughts about how to get -fPIC? | 17:16 |
@sonney2k | besser82, it doesn't want to link against the static lib because -fPIC is not on? | 17:16 |
@wiking | sonney2k: u need to add that compiler flag | 17:16 |
shainer | aah wait... | 17:17 |
shainer | let me look at the CMakeLists for matlab_static | 17:17 |
shainer | probably I miss some variable used there | 17:17 |
@sonney2k | wiking, how to figure out I need -fPIC? and how to add the compiler flag to my target? | 17:17 |
shainer | or they are not correct | 17:17 |
@wiking | sonney2k: there's currently no way to add -fPIC | 17:18 |
@wiking | sonney2k: u need to add a new cmake variable that actually adds -fPIC to the compiler flags | 17:18 |
besser82 | sonney2k: set_target_properties(${THE_TARGET} PROPERTIES COMPILE_FLAGS "-fPIC" ${CMAKE_CXXFLAGS}) | 17:19 |
@sonney2k | wiking, errm but when we compile libshogun we have to compile with -fPIC otherwise the lib is not useable under amd64 etc | 17:19 |
@sonney2k | besser82, thanks | 17:20 |
besser82 | sonney2k: np :D | 17:20 |
@wiking | sonney2k: LINKFLAGS_CMDLINE="$LINKFLAGS_CMDLINE ../../shogun/libshogun.a" | 17:20 |
@wiking | sonney2k: in older times it was like this | 17:20 |
@wiking | cmdline was rolled together with static lib | 17:21 |
@wiking | so actually it was not linking to shared lib... | 17:21 |
shainer | sonney2k: no ok they are all set as they should | 17:22 |
@sonney2k | besser82, seems to work | 17:22 |
@wiking | shainer: mex is not being generated atm with cmake | 17:22 |
@sonney2k | besser82, now question is how to install these *.h files to the install targets? | 17:22 |
@wiking | that's your problem | 17:22 |
shainer | wiking: what is mex? | 17:23 |
@wiking | shainer: u need sg.mex | 17:23 |
@wiking | for matlab interface | 17:23 |
@sonney2k | besser82, maybe I can do everything with forward declarations and then I don't need the stuff? | 17:23 |
@wiking | but currenlty we are not creating that | 17:23 |
* sonney2k tries | 17:23 | |
shainer | wiking: can I download that or generate it by hand or something like that? | 17:24 |
shainer | otherwise what's the latest version without cmake? | 17:24 |
shainer | so I can use that one instead :) | 17:24 |
@wiking | shainer: the problem is that only sonney2k would know how to generate that mex file actualy | 17:24 |
besser82 | sonney2k: just add ${PROTOBUF_HDRS} to the shogun-headers list... | 17:25 |
shainer | wiking: does he accept VISA? :D joking | 17:26 |
shogun-buildbot_ | build #114 of clang34 - undefined behaviour analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20undefined%20behaviour%20analysis/builds/114 blamelist: Soeren Sonnenburg <sonne@debian.org> | 17:26 |
@wiking | shainer: u can sponsor us actually if u need that feature ASAP | 17:26 |
@wiking | :) | 17:26 |
@sonney2k | wiking, what? | 17:27 |
@sonney2k | I don't even have matlab... | 17:28 |
@wiking | sonney2k: i do not know how that .mex file was being generated | 17:28 |
@wiking | if anybody tells me | 17:29 |
@wiking | i can add that to cmake | 17:29 |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] | 17:29 | |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has joined #shogun | 17:29 | |
@wiking | shainer: yo :) | 17:29 |
@sonney2k | wiking, look at the configure lines - it was no magic | 17:29 |
shainer | sorry, back again | 17:29 |
@sonney2k | shainer, or dpaste a mex -v | 17:29 |
@sonney2k | besser82, no I won't need headers :D | 17:30 |
besser82 | sonney2k: :D | 17:30 |
@sonney2k | besser82, but I have an issue :( | 17:30 |
besser82 | sonney2k: which one? | 17:30 |
@sonney2k | I somehow need to add the build/src/shogun/io/protobuf to the include dirs | 17:30 |
@sonney2k | otherwise it won't find the lib | 17:30 |
@sonney2k | the .h when compiling I mean | 17:31 |
@sonney2k | lib probably too | 17:31 |
shainer | sonney2k: http://paste.chakra-project.org/5749/ | 17:31 |
@wiking | shainer: i would love to help but neither now nor in the past i've managed to find out how that sg.mex was generated | 17:31 |
shainer | wiking: thanks all the same :) I'll try an older version in case | 17:32 |
@sonney2k | shainer, well get shogun 2.0 compile it with matlab and past the link line to wiking here | 17:33 |
@sonney2k | shainer, that combained with your paste will fix it | 17:33 |
besser82 | sonney2k: LIST(INSERT INCLUDES ${CMAKE_CURRENT_BINARYDIR}) in CMake-file in protobuf-dir ;) | 17:34 |
@wiking | sonney2k: your problem actually is that the protobuf files are not being generated in the right place man.... see ./build/src/shogun/ShogunVersion.pb.h | 17:34 |
shainer | sonney2k: ok will do once I finish | 17:34 |
@sonney2k | wiking, yeah they are in build/src but not ./src/ - so no what? | 17:34 |
@sonney2k | s/no/now | 17:35 |
@wiking | sonney2k: well i'm just trying to fix this | 17:35 |
@sonney2k | wiking, but then on what I currently have please | 17:35 |
@sonney2k | let me commti first | 17:35 |
@wiking | ok | 17:36 |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * bd80022 / / (5 files): https://github.com/shogun-toolbox/shogun/commit/bd800220b765adfa19689f880daad3feb4cacb8e | 17:36 |
shogun-notifier- | shogun: use forward decls in protobuf and create static sgproto lib | 17:36 |
@sonney2k | wiking, there | 17:37 |
@wiking | eh? | 17:37 |
@wiking | wtf? :D | 17:37 |
@sonney2k | wiking, if I could tell cmake to search for includes in build/src/ then it would work | 17:37 |
@wiking | sonney2k: that's easy | 17:37 |
@wiking | src/shogun/io/protobuf/CMakeLists.txt?! | 17:38 |
@wiking | why is this? | 17:38 |
@wiking | ah ok | 17:38 |
@wiking | so u generated a static 'lib' | 17:38 |
@wiking | and u want that to be linked into shogun? | 17:38 |
@sonney2k | wiking, yes - but problem is that ProtobufFile includes some of the libs' headers | 17:39 |
@wiking | i mean i blame the fucking protobuf macro for doing this shit | 17:39 |
@wiking | yeah i nkow exactly what's the problem | 17:39 |
@wiking | as i wanted to fix this like 2 months ago | 17:39 |
@sonney2k | wiking, enlighten us? | 17:39 |
@wiking | but i gave up because of the shity cmake protobuf macros | 17:39 |
@sonney2k | well IMHO it would make sense to have a separate protobuf project/lib and then we woulnd' thave such issues | 17:40 |
shogun-buildbot_ | build #112 of clang34 - thread analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20thread%20analysis/builds/112 blamelist: Soeren Sonnenburg <sonne@debian.org> | 17:41 |
@wiking | where do u depend on sgproto? | 17:42 |
@wiking | ok i see | 17:42 |
@wiking | sonney2k: do u need the -D flags for creating the protobuf static lib? | 17:43 |
@sonney2k | wiking, -D? | 17:43 |
@wiking | the define flags we pass to the compiler | 17:43 |
@wiking | when creating libshogun | 17:43 |
@sonney2k | no | 17:43 |
@wiking | btw: Users/wiking/shogun/src/shogun/./io/ProtobufFile.h:17:17: error: nested namespace definition must define each namespace separately | 17:43 |
@wiking | namespace google::protobuf ^~~~~~~~~~ | 17:43 |
@wiking | wtf?! | 17:43 |
@sonney2k | man so I nest it then | 17:44 |
@wiking | /Users/wiking/shogun/src/shogun/./io/ProtobufFile.h:367:39: error: unknown type name 'ShogunVersion_SGDataType' void read_and_validate_global_header(ShogunVersion_SGDataType type); | 17:44 |
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun | 17:44 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 17:44 | |
@wiking | /Users/wiking/shogun/src/shogun/base/class_list.cpp:632:66: error: cannot initialize return object of type 'shogun::CSGObject *' with an rvalue of type 'shogun::CProtobufFile *' | 17:44 |
@wiking | static CSGObject* __new_CProtobufFile(EPrimitiveType g) { return g == PT_SGOBJECT? new CProtobufFile(): __null; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 17:44 |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] | 17:45 | |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has joined #shogun | 17:45 | |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * 1ffd4d9 / src/shogun/io/ProtobufFile.h: https://github.com/shogun-toolbox/shogun/commit/1ffd4d9de0d3f9066ef970c9874d286abc6cc1c6 | 17:45 |
shogun-notifier- | shogun: fix | 17:45 |
@sonney2k | wiking, try again | 17:45 |
shainer | wiking: sonney2k ok shogun 2.0.0 installed correctly | 17:46 |
shainer | I start matlab, add the path (now it's there) | 17:47 |
shainer | and when I launch svr_regression this happens: http://paste.chakra-project.org/5750/ | 17:47 |
@wiking | the setting of fpic should be much more robust then what u r doing now <- sonney2k | 17:47 |
shainer | but this is only a matter of installing the correct library I guess | 17:47 |
@wiking | sonney2k: | 17:48 |
@wiking | In file included from /Users/wiking/shogun/src/shogun/base/class_list.cpp:179: | 17:48 |
@wiking | /Users/wiking/shogun/src/shogun/./io/ProtobufFile.h:371:39: error: unknown type name 'ShogunVersion_SGDataType' | 17:48 |
@wiking | void read_and_validate_global_header(ShogunVersion_SGDataType type); | 17:48 |
@wiking | ^ | 17:48 |
@wiking | /Users/wiking/shogun/src/shogun/./io/ProtobufFile.h:374:27: error: unknown type name 'ShogunVersion_SGDataType' | 17:48 |
@wiking | void write_global_header(ShogunVersion_SGDataType type); | 17:48 |
@wiking | ^ | 17:48 |
@wiking | /Users/wiking/shogun/src/shogun/base/class_list.cpp:632:66: error: cannot initialize return object of type 'shogun::CSGObject *' with an rvalue of type 'shogun::CProtobufFile *' | 17:48 |
@sonney2k | shainer, that is something we have in our FAQ :D | 17:48 |
@wiking | static CSGObject* __new_CProtobufFile(EPrimitiveType g) { return g == PT_SGOBJECT? new CProtobufFile(): __null; } | 17:48 |
@wiking | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 17:48 |
@wiking | 3 errors generated. | 17:48 |
shainer | sonney2k: ah great :D | 17:48 |
shogun-notifier- | shogun: Soeren Sonnenburg :develop * 3fcfb04 / src/shogun/io/ProtobufFile.h: https://github.com/shogun-toolbox/shogun/commit/3fcfb041261b36dfdd147ada6effe3fba517ca45 | 17:50 |
@sonney2k | wiking, ok now | 17:50 |
shogun-notifier- | shogun: fix | 17:50 |
@sonney2k | wiking, well we should have general PIC detection | 17:50 |
@sonney2k | so it holds for all libs | 17:50 |
@wiking | yep | 17:50 |
@wiking | heh | 17:57 |
@wiking | i give up | 17:57 |
@sonney2k | besser82, so then you can take over :D | 18:00 |
@sonney2k | it is there but in a hmmh hhmmh state | 18:01 |
-!- Saurabh7 [~Saurabh7@115.248.130.148] has quit [Ping timeout: 246 seconds] | 18:01 | |
besser82 | sonney2k: alrighty, will take care of it :D | 18:01 |
@sonney2k | iglesiasg, I have a new idea regarding gf-markdown - we could use githubs api to prerender the stuff and then just store them as static files on the disc | 18:05 |
@sonney2k | that's it | 18:05 |
@iglesiasg | sonney2k, aham! That sounds like a nice idea. | 18:05 |
@iglesiasg | sonney2k, Have you see already if the API provides a markdown to html converter function? | 18:06 |
@iglesiasg | the source of the page https://github.com/shogun-toolbox/shogun/blob/develop/README.md has indeed the markdown converted to HTML | 18:08 |
@iglesiasg | sonney2k, http://developer.github.com/v3/markdown/ | 18:08 |
@iglesiasg | maybe this one? ^ | 18:08 |
shogun-buildbot_ | build #1952 of bsd1 - libshogun is complete: Failure [failed compile test] Build details are at http://buildbot.shogun-toolbox.org/builders/bsd1%20-%20libshogun/builds/1952 blamelist: Soeren Sonnenburg <sonne@debian.org> | 18:14 |
-!- Saurabh7 [~Saurabh7@115.248.130.148] has joined #shogun | 18:14 | |
shogun-buildbot_ | build #328 of FC19 - libshogun is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/FC19%20-%20libshogun/builds/328 blamelist: Soeren Sonnenburg <sonne@debian.org> | 18:24 |
shogun-buildbot_ | build #131 of clang34 - static analysis is complete: Failure [failed analyse] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20static%20analysis/builds/131 blamelist: Soeren Sonnenburg <sonne@debian.org> | 18:25 |
shogun-buildbot_ | build #289 of precise - libshogun is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/precise%20-%20libshogun/builds/289 | 18:37 |
shogun-buildbot_ | build #115 of clang34 - undefined behaviour analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20undefined%20behaviour%20analysis/builds/115 blamelist: Soeren Sonnenburg <sonne@debian.org> | 18:58 |
-!- lisitsyn [~lisitsyn@80.252.20.67] has joined #shogun | 19:09 | |
shogun-buildbot_ | build #113 of clang34 - thread analysis is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20thread%20analysis/builds/113 blamelist: Soeren Sonnenburg <sonne@debian.org> | 19:13 |
-!- travis-ci [~travis-ci@ec2-107-20-41-97.compute-1.amazonaws.com] has joined #shogun | 19:19 | |
travis-ci | [travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/14101889 | 19:19 |
-!- travis-ci [~travis-ci@ec2-107-20-41-97.compute-1.amazonaws.com] has left #shogun [] | 19:19 | |
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat] | 19:29 | |
@wiking | asdf | 19:43 |
shogun-buildbot_ | build #132 of clang34 - static analysis is complete: Failure [failed analyse] Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20static%20analysis/builds/132 blamelist: Soeren Sonnenburg <sonne@debian.org> | 19:56 |
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun | 20:12 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 20:12 | |
-!- travis-ci [~travis-ci@ec2-54-221-101-78.compute-1.amazonaws.com] has joined #shogun | 20:24 | |
travis-ci | [travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/14102308 | 20:24 |
-!- travis-ci [~travis-ci@ec2-54-221-101-78.compute-1.amazonaws.com] has left #shogun [] | 20:24 | |
-!- hushell [~hushell@c-50-188-141-210.hsd1.or.comcast.net] has joined #shogun | 20:32 | |
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout] | 20:50 | |
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Quit: Ex-Chat] | 23:00 | |
-!- shainer [~shainer@host74-228-dynamic.18-79-r.retail.telecomitalia.it] has quit [Read error: Connection reset by peer] | 23:00 | |
--- Log closed Mon Nov 18 00:00:29 2013 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!