Giter Site home page Giter Site logo

Problems in building about onedal HOT 8 CLOSED

oneapi-src avatar oneapi-src commented on June 7, 2024
Problems in building

from onedal.

Comments (8)

iburyl avatar iburyl commented on June 7, 2024

You can do that via setting environment variable. For Windows that will be INCLUDE variable, for Linux that will be CPATH variable.

from onedal.

melrobin avatar melrobin commented on June 7, 2024

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.

melrobin avatar melrobin commented on June 7, 2024

OK, got past this error by modifying the CPLUS_INCLUDE_PATH environment variable. Thank you for the inspiration.

from onedal.

iburyl avatar iburyl commented on June 7, 2024

Interesting, can you please tell which compiler are you using?

from onedal.

melrobin avatar melrobin commented on June 7, 2024

I think that CPATH would have worked except that the build broke on g++, so CPLUS_INCLUDE_PATH worked.

from onedal.

iburyl avatar iburyl commented on June 7, 2024

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.

melrobin avatar melrobin commented on June 7, 2024

This is good information. I'll definitely check into what's going on.

from onedal.

stmandl avatar stmandl commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.