-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error: use of undeclared identifier (macosx) #799
Comments
FlyCapture isn't supported on Mac.
|
@saudet very appreciate your reply. Apart from "FlyCapture", is nGraph supported on Mac OSX? |
Not yet, but it shouldn't be hard to make that one work on Mac.
|
Thanks for the information. :D |
Sorry, I can't / don't proactively support Mac (or Windows for that matter), I only have a Linux box. |
I got it working, just had to change a couple of lines actually. I'll push that later today.
|
Ok, it's done! Let me know if you encounter any issues with the snapshots: http://bytedeco.org/builds/ |
@saudet: Thanks for the information. Since nGraph needs mkl-dnn to be compiled first, I got the errors while doing the compilation in mkl-dnn sub project. ps. I am using macOS Catalina
and
|
Why are you trying to compile them? Are you having problems with the precompiled binaries?
|
I was experiencing that the pre-compiled nd4j related *.dylib was loaded without problem to macOS Mojave but is loaded with exception in macOS Catalina. So I would like to try compiling from my latest OS. Btw, I could also try the pre-compiled nGraph. Will update my status once I got it work. Really appreciate your help. |
Ok, I see. Both nGraph and MKL-DNN have been upgraded yesterday, so please try again! |
Hi, I am able to compile ngraph project latest source code (pull from master on Oct21, 2019) by the command: But the latest version of ngraph platform |
If you set the "org.bytedeco.javacpp.logger.debug" system property to "true", do you get anything more on the console? |
Here is the result with debug on
|
Looks alright, so it's a problem with nGraph. Try to put its log in debug mode too.
|
Sorry for late reply. I hope I knew how to enable the debug mode for nGraph. Also, I notice the similar situation while trying to run sample code under onnxruntime sub project. https://github.com/bytedeco/javacpp-presets/blob/master/onnxruntime/README.md
|
ONNX Runtime appears to have issues running under the JVM, yes, but that's probably not related. For nGraph, it looks like we can get more information by setting the NGRAPH_CPU_DEBUG_TRACER environment variable to 1: |
In any case, working binaries for at least nGraph have been released with version 1.5.2. Enjoy! |
ONNX Runtime 1.0.0 is also running fine now: |
Hi.
I followed the build instruction https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments, but still got compilation error like below.
Please share if any additional suggestion. Appreciate that.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JavaCPP Presets 1.5.2-SNAPSHOT ..................... SUCCESS [ 0.716 s]
[INFO] JavaCPP Presets for OpenBLAS 0.3.7-1.5.2-SNAPSHOT .. SUCCESS [10:37 min]
[INFO] JavaCPP Presets for OpenCV 4.1.1-1.5.2-SNAPSHOT .... SUCCESS [13:48 min]
[INFO] JavaCPP Presets for FFmpeg 4.2.1-1.5.2-SNAPSHOT .... SUCCESS [18:06 min]
[INFO] JavaCPP Presets for FlyCapture 2.13.3.31-1.5.2-SNAPSHOT FAILURE [ 1.119 s]
btw, since there is no ngraph for macosx https://repo1.maven.org/maven2/org/bytedeco/ngraph/0.22.0-1.5.1/, it is required to compile the native libraries manually for macosx. Is there any suggestion to build only ngraph project from Mac OS?
Below is what I tried to build single sub project "ngraph". With modification in ngraph/cppbuild.sh
I got below error:
The text was updated successfully, but these errors were encountered: