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/
Nilabhra has joined #mlpack
tham has joined #mlpack
tham has quit [Ping timeout: 250 seconds]
tham has joined #mlpack
< tham> zoq : I hope so
Mathnerd314 has quit [Ping timeout: 268 seconds]
tham has quit [Ping timeout: 250 seconds]
Nilabhra has quit [Remote host closed the connection]
tham has joined #mlpack
Nilabhra has joined #mlpack
uzipaz has joined #mlpack
< uzipaz> zoq: Hello gents, sry I was away, but I followed the advice given and reinstalled boost with --built-type=complete and tried to build the stable mlpack-2.0.1 but I've run into compilation error again, its doesn't seem to be a linking error this time, take look here, http://pastebin.com/FHfWwZ6M
< uzipaz> rcurtin:
< uzipaz> tham:
< tham> uzipaz : This looks like an old bug
< tham> If remember correct, the solution is add std:: before isnan and isinf
< tham> if it still can not compile, add header file <cmath>
< zoq> uzipaz: It's fixed in the master branch, maybe you can build against the master branch?
< uzipaz> zoq: sure, ill try that
< uzipaz> zoq: building against the latest master branch, it gives me the same undefined reference errors at [ 25%] Linking CXX executable ../../../../mlpack_adaboost.exe
< zoq> uzipaz: that's odd, can you run cmake again with '-D DEBUG=OFF -D PROFILE=OFF'
< uzipaz> zoq: I used, cmake .. -DBOOST_INCLUDEDIR:PATH="C:\BoostLibrary\include" -DBOOST_LIBRARYDIR:PATH="C:\BoostLibrary\lib" -DDEBUG=OFF -DPROFILE=OFF -G "MSYS Makefiles"
< zoq> uzipaz: oh, okay, does it work with '-DDEBUG=ON -DPROFILE=ON'? If this dosn't help, I'm kind of lost ... I guess I should replicate your setup
< uzipaz> zoq: alright, ill try with '-DDEBUG=ON -DPROFILE=ON'
< zoq> uzipaz: tham pointed out that it could fail if you build boost/mlpack with compiler optimizations turned on, so maybe that's the case, not sure ... let's see
Mathnerd314 has joined #mlpack
< tham> zoq : I think it is not optimization turn on, but the libraries build with different options
< tham> Maybe part of the libraries are build with different arch, like stack overflow mentioned(http://stackoverflow.com/questions/14181351/i-got-duplicate-section-errors-when-compiling-boost-regex-with-size-optimizati)
< tham> maybe some libs are build with different optimization options?
< uzipaz> zoq: I tried re-compiling with '-DDEBUG=ON -DPROFILE=ON', and got the same result, undefined reference errors at [ 25%] Linking CXX executable ../../../../mlpack_adaboost.exe
< zoq> uzipaz: hm, does C:\BoostLibrary\lib contain *.lib files?
< uzipaz> zoq: yes
< tham> uzipaz : could you paste the whole error messages on pastebin?
< zoq> uzipaz: When you build mlpack does it link against the *.dll.a file or the *.lib file?
< uzipaz> zoq: I am not sure, I just specify the lib folder to cmake
< uzipaz> is it possible to build and use mlpack with Microsoft Visual Studio?
< tham> uzipaz : it is absolutely possible, because I am using it right now
< tham> I found this line suspicious--Linking CXX shared library ../../libmlpack.dll
< tham> line 550
< tham> If I am correct, when bulding libs or apps, we only need to link to lib, not dll, dll is only require at run time
< uzipaz> tham: maybe its generating a mlpack runtime dll... I dont know
< tham> uzipaz : maybe you are right
< tham> Hi, I cannot find any message about
< tham> libmlpack.lib, libmlpack.a or libmlpack.dll.a
< uzipaz> uzipaz: I will try to get MVS installed, then ill need your help with getting mlpack running, thank you
< tham> maybe the make file do not try to build them at all
< tham> that is why it cannot find the symbol
< zoq> uzipaz: Can you post the content of the C:\BoostLibrary\lib folder?
< zoq> uzipaz: Thanks!
< zoq> uzipaz: Can you build one last time with verbose=1?
< zoq> uzipaz: hm, also if you have time left, can you remove 'set(Boost_LIBRARIES "")' line 213 in CMakeLists.txt?
Nilabhra has quit [Remote host closed the connection]
< uzipaz> zoq: you mean before link_directories(${Boost_LIBRARY_DIRS})?
< zoq> uzipaz: yes, right
< zoq> uzipaz: Note, that you probably have to rerun cmake
< uzipaz> zoq: still the same
< zoq> uzipaz: okay, I'll see if I can replicate the error in the next days, in the meantime you could use msvs
< uzipaz> zoq: thanks for the help :)
< tham> uzipaz : If you have any problem when you try to build mlapck with vc2015, I am happy to help
keonkim- is now known as keonkim
< uzipaz> tham: I appreciate the help, I am downloading MSVS right now, its gonna take a while, are there any prereqs I need to take care of? I have built all the dependent libraries with mingw, will that be an issue?
< tham> uzipaz : yap, as far as I know, the c++ binary of mingw and visual c++, their abi are not compatible
< tham> if you compile your c++ libs by vc2015, then all of your libraries should compiled with vc2015
< tham> The rules are a little complicated, you can refer to the issue #613
< tham> Compile the libs and make them work, maybe is the most notorious part of c++, I never like it
< tham> there are too many build system out there
< tham> abi of different compilers, compile option are not compatible
< tham> module should able to make things better, but it cannot make it in 2017, sad
Nilabhra has joined #mlpack
uzipaz has quit [Quit: Page closed]
tham has quit [Ping timeout: 250 seconds]
Nilabhra has quit [Remote host closed the connection]
Mathnerd314 has quit [Ping timeout: 260 seconds]
mentekid_ has quit [Ping timeout: 244 seconds]
mentekid has joined #mlpack
mentekid has quit [Ping timeout: 260 seconds]
Mathnerd314 has joined #mlpack