Did you create myFile.cc? myFile.cc should be in the same directory of the Sconscript that you added because you used the path 'myFile.cc' to the file.
I hope this helps. ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Phd Student ________________________________ De: Alex Freij via gem5-users <[email protected]> Enviado: quinta-feira, 7 de maio de 2020 11:31 Para: [email protected] <[email protected]> Cc: Alex Freij <[email protected]> Assunto: [gem5-users] Adding new source files Hi all, I'm trying to understand how to add source files to the gem5 project without the need to create a SimObject. I've added `Source('myFile.cc')` into the respective SConscript file, but when I try to build I get this message: scons: *** [build/X86/sim/myFile.o] Source `build/X86/sim/myFile.cc' not found, needed by target `build/X86/sim/myFile.o'. scons: building terminated because of errors. This is a very rookie question, but guidance would be appreciated! - Alex
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
