Search code examples
sconsgem5

Error when Building gem5 : TypeError : File /hdd/Me/gem5/src/systemc/ext/systemc found where directory expected


I got this error when building gem5 with this command : Scons/build/ARM/gem5.opt :

TypeError : File /hdd/Me/gem5/src/systemc/ext/systemc found where directory expected.

I didn't have this problem before.


Solution

  • I just removed the folder build:

    rm -r build

    then I built the gem5 again:

    scons build/ARM/gem5.opt

    It worked for me.