You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is OK when include the simdjson.h and simdjson.cpp into my project directly. The compiler report LNK2001 error when using the vcpkg simdjson package.
os: windows x64
compiler: VS2022
simdjson version: 3.8.0
You can test it out for yourself: CMake will generate a Visual Studio project which you can build.
The most likely explanation of your trouble is that you have a misconfiguration as part of your Visual Studio solution or with vcpkg. If you think that there is a problem with vcpkg and you have followed their instructions, then you should raise an issue with vcpkg.
If you think that there is a bug in simdjson, please provide an example of your issue using CMake, as this is the build system we directly support.
I am not a Visual Studio expert, but let us consider the build settings from your main branch:
Here are the new settings...
So, at a glance, you have removed entirely simdjson from your Visual Studio configuration.
That means that you must rely on Visual Studio integration with vcpkg. This requires some work. You have not provided details. If you have not done some, please review the appropriate documentation :
It is OK when include the simdjson.h and simdjson.cpp into my project directly. The compiler report LNK2001 error when using the vcpkg simdjson package.
os: windows x64
compiler: VS2022
simdjson version: 3.8.0
You can reproduct it by goto https://github.com/hongxinGuo/FireBird, download the branch vcpkg_simdjson_LNK2001_error.
Guo
The text was updated successfully, but these errors were encountered: