Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.48 KB

TROUBLESHOOTING.md

File metadata and controls

44 lines (27 loc) · 1.48 KB

Compilation issues

Protoc issues

Likely related to mismatching versions between the protobuf library and the protoc version used to compile the protobuf files (under ./src/graphics/protobuf). Ensure that the protobuf version installed by vcpkg matches the version of protoc used to compile the .h and .cc files.

vcpkg list | grep proto
protoc --version

QT Issues

QT tries to use experimental/source_location in qproperty.h

In qproperty.h:

  • Line 53, replace #include <experimental/source_location> with #include <source_location>
  • Line 100, replace std::experimental::source_location with std::source_location

Lua-related issues

unresolved external symbol in the Lua libraries

At one point, I could not get the Visual Studio program to link anything from lua.h.

Possible Solution: Try generating the building and building from the command line instead. Note: Remove the current build folder before trying this. The working build used -T ClangCL when compiling, as in

cmake ../ -G "Visual Studio 16 2019" -A x64 -T ClangCL

Might be related.

VSCode-related issues

IntelliSense issues with concepts (or other libraries)

Make sure VSCode is using the correct compiler. If you have older versions of Visual Studio installed, VSCode might be using the wrong headers. I have tested the intellisense for Visual Studio version >= 16.10.0.

Possible fix: Uninstall all other versions of Visual Studio, except for the latest one.