Skip to content
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

Shared Lib option does not work for MSVC build #264

Open
arth7s3 opened this issue Feb 15, 2022 · 3 comments
Open

Shared Lib option does not work for MSVC build #264

arth7s3 opened this issue Feb 15, 2022 · 3 comments
Assignees
Labels
bug Something isn't working protobuf QtProtobuf related issues

Comments

@arth7s3
Copy link

arth7s3 commented Feb 15, 2022

Build with option BUILD_SHARED_LIBS does not work for MSVC build. Build fails with multiple errors.
Cannot build project DLLs, the only available option for qmake projects (since cannot statically integrate the project).
Works fine on linux.

Build the project using MSVC:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat x64
mkdir build && cd build
cmake .. -DBUILD_SHARED_LIBS=ON
cmake --build . --config DEBUG -- /m:4

output:
Todo - add ouput

@arth7s3 arth7s3 added the bug Something isn't working label Feb 15, 2022
@semlanik
Copy link
Owner

semlanik commented Apr 7, 2022

Yeah it's a known issue, that's why CI only tests static builds with MSVC. For now all work in this repo is on hold. Will back to fixing this issue later on.

@semlanik semlanik added the protobuf QtProtobuf related issues label Apr 7, 2022
@gmabey
Copy link
Contributor

gmabey commented Jul 18, 2022

Any prospects for revisiting this issue in the near term?

@semlanik
Copy link
Owner

Hi, I think not in the near term at least, but also the repo might be abandoned as soon as Qt6 will get the protobuf support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working protobuf QtProtobuf related issues
Projects
None yet
Development

No branches or pull requests

3 participants