03-13-2018 07:49 AM
I downloaded demo files named xfDNN-SDx-2017.2-Lounge-2017-09-07 from Xilinx. I have tried makefile and successfully compiled those and tested it on zcu102. Right now I am wondering how to compile those examples in sdx.
I added all required includes and libraries in the project settings and passed the compilation. When I was testing it, It printed error:
And found the error generated during executing the xfdnn_exec() function. I have following two questions:
1. How to fix this bug? If these examples can be only compiled with the makefile, is the propagation on the official website saying that the developing environment is sdx a lie? https://www.xilinx.com/applications/megatrends/machine-learning.html?utm_campaign=machhine&utm_source=aem&utm_medium=hprmo-en-r2&utm_term=&utm_content=learning.html
2. In case that the fact is that I just cannot compile it with sdx gui, is that possible to modify these examples to take the hdmi port on zcu102 and compile those only with the makefile?
03-22-2018 01:51 PM
@haojinAt this point, I would suggest that you might want to start with the newly released CHaiDNN open-source project. The historic xfDNN lounge designs have today been released as CHaiDNN. In the main readme.md file you will see that there is a link which provides instructions as to how to build using the SDx GUI.
Does this answer your question?
03-25-2018 11:52 PM
Thank you for the reply. I followed the guide for SDx Gui to build the project. However, it failed with this error. In symbol, I only included __Sdsoc Let me know if you have any thoughts. Thanks
03-26-2018 12:38 PM
04-06-2018 06:23 AM
You just need to exclude the .cpp examples from the build in /src/design/software/example. You can keep one example if you didn't write your own application. The build should work then. You also can build the project by using the provided makefile.
04-25-2018 04:02 AM
@neutrinoxyhi,i only keep the googlenet_ex.cpp in the /example, but the build turns Integration error as follow:
Do you know what happened?what should i do ?
thanks a lot!
04-25-2018 07:35 AM
Thanks. I'll investigate more later, but in your SDS++ Linker command you wrote :
I'm not sure about your syntax, you could try :
I don't know how the linker handles the ' \" ' characters.
Tell me if it changes something.
04-25-2018 07:36 PM
Hi,thanks for your reminding, I have checked the SDS++ Linker command in C/C++ Build Settings, but it shows the same as yours.
I guess it may be the syntax in .log file :
Does it appear in your file? Looking forward to your reply.