-
Notifications
You must be signed in to change notification settings - Fork 132
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
dev-cpp/fast_obj: new package #298
base: master
Are you sure you want to change the base?
Conversation
It doesnt define any install target + seems to only compile a static library. |
I got linter error
Please share some example, I do not use C/C++ and do not understand :( |
Something like:
You could patch the CMakeLists.txt fail and change the STATIC library to SHARED and use |
a6497cd
to
b830222
Compare
In this PR? OR in Organic Maps? |
Thanks, added your code to this PR. Emerging works without errors. Now its done? |
In this PR, I guess Organic maps will link correctly against it even if it's a shared library. |
So, please assist - have no idea what to do. |
What I usually do, is git clone the repository, modify it as needed (in this case change the CMakeLists.txt line that creates a STATIC library to SHARED, see https://cmake.org/cmake/help/latest/command/add_library.html for more information). Then get the output of |
OM includes fast_obj currently in a way that it is expected as bundled source. I didn't find a place where the library is used (e.g. there seems to be no CMake-file that uses fast_obj in some way), is it needed at all? Probably, OM just needs the single header file. I would suggest to first patch OM to use an unbundled version of fast_obj before investigating in improving the package. Also, upstream also likely only accept a patch for this, if it is still possible to use the bundled version. |
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
b830222
to
a3213c5
Compare
Thanks, added patch, emerge error:
Here
is what I have:
|
but you said that looks like Organic Maps does not use that dependency at all? |
OM seems to use the header but not the library. |
I do not know C++ - header is still some code? Or we can drop that header from Organic Maps? |
No description provided.