Xilinx / CHaiDNN

HLS based Deep Neural Network Accelerator Library for Xilinx Ultrascale+ MPSoCs
Other
319 stars 151 forks source link

Cant compile the Latest version. #57

Closed adu81020799 closed 5 years ago

adu81020799 commented 6 years ago

I tried compiling the latest version of Chai DNN on zcu102 platform by following the steps as discussed using following guide: https://github.com/Xilinx/CHaiDNN/blob/master/docs/BUILD_USING_SDX_GUI.md but when i try to build it i get the following error. Create data motion intermediate representation clang: error: no such file or directory: '/home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/Release/DSP48E2' clang: error: no such file or directory: '/home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/Release/SYNTHESIS' ERROR: [SdsCompiler 83-5005] clang exited with non-zero code processing /home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/Release/DSP48E2 /home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/Release/SYNTHESIS /home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/src/software/xtract/caffe.pb.cc sds++ log file saved as /home/uncc_embed/workspace/sdx/CHAI/CHaiDNN/Release/_sds/reports/sds_caffe.pb.log ERROR: [SdsCompiler 83-5004] Build failed

src/software/xtract/subdir.mk:37: recipe for target 'src/software/xtract/caffe.pb.o' failed make: *** [src/software/xtract/caffe.pb.o] Error 1

14:53:57 Build Finished (took 5s.643ms)

I tried adding the folders by myself but it still gives the error.

Please help.

adu81020799 commented 6 years ago

Did any one got solution for above problem ? Does it have to generate the the folders specified as above? I tired compiling without adding the symbols bu then it shows me an issue mentioned over here https://github.com/Xilinx/CHaiDNN/issues/52

xiaokaijia1988 commented 6 years ago

I have the same question,but i don't know to solve it

nta-byte commented 6 years ago

May be your Xilinx SDx has problem. Where did you install Xilinx SDx? What version is it?

adu81020799 commented 6 years ago

The Version is 2018.2 , I am using Linux 16.04

bennihoffmann commented 5 years ago

Hi, It is a copy and past error. Probably you were following the 'Creating SDx GUI Project' guide like I did when the problem occurred.

I noticed that, pasting the symbols in SDx an space character was inserted in front of each Symbol (e.g. ' DSP48E2' instead of 'DSP48E2') which was hard to recognized from the GUI. I could fixed it by editing all symbols manually.

Hope it will work for you, Ben

VishalX commented 5 years ago

Thanks! @bennihoffmann.

Please check & remove if you have any leading/trailing spaces in symbols. Closing.