-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi
I build the js according to #1 (in ubuntu, changing libprotobuf.a to libprotobuf.so)
And I run example_without_lib.js, and it reports error:
node example_without_lib.js
[libprotobuf FATAL google/protobuf/stubs/common.cc:68] This program requires version 3.1.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/home/dd/ml/tf-em/tensorflow/contrib/makefile_js/gen/proto/tensorflow/core/framework/kernel_def.pb.cc".)
/home/dd/ml/tf-em/tensorflow/contrib/makefile_js/gen/bin/graph_runner.js:1
(function (exports, require, module, __filename, __dirname) { var Module;if(!Module)Module=(typeof TensorFlowJS!=="undefined"?TensorFlowJS:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeo
10084424
Have you met the similar error before? the protoc in my host machine is 3.1.0, while in your protobuf-emscripten repo, the version seems 3.0.0. Am I right about it?
Metadata
Metadata
Assignees
Labels
No labels