lilongyue commented on issue #17874: Build Error
URL: 
https://github.com/apache/incubator-mxnet/issues/17874#issuecomment-609421041
 
 
   @leezu @apeforest  i think i got the same build bug in the latest repository.
   i changed nothing of the cMakeLists.txt , i imported the whole project to my 
clion ide workspace and build 
   the mxnet target.
   some of my environment:
   gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) 
   nvcc: NVIDIA (R) Cuda compiler driver
   Copyright (c) 2005-2019 NVIDIA Corporation
   Built on Fri_Feb__8_19:08:17_PST_2019
   Cuda compilation tools, release 10.1, V10.1.105
   
   
   
   
   /workspace/cppworkspace/incubator-mxnet/include/dmlc/concurrentqueue.h: In 
instantiation of ‘dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::ImplicitProducer::dequeue(U&)::Guard::~Guard() [with U = 
mxnet::profiler::ProfileStat*; T = mxnet::profiler::ProfileStat*; Traits = 
dmlc::moodycamel::ConcurrentQueueDefaultTraits]’:
   
/workspace/cppworkspace/incubator-mxnet/include/dmlc/concurrentqueue.h:2569:1:  
 required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::ImplicitProducer::dequeue(U&) [with U = mxnet::profiler::ProfileStat*; 
T = mxnet::profiler::ProfileStat*; Traits = 
dmlc::moodycamel::ConcurrentQueueDefaultTraits]’
   
/workspace/cppworkspace/incubator-mxnet/include/dmlc/concurrentqueue.h:1663:67: 
  required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::ProducerBase::dequeue(U&) [with U = mxnet::profiler::ProfileStat*; T = 
mxnet::profiler::ProfileStat*; Traits = 
dmlc::moodycamel::ConcurrentQueueDefaultTraits]’
   
/workspace/cppworkspace/incubator-mxnet/include/dmlc/concurrentqueue.h:1066:20: 
  required from ‘bool dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::try_dequeue(U&) [with U = mxnet::profiler::ProfileStat*; T = 
mxnet::profiler::ProfileStat*; Traits = 
dmlc::moodycamel::ConcurrentQueueDefaultTraits]’
   
/workspace/cppworkspace/incubator-mxnet/src/operator/./../profiler/./profiler.h:227:28:
   required from here
   
/workspace/cppworkspace/incubator-mxnet/include/dmlc/concurrentqueue.h:2566:65: 
error: cannot call member function ‘void dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::add_block_to_free_list(dmlc::moodycamel::ConcurrentQueue<T, 
Traits>::Block*) [with T = mxnet::profiler::ProfileStat*; Traits = 
dmlc::moodycamel::ConcurrentQueueDefaultTraits]’ without object
                      parent->add_block_to_free_list(block);
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ^      
   CMakeFiles/mxnet_static.dir/build.make:6904: recipe for target 
'CMakeFiles/mxnet_static.dir/src/operator/rnn.cu.o' failed
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to