IXWebSocket icon indicating copy to clipboard operation
IXWebSocket copied to clipboard

How to build project that includes IXWebSocket without using vcpkg

Open cptalpdeniz opened this issue 1 year ago • 2 comments

Hello,

We are using IXWebSocket for our client application. We have IXWebSocket included in our C++ projects locally, not using vcpkg. We had issues in the past and trying to remove our dependency on vcpkg. When I disable vcpkg, build fails with multiple LNK2019 and LNK2001 errors (unresolved external symbol). My guess is that the reason why this is failing is because vcpkg has auto-linker feature.

Now, IXWebSocket needs to be build to be linked (as far as I understand)? but then why is it failing if I'm including the IXWebSocket in my "Additional Include Directory" and also #include necessary headers? Do I need to integrate CMake and build IXWebSocket each time I build the project?

I'm using VS 2022 Community, C++20.

cptalpdeniz avatar Jun 26 '23 10:06 cptalpdeniz