You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having troubles installing this repo on mac. After modifying a bit the cmake file I managed to get it to produce the make file but then I have some issues with protobuf versions (at least I believe I do).
The only difference is instead of using ${FIJI_DIR}/jars/ I replaced it with ${FIJI_DIR}/../../jars/ due to how macOS sorts stuff in the directory.
The error I get after make install is:
symbol: method emptyFloatList()
location: class Builder
caffe/Caffe.java:1930: error: cannot find symbol
data_ = mutableCopy(data_);
^
symbol: method mutableCopy(FloatList)
location: class Builder
caffe/Caffe.java:2000: error: cannot find symbol
data_ = emptyFloatList();
^
symbol: method emptyFloatList()
location: class Builder
caffe/Caffe.java:2006: error: cannot find symbol
private com.google.protobuf.Internal.FloatList diff_ = emptyFloatList();
^
symbol: method emptyFloatList()
location: class Builder
caffe/Caffe.java:2009: error: cannot find symbol
diff_ = mutableCopy(diff_);
^
symbol: method mutableCopy(FloatList)
location: class Builder
caffe/Caffe.java:2079: error: cannot find symbol
diff_ = emptyFloatList();
^
symbol: method emptyFloatList()
location: class Builder
caffe/Caffe.java:2085: error: cannot find symbol
private com.google.protobuf.Internal.DoubleList doubleData_ = emptyDoubleList();
^
symbol: method emptyDoubleList()
location: class Builder
caffe/Caffe.java:2088: error: cannot find symbol
doubleData_ = mutableCopy(doubleData_);
^
symbol: method mutableCopy(DoubleList)
location: class Builder
caffe/Caffe.java:2158: error: cannot find symbol
doubleData_ = emptyDoubleList();
^
symbol: method emptyDoubleList()
location: class Builder
caffe/Caffe.java:2164: error: cannot find symbol
private com.google.protobuf.Internal.DoubleList doubleDiff_ = emptyDoubleList();
^
symbol: method emptyDoubleList()
location: class Builder
caffe/Caffe.java:2167: error: cannot find symbol
doubleDiff_ = mutableCopy(doubleDiff_);
^
symbol: method mutableCopy(DoubleList)
location: class Builder
caffe/Caffe.java:2237: error: cannot find symbol
doubleDiff_ = emptyDoubleList();
^
symbol: method emptyDoubleList()
location: class Builder
caffe/Caffe.java:2527: error: method does not override or implement a method from a supertype
@java.lang.Override
^
caffe/Caffe.java:2944: error: method parseUnknownField in class com.google.protobuf.GeneratedMessageV3.Builder<BuilderType> cannot be applied to given types;
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
^
required: CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,ExtensionRegistryLite,int
found: CodedInputStream,ExtensionRegistryLite,int
reason: actual and formal argument lists differ in length
where BuilderType is a type-variable:
BuilderType extends com.google.protobuf.GeneratedMessageV3.Builder<BuilderType> declared in class com.google.protobuf.GeneratedMessageV3.Builder
I believe that this is due to protobuf versions incompatibility.
My system is the follwing:
macOS Monterey
Model Name: MacBook Pro
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.3 GHz
protoc --version
libprotoc 3.3.0
NOTE: this is also not working for libprotoc version 3.21 (the latest)
Any help with this would be greatly appreciated.
Best,
-Vittorio
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for open sourcing this project :)
I'm having troubles installing this repo on mac. After modifying a bit the cmake file I managed to get it to produce the make file but then I have some issues with protobuf versions (at least I believe I do).
The only difference is instead of using
${FIJI_DIR}/jars/
I replaced it with${FIJI_DIR}/../../jars/
due to how macOS sorts stuff in the directory.The error I get after make install is:
I believe that this is due to protobuf versions incompatibility.
My system is the follwing:
NOTE: this is also not working for libprotoc version 3.21 (the latest)
Any help with this would be greatly appreciated.
Best,
-Vittorio
The text was updated successfully, but these errors were encountered: