-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I am not an expert on windows programs and how they are supposed to link, so take this with a grain of salt...
When I compile this with mingw64 and run it, it will complain that it can not find libwinpthread-1.dll. I don't have the path to those libraries in my PATH, so that is to be expected.
From the cmake file I see that this is supposed to link statically with stdc++:
target_link_libraries(uvConvertor-CLI -static-libgcc -static-libstdc++)
So is this a mistake and it should link statically completely or is this supposed to link the standard libs statically but winpthread dynamically?
and static to the link arguments like this:
target_link_libraries(uvConvertor-CLI -static-libgcc -static-libstdc++ -static)
solves the whole problem for me btw.
Thanks for this program. I was thinking about doing something like that myself, but haven't found the time. Maybe some more instructions on how you use the generated compile_commands.json would be great.