Xilinx / systemctlm-cosim-demo

QEMU libsystemctlm-soc co-simulation demos.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/862421112/Co-simulation
Other
117 stars 46 forks source link

Make error #22

Open mksaksms opened 2 years ago

mksaksms commented 2 years ago

Dear, This is the error I am encountering while make process. I checked everything and think all are fine. But could find out the exact reseason for this make g++ -Wall -O2 -g -MMD -I /usr/local/systemc-2.3.2/ /include/ -I . -I libsystemctlm-soc -I libsystemctlm-soc/soc/xilinx/zynq -I libsystemctlm-soc/soc/xilinx/zynqmp -I libsystemctlm-soc/soc/xilinx/versal/ -I libsystemctlm-soc/tests/test-modules/ -I libsystemctlm-soc/libremote-port -c -o zynq_demo.o zynq_demo.cc g++: error: /include/: No such file or directory

: recipe for target 'zynq_demo.o' failed make: *** [zynq_demo.o] Error 1
edgarigl commented 2 years ago

Hi, It looks like your SYSTEMC variable has a trailing space in it cause it to separate /user/local/systemc-2.3.2/ from /include/.

-I /usr/local/systemc-2.3.2/ /include/ Should be -I /usr/local/systemc-2.3.2/include/

mksaksms commented 2 years ago

@edgarigl Hey edgar i solved it that time. THanks. But i could not delete the post. Could you please help with the issue # 9 ?