Closed NasrinJaleel93 closed 7 years ago
which compiler (c++ --version) and Os are you on (uname -a)
seems like your compiler may need an upgrade
you can see successful builds on https://travis-ci.org/facebook/wdt/builds/199050762 for instance
You should upgrade you compiler to the one at least support c++14 (make_unique).
2017-02-07 16:25 GMT-07:00 Laurent Demailly notifications@github.com:
you can see successful builds on https://travis-ci.org/ facebook/wdt/builds/199050762 for instance
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facebook/wdt/issues/148#issuecomment-278178153, or mute the thread https://github.com/notifications/unsubscribe-auth/ACZOYrZoMA7ubvGybsWRKMORg2zqVx7Aks5raP13gaJpZM4L6FGj .
-- Best Regards, Zhu Yang
Upgrading the compiler helped! Thanks! But the error with glog, still remains.
Compiler version output -
Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~14.04.1)
uname -a : -
Linux node5 3.13.0-98-generic #145-Ubuntu SMP Sat Oct 8 20:13:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
your glog error seems related to gflags, I'm guessing you have the wrong namespace set
you could try to apt-get, yum etc... install glog and gflags pre built?
I'm going to close this, assuming you solved the problem ? (if not please reopen)
In file included from /home/nasrinj/wdt/../wdt/util/CommonImpl.h:13:0, from /home/nasrinj/wdt/../wdt/util/FileCreator.h:13, from /home/nasrinj/wdt/util/FileCreator.cpp:9: /home/nasrinj/wdt/../wdt/Reporting.h: In constructor ‘facebook::wdt::TransferStats::TransferStats(bool)’: /home/nasrinj/wdt/../wdt/Reporting.h:110:16: error: ‘makeunique’ is not a member of ‘std’ mutex = std::make_unique();
I am not sure why I get this error while trying to make.
I followed all the steps from the BUILD.md file. My glog install had failed too with the following error :
/home/nasrinj/glog/src/googletest.h:93: undefined reference to(char const, char const, char const, std::string, std::string)'
/home/nasrinj/glog/src/googletest.h:96: undefined reference to `google::FlagRegisterer::FlagRegisterer(char const , char const, char const, bool, bool)'
/home/nasrinj/glog/src/googletest.h:100: undefined reference to `google::FlagRegisterer::FlagRegisterer(char const, char const, char const, int, int*)'
google::FlagRegisterer::FlagRegisterer<std::string>(char const*, char const*, char const*, std::string*, std::string*)' /home/nasrinj/glog/src/googletest.h:94: undefined reference to
google::FlagRegisterer::FlagRegistererAre these errors related in someway?