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

Compile errors #7

Open
smlehbleh opened this issue Feb 25, 2019 · 5 comments
Open

Compile errors #7

smlehbleh opened this issue Feb 25, 2019 · 5 comments

Comments

@smlehbleh
Copy link

Hi,
I've tried to compile 3.1.0 following the build instructions and I have the following compile errors:

./google/protobuf/stubs/once.h:135:30: error: cannot initialize a parameter of type 'const volatile google::protobuf::internal::Atomic32 *' (aka 'const volatile int *') with an lvalue of type 'google::protobuf::ProtobufOnceType *' (aka 'long *') if (internal::Acquire_Load(once) != ONCE_STATE_DONE) { ^~~~

@yarco
Copy link

yarco commented Apr 27, 2019

same

@chenghui-li
Copy link

same...

@HandDown
Copy link

same

@ktb92677
Copy link

ktb92677 commented May 6, 2023

To solve this issue follow these steps:

git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install emscripten-1.36.14
./emsdk activate emscripten-1.36.14
source ./emsdk_env.sh

I also installed llvm here: https://apt.llvm.org/

And ran the configure files as such:

emconfigure --em-config LLVM_ROOT=/usr/bin; ./configure
emmake --em-config LLVM_ROOT=/usr/bin; make

Don't know if that's required though

cheers

@AmiKonst
Copy link

@ktb92677 I can't compile it for Windows. If it's not too much trouble, could you update the instructions or just send me these static libraries? I'd be very grateful. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants