Comments (3)
I solved the problem, compiling the FlatBuffers(v1.10.0, because the latest version cannot fit). replacing the command "${project.build.directory}/bin/flatc" with compiled flatc in pom.xml. then mvn clean install work. Thank you!
from jpmml-catboost.
Download
https://github.com/google/flatbuffers/releases/tag/v1.10.0
Extract and compile
- tar xzf flatbuffers-1.10.0.tar.gz
- cd flatbuffers-1.10.0
- cmake -G "Unix Makefiles"
- make
Modify the pom.xml
<configuration>
<executable>flatbuffers-1.10.0/flatc</executable>
<workingDirectory>src/main/fbs</workingDirectory>
<arguments>
<argument>--java</argument>
<argument>--gen-all</argument>
<argument>-o</argument>
<argument>${project.build.directory}/generated-sources/java</argument>
<argument>model.fbs</argument>
</arguments>
</configuration>
To be more specific.
from jpmml-catboost.
This approach does not work on MacOS Sonoma 14.3.1
Running make
results in the following error:
/path/to/flatbuffers-1.10.0/include/flatbuffers/flatbuffers.h:1613:25: **error**: definition of implicit copy constructor for 'TableKeyComparator<reflection::Object>' is deprecated because it has a user-provided copy assignment operator [-Werror,-Wdeprecated-copy-with-user-provided-copy]
TableKeyComparator &operator=(const TableKeyComparator &);
Compiler / OS details:
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.3.0
Thread model: posix
This is actually a flatbuffers issue but just flagging here that the above resolution may not work.
from jpmml-catboost.
Related Issues (6)
- Building the project on MS Windows HOT 8
- cbValue Not Defined HOT 5
- Can't convert the model which has categorical features to PMML HOT 3
- FlatBuffers compilation is OS/platform-dependent HOT 1
- hello,When I install jpmml-xgboost from mvn clean install, everything is fine, but the following error occurs when I install jpmml-catboost. What should I do? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpmml-catboost.