Comments (8)
You can do that via setting environment variable. For Windows that will be INCLUDE variable, for Linux that will be CPATH variable.
from onedal.
OK, thanks! I'm using Fedora 23. DAAL does not seem to be picking up the CPATH variable for some reason. Do you have any other ideas? I looked to find a jni.h within the archive and, not surprisingly, did not.
from onedal.
OK, got past this error by modifying the CPLUS_INCLUDE_PATH environment variable. Thank you for the inspiration.
from onedal.
Interesting, can you please tell which compiler are you using?
from onedal.
I think that CPATH would have worked except that the build broke on g++, so CPLUS_INCLUDE_PATH worked.
from onedal.
According to documentation CPATH should work for both C/C++, while C_INCLUDE_PATH is specific for C and CPLUS_INCLUDE_PATH is specific for C++. Thus something works not exactly as expected.
from onedal.
This is good information. I'll definitely check into what's going on.
from onedal.
Thanks for the hint.
I just successfully compiled the library on Ubuntu 16.04 using this command:
make daal PLAT=lnx32e COMPILER=gnu CPATH=/usr/lib/jvm/java-8-openjdk-amd64/include:/usr/lib/jvm/java-8-openjdk-amd64/include/linux/
from onedal.
Related Issues (20)
- NaiveBayes hang in the middle of localAlgorithm.compute HOT 2
- Implement HistGradientBoostingRegressor HOT 1
- Improvements in cmake configuration HOT 2
- Makefile build against official MKL and TBB possible? HOT 3
- Issues with the makefile - what about a cmake based build system? HOT 2
- Can not deploy an application that is dynamically linked against oneDAL HOT 6
- How to make a debug build (missing daal_vmlipp_cored.lib)? HOT 7
- Feature request: Add support for ClangCl on MSVC HOT 4
- Looking forward to kd-tree implementation.. HOT 1
- Support for accelerating NGBoost HOT 1
- Compile Failure: "No kernel name provided without -fsycl-unnamed-lambda enabled!" HOT 2
- Support for RISC-V architecture HOT 1
- Error in running daal c++ examples HOT 4
- Datasets used for producing speedup benchmarks in scikit-learn intelex HOT 1
- Remote branch develop not found in upstream origin HOT 2
- `xsyrk` vs `xxsyrk` vs `dsyrk` (in netlib LAPACK) HOT 4
- PCA tests fail periodically.
- Not able to build daal/cpp examples HOT 3
- How to validate results when adding a new backend (i.e., OpenBLAS, Lapack, etc) HOT 1
- Differences betwen SPBLAS - xcsrmultd & xcsrmm ? 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 onedal.