nvdla / hw

RTL, Cmodel, and testbench for NVDLA
Other
1.67k stars 561 forks source link

make: *** [/remote/sdg_fpga_ae_00/nikithav/ai_design/nvdla/hw/outdir/nv_full/spec/defs/project.def] Error 127 #367

Closed nikitha-vasanth closed 11 months ago

nikitha-vasanth commented 11 months ago

I am getting the below error when I run the ./tools/bin/tmake -build vmod command for an nv_full project:

make: Entering directory /remote/sbgindia_supt/nikithav/AI_design/nvdla/hw/spec/defs' /home/utils/gcc-4.9.3/bin/cpp -undef -nostdinc -P -C nv_full.spec -o /remote/sbgindia_supt/nikithav/AI_design/nvdla/hw/outdir/nv_full/spec/defs/project.def make: /home/utils/gcc-4.9.3/bin/cpp: Command not found make: *** [/remote/sbgindia_supt/nikithav/AI_design/nvdla/hw/outdir/nv_full/spec/defs/project.def] Error 127 make: Leaving directory/remote/sbgindia_supt/nikithav/AI_design/nvdla/hw/spec/defs' make: Entering directory `/remote/sbgindia_supt/nikithav/AI_design/nvdla/hw/vmod/include' ../../tools/make/vmod_common.make:16: *** ../../outdir/nv_full/spec/defs/project.h does not exists, please make hw/spec/defs first, exiting.... Stop. (... and so on)

Below are the contents of my tree.make command:

Project Name Setup, multiple projects supported

PROJECTS := nv_full

Linux Environment Setup

c pre-processor
CPP := /home/utils/gcc-4.9.3/bin/cpp

c++ compiler
GCC := /home/utils/gcc-4.9.3/bin/cpp

perl: many scripts is written in perl
PERL := /home/utils/perl-5.8.8/bin/perl

java: used in hardware regester spec compilation (not in current release)
JAVA := /home/utils/java/jdk1.8.0_131/bin/java

systemc: needed for Cmodel build (optional)
SYSTEMC := /usr/local/systemc-2.3.0/

verilator: used to build testbench without VCS (optional) VERILATOR := verilator

clang: used to build Verilated binaries (optional) CLANG := clang

Can someone please explain why I am getting this error and how I can resolve this?