[GitHub] rahul003 commented on issue #8578: Add development instructions and update installation instructions

2017-12-11 Thread GitBox
rahul003 commented on issue #8578: Add development instructions and update 
installation instructions
URL: https://github.com/apache/incubator-mxnet/pull/8578#issuecomment-350893547
 
 
   gtest compile fails when I did this. Any idea @larroy ? 
   Ninja says compile error, some symbols not in scope...
   ```
   ubuntu@ip-172-31-18-227:/tmp/gtest$ cmake /usr/src/gtest -GNinja && ninja
   -- The CXX compiler identification is GNU 5.4.0
   -- The C compiler identification is GNU 5.4.0
   -- Check for working CXX compiler using: Ninja
   -- Check for working CXX compiler using: Ninja -- works
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Check for working C compiler using: Ninja
   -- Check for working C compiler using: Ninja -- works
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Found PythonInterp: /home/ubuntu/anaconda3/bin/python (found version 
"3.6.3")
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Looking for pthread_create
   -- Looking for pthread_create - not found
   -- Looking for pthread_create in pthreads
   -- Looking for pthread_create in pthreads - not found
   -- Looking for pthread_create in pthread
   -- Looking for pthread_create in pthread - found
   -- Found Threads: TRUE
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /tmp/gtest
   [1/4] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o
   FAILED: /usr/bin/c++-I/usr/src/gtest/include -I/usr/src/gtest -Wall 
-Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers -MMD -MT 
CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF 
CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o 
CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /usr/src/gtest/src/gtest-all.cc
   In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
   /usr/src/gtest/src/gtest.cc: In destructor ?virtual testing::Test::~Test()?:
   /usr/src/gtest/src/gtest.cc:1897:10: error: type ?const class 
testing::internal::scoped_ptr? argument 
given to ?delete?, expected pointer
  delete gtest_flag_saver_;
 ^
   /usr/src/gtest/src/gtest.cc: At global scope:
   /usr/src/gtest/src/gtest.cc:2177:1: error: prototype for 
?testing::TestInfo::TestInfo(const string&, const string&, const char*, const 
char*, testing::internal::TypeId, testing::internal::TestFactoryBase*)? does 
not match any in class ?testing::TestInfo?
TestInfo::TestInfo(const std::string& a_test_case_name,
^
   In file included from 
/usr/local/include/gtest/internal/gtest-internal.h:40:0,
from /usr/local/include/gtest/gtest.h:58,
from /usr/src/gtest/src/gtest-all.cc:39:
   /usr/local/include/gtest/gtest.h:772:3: error: candidates are: 
testing::TestInfo::TestInfo(const testing::TestInfo&)
  GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
  ^
   In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
   /usr/local/include/gtest/gtest.h:728:3: error: 
testing::TestInfo::TestInfo(const string&, const string&, const char*, const 
char*, testing::internal::CodeLocation, testing::internal::TypeId, 
testing::internal::TestFactoryBase*)
  TestInfo(const std::string& test_case_name,
  ^
   In file included from /usr/src/gtest/src/gtest-all.cc:42:0:
   /usr/src/gtest/src/gtest.cc: In function ?testing::TestInfo* 
testing::internal::MakeAndRegisterTestInfo(const char*, const char*, const 
char*, const char*, testing::internal::TypeId, 
testing::internal::SetUpTestCaseFunc, testing::internal::TearDownTestCaseFunc, 
testing::internal::TestFactoryBase*)?:
   /usr/src/gtest/src/gtest.cc:2227:45: error: no matching function for call to 
?testing::TestInfo::TestInfo(const char*&, const char*&, const char*&, const 
char*&, const void*&, testing::internal::TestFactoryBase*&)?
   fixture_class_id, factory);
^
   In file included from 
/usr/local/include/gtest/internal/gtest-internal.h:40:0,
from /usr/local/include/gtest/gtest.h:58,
from /usr/src/gtest/src/gtest-all.cc:39:
   /usr/local/include/gtest/gtest.h:772:3: note: candidate: 
testing::TestInfo::TestInfo(const testing::TestInfo&)
  GTEST_DISALLOW_COPY_AND_ASSIGN_(TestInfo);
  ^
   /usr/local/include/gtest/gtest.h:772:3: note:   candidate expects 1 
argument, 6 provided
   In file included from /usr/src/gtest/src/gtest-all.cc:39:0:
   /usr/local/include/gtest/gtest.h:728:3: note: candidate: 
testing::TestInfo::TestInfo(const string&, const string&, const char*, const 
char*, testing::internal::CodeLocation, testing::internal::TypeId, 
testing::internal::TestFactoryBase*)
  TestInfo(const std::string& test_case_name,
  ^
   /usr/lo

[GitHub] rahul003 commented on issue #8578: Add development instructions and update installation instructions

2017-11-10 Thread GitBox
rahul003 commented on issue #8578: Add development instructions and update 
installation instructions
URL: https://github.com/apache/incubator-mxnet/pull/8578#issuecomment-343625788
 
 
   How much better is it to use cmake+ninja vs make on ubuntu?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rahul003 commented on issue #8578: Add development instructions and update installation instructions

2017-11-10 Thread GitBox
rahul003 commented on issue #8578: Add development instructions and update 
installation instructions
URL: https://github.com/apache/incubator-mxnet/pull/8578#issuecomment-343625788
 
 
   How much better is it to use cmake+ninja vs make on ubuntu?
   In terms of speed


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services