I am able to build the C model by doing the following:
source ahir_bashrc
export AJIT_C_REF_MODEL=$(pwd)
running scons in the antlr3runtime directory -> successful
running scons in the doval directory -> successful
running scons in the code directory -> successful
Upon suggestions from Gauri, I had appended the path by:
_export PATH=$PATH:~/ajit/ajit-toolchain/from_ajit_repo/simulators/cmodel/code/debugger/doval/include command,before step 3 as there were few errors earlier, this took care of it.
I got this error upon running the C model:
_ajit_C_systemmodel: error while loading shared libraries: libantlr3c.so: cannot open shared object file: No such file or directory
So I went a step ahead and added the path of the antlr3runtime/build/include to the path and redid the above steps, yet the error persists.
export LD_LIBRARY_PATH=/ajit-toolchain/from_ajit_repo/simulators/c_model/code/debugger/doval/antlr3Cruntime/build/lib:$LD_LIBRARY_PATH solved this issue
I am able to build the C model by doing the following:
Upon suggestions from Gauri, I had appended the path by: _export PATH=$PATH:~/ajit/ajit-toolchain/from_ajit_repo/simulators/cmodel/code/debugger/doval/include command,before step 3 as there were few errors earlier, this took care of it.
I got this error upon running the C model: _ajit_C_systemmodel: error while loading shared libraries: libantlr3c.so: cannot open shared object file: No such file or directory
So I went a step ahead and added the path of the antlr3runtime/build/include to the path and redid the above steps, yet the error persists.