C++ library/SDK for Kite API!

_bhumit
_bhumit edited February 18 in General
Hi everyone,

You can get the library here: https://github.com/zerodha/cppkiteconnect

Feel free to offer suggestions or to report issues! Opening issues in linked GitHub repo would be the preferred way.
  • brijesin
    trying to build it but getting error. any suggestion?
    https://github.com/zerodha/cppkiteconnect
    *******
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    used as include directory in directory
    cppkiteconnect/examples/example3
    cppkiteconnect/examples/example4/UWS_INCLUDE

    used as include directory in directory cppkiteconnect/examples/example4
    cppkiteconnect/tests/UWS_INCLUDE
    used as include directory in directory cppkiteconnect/tests

    UWS_LIB
    linked by target "example3" in directory cppkiteconnect/examples/example3
    linked by target "example4" in directory cppkiteconnect/examples/example4
    linked by target "kWSTest" in directory cppkiteconnect/tests
  • anonymous
    That most likely means you don't have uWebsockets v0.14 installed or it is installed where cmake cannot find it. README already mentions dependency installation guidelines, but I'll repeat them here under the assumption that you're on Linux.
    Run `cmake .` in `deps` directory. That'll download uWS. After that, unzip and install it. You can just do the standard `make && sudo make install`.
  • brijesin
    Thanks a lot for the help. I found that i needed the exact version of uWebsockets v0.14. That did the trick. it's working now.
  • ak1194
    ak1194 edited March 3
    note: 'std::thread' is defined in header ''; did you forget to '#include ', using windows
  • ak1194
    note: see reference to function template instantiation 'bool isnan(_Ty) throw()' being compiled
    with
    [
    _Ty=int
    ]
Sign In or Register to comment.