Hello I am beginner to gem5. I am facing a problem while following the official documentation of gem5 for creating a hello sim object. I am listing my errors below.
Please help me Warning: Couldn't find any HDF5 C++ libraries. Disabling HDF5 support. Checking whether __i386__ is declared... (cached) no Checking whether __x86_64__ is declared... (cached) yes Building in /home/abhi/gem5/build/X86 Using saved variables file /home/abhi/gem5/build/variables/X86 scons: done reading SConscript files. scons: Building targets ... [ CXX] X86/hpca_tutorial/hello_object.cc -> .o build/X86/hpca_tutorial/hello_object.cc:12:1: error: no declaration matches 'HelloObject* HelloObjectParams::create()' 12 | HelloObjectParams::create() | ^~~~~~~~~~~~~~~~~ In file included from build/X86/hpca_tutorial/hello_object.hh:4, from build/X86/hpca_tutorial/hello_object.cc:1: build/X86/params/HelloObject.hh:17:19: note: candidate is: 'HelloObject* HelloObjectParams::create() const' 17 | HelloObject * create() const; | ^~~~~~ build/X86/params/HelloObject.hh:14:8: note: 'struct HelloObjectParams' defined here 14 | struct HelloObjectParams | ^~~~~~~~~~~~~~~~~ scons: *** [build/X86/hpca_tutorial/hello_object.o] Error 1 scons: building terminated because of errors. *** Summary of Warnings *** Warning: Header file <png.h> not found. This host has no libpng library. Disabling support for PNG framebuffers. Warning: Couldn't find any HDF5 C++ libraries. Disabling HDF5 support.
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s