[protobuf] Re: How to obtain the file libprotobuf.a?

2024-03-27 Thread Claus Volko
My problem is that when I compile a project using Visual C++, no archive file (file with extension .a) is created. But I would need one. I tried building the files from the source code of Google's protobuf, version 25.3, using cmake but it did not produce the file libprotobuf.a. I need this

Re: [protobuf] Re: How to obtain the file libprotobuf.a?

2024-03-29 Thread 'Adam Cozzette' via Protocol Buffers
How are you invoking CMake? I ran cmake . && make -j12 just now and confirmed that it produced libprotobuf.a. On Wed, Mar 27, 2024 at 11:53 PM Claus Volko wrote: > My problem is that when I compile a project using Visual C++, no archive > file (file with extension .a) is created. But I would nee

Re: [protobuf] Re: How to obtain the file libprotobuf.a?

2024-04-02 Thread Claus Volko
Meanwhile I've been able to build libprotobuf.a using https://www.mingw-w64.org/downloads/#llvm-mingw (yes, I'm using Windows). But when I execute the compilation script I get errors like this one: wasm-ld: warning: libprotobuf.a: archive member 'any.pb.cc.obj' is neither Wasm object file nor