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'
< 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 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?
< 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]