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

Proto compiler does not work (MSVC Build) #266

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

Proto compiler does not work (MSVC Build) #266

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

Comments

@arth7s3
Copy link

arth7s3 commented Feb 15, 2022

Proto compiler built with MSVC does not work, returns "system cannot find file." when parsing proto file.
The proto compiler does parse the proto file though since it returns errors found in proto file.
Tried to build with -DQT_PROTOBUF_MAKE_TESTS=OFF, does not solve the issue (error seems to be linked to proto compiler unit test code).

Works fine with GCC.

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

gmabey commented Apr 6, 2022

@arth7s3 on windows, I have found it useful to make sure that protoc.exe is on the PATH.

@Rightbputnow1
Copy link

@gmabey i have the same issue, protoc.exe is on the PATH variable. It is actually parsing the proto files (try n Introduce any syntax error in the proto file for example) but it is still returning the afore mentioned error.

@gmabey
Copy link
Contributor

gmabey commented Apr 28, 2022

@Rightbputnow1 yes you're right -- I probably should have deleted my comment when I realized it didn't solve the problem, but at least I can confirm the behavior :-/

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

No branches or pull requests

4 participants