I tried all, but it did not work. Now, I gave up the idea of not using CMake.
I am able to create an eclipse project with CMake and import the project in eclipse. But, the problem is that once I enter the debug mode, I lose all torch indexing. I tried index->rebuild, but it did not help. Indeed, I noticed that, during the indexer rebuild, some progress bar was shown, and now, when I execute the index->rebuild, the progress bar is not shown. I did not changed any project/workspace/index settings, at least not on purpose anyway. I searched about this and the only solution that I found suggests to delete the project and create it again, which does not make sense. I need to add that I still can build and run the project.
All that I explained happened in Linux. The weird point is that in Windows I do not have any problem with indexing, but it just does not work. I mean it is built, but does not run. I have explained this problem in

  
      stackoverflow.com
  
  
      
    
  

  LibTorch with CMake via Eclipse in Windows:Terminated exit value 390 13



  c++, eclipse, cmake, torch



  asked by
  
  
    Afshin Oroojlooy
  
  on 05:38PM - 20 Dec 18 UTC


  
  
    
    
  
  


I appreciate any help and comment.