Unit test from google test is no longer found after adding header with boost :: filesystem

I have a unittest project that using the Google Test Framework and my tests work fine. However, now I have added the title boost::filesystem, for example #include <boost/filesytem.hpp>, and after that my project links and compiles in order, however, no tests were found at all, and when I run the tests, they give me -

Process finished with exit code -1073741515 (0xC0000135) 
Empty test suite.

As if I had this code:

#include <gtest/gtest.h>
TEST(Test, Test1){
    ASSERT_FALSE(true);
}

it works fine and finds a failed test file, but if I add the boost header as follows:

#include <gtest/gtest.h>
#include <boost/filesystem.hpp>
TEST(Test, Test1){
    ASSERT_FALSE(true);
} 

nothing was found after that. I am using env based cmake/clion/cygwin. We will consider how to fix this problem.

+4
1

//
// MessageId: STATUS_DLL_NOT_FOUND
//
// MessageText:
//
// The program can't start because %hs is missing from your computer. 
// Try reinstalling the program to fix this problem.
//
#define STATUS_DLL_NOT_FOUND             ((NTSTATUS)0xC0000135L)    // winnt

(. 0xc0000135 .NET?)

, Google , . Boost Filesystem, Boost System Boost Filesystem DLL.

( ). , ( ), , DLL.

UPDATE. , , DLL, .

+3

Source: https://habr.com/ru/post/1657748/


All Articles