Problem when using googletest on Windows 10 subsystem

Sysprogs forums Forums VisualGDB Problem when using googletest on Windows 10 subsystem

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22537
    perkins
    Participant

    Hello,

    I am trying VisualGdb with a unit test project which based on googletest and the Linux is on Windows 10 Linux subsystem. I follow the procedure to create a new linux project. When build the system I got the following error:

    Build started 2018/11/2 下午 07:47:49.
    1>Target CommitRemoteBuild:
    1> VisualGDB: Run "make -f "VisualGDB/Debug/linuxgtest.msbuild-mak" --no-print-directory" in directory "/mnt/c/programming/linuxgtest/linuxgtest" on (Windows 10 Linux subsystem)
    1> linuxgtest.cpp
    1> linuxgtestTests.cpp
    1> make[1]: *** No rule to make target '/mnt/c/mnt/c/Users/perki/AppData/Local/VisualGDB/TestFrameworks/com.sysprogs.unittest.googletest/src/gtest-death-test.cc', needed by 'VisualGDB/Debug/gtest-death-test.o'. Stop.
    
    I have no idea why the path will be /mnt/c/mnt/c/xxx I guess it should be /mnt/c/xxx. But I have no idea how to correct this. Do you have any idea?
    
    Perkins
    
    
    #22544
    support
    Keymaster

    Hi,

    Please try updating to VisualGDB 5.4 Preview 8.

    #22546
    perkins
    Participant

    Great, it works.

    Thank you for the quick support

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.