Skip to content

Instantly share code, notes, and snippets.

@cjac
Created July 25, 2020 19:21
Show Gist options
  • Save cjac/1bfeeeeeaffcd78e35eeeab6f08b3176 to your computer and use it in GitHub Desktop.
Save cjac/1bfeeeeeaffcd78e35eeeab6f08b3176 to your computer and use it in GitHub Desktop.
[100%] Linking CXX executable ../bin/unit
/usr/bin/ld: CMakeFiles/unit.dir/unit/utBlendImportMaterials.cpp.o: in function `void testing::internal::FallbackPrinter::PrintValue<aiColor3D>(aiColor3D const&, std::ostream*)':
utBlendImportMaterials.cpp:(.text._ZN7testing8internal15FallbackPrinter10PrintValueI9aiColor3DEEvRKT_PSo[_ZN7testing8internal15FallbackPrinter10PrintValueI9aiColor3DEEvRKT_PSo]+0x2f): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
/usr/bin/ld: CMakeFiles/unit.dir/unit/utImporter.cpp.o: in function `void testing::internal::FallbackPrinter::PrintValue<aiString>(aiString const&, std::ostream*)':
utImporter.cpp:(.text._ZN7testing8internal15FallbackPrinter10PrintValueI8aiStringEEvRKT_PSo[_ZN7testing8internal15FallbackPrinter10PrintValueI8aiStringEEvRKT_PSo]+0x2f): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/unit.dir/build.make:596: bin/unit] Error 1
make[1]: *** [CMakeFiles/Makefile2:241: test/CMakeFiles/unit.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment