Git Product home page Git Product logo

Comments (2)

lemire avatar lemire commented on May 18, 2024

It is OK when include the simdjson.h and simdjson.cpp into my project directly.

That's often simple. There is nothing wrong with it.

You can reproduct it by goto https://github.com/hongxinGuo/FireBird, download the branch vcpkg_simdjson_LNK2001_error.

We are supported by vcpkg. You can check the demonstration at https://github.com/simdjson/simdjson-vcpkg

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:

Screenshot 2024-03-18 at 7 58 20 PM Screenshot 2024-03-18 at 8 00 36 PM

Here are the new settings...

Screenshot 2024-03-18 at 7 58 26 PM Screenshot 2024-03-18 at 8 01 14 PM

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 :

https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-msbuild?pivots=shell-cmd

from simdjson.

lemire avatar lemire commented on May 18, 2024

I have closed the issue.

from simdjson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.