-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Port Request] <morganstanley/modern-cpp-kafka> #32897
Comments
Please try #32903 to see if it works or not. You can use following commands to get and apply patches and then install it.
After this pr got merged, you may want to drop your local changes via
|
@xiaozhuai C:\Project\Libs\vcpkg\installed\x64-windows-static\include\modern-cpp-kafka\kafka\Error.h(3,10): fatal error C1083: Cannot open include file: 'kafka/Project.h': No such file or directory on line 3 (#include <kafka/Project.h>) in Error.h file etc. |
Do you use cmake? find_package(unofficial-modern-cpp-kafka CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::modern-cpp-kafka::modern-cpp-kafka) |
@xiaozhuai am I SOL? :) |
Cmake is recommened. Nevermind, I've update this pr. Please exec these commands:
Even if I modified this port, you may have the same issue on other ports. (This is to avoid path confflicts) |
I have some projects based on cmake but most of the time I find VS based projects more convenient
that did the trick, and after reverting includes it compiled, thank you!
never had such problems in several years of using vcpkg though |
It did happen. |
so I was lucky then with the libs I used. you live and learn if only there was decent converter from vs project to cmake one I guess I could have tried it :) there are 10 projects in my project group (5 for windows and 5 for linux) and I'm not that fond of idea of manually creating all those projects for cmake |
Yes, it would certainly be better to have a unified include path for cmake based and VS based project, but sometimes it requires extra effort, or may not be possible. |
btw, you were blazingly fast with solving static avro issue for me so I decided to throw a ball and this time it seemed even faster (though this one wasn't showstopper as I was able to build my projects with kafka wrapper without vcpkg assistance), much appreciated! |
You are welcome! |
BTW, the CI is much slow. Sometimes it annoys me a little. |
wonder whether there is any detailed documentation for dummies on creating new vcpkg ports... btw do you think it's time to close both solved issues now? |
See https://github.com/microsoft/vcpkg#contributing For creating a new port, you can exec
They will be automatic closed once the linked pr got merged. |
Library name
morganstanley/modern-cpp-kafka
Library description
The modern-cpp-kafka API is a layer of C++ wrapper based on librdkafka (the C part only), with high quality, but more friendly to users
Source repository URL
https://github.com/morganstanley/modern-cpp-kafka
Project homepage (if different from the source repository)
No response
Anything else that is useful to know when adding (such as optional features the library may have that should be included)
No response
The text was updated successfully, but these errors were encountered: