Closed higuoxing closed 6 years ago
Well, this is the whole information ...
In file included from <command-line>:0:0:
/home/me/Documents/WorkSpace/riscv-sodor/emulator/common/verilator.h:15:19: error: ‘string’ does not name a type; did you mean ‘stdin’?
bool open(const string& name) override {
^~~~~~
stdin
/home/me/Documents/WorkSpace/riscv-sodor/emulator/common/verilator.h:15:8: error: ‘bool VerilatedVcdFILE::open(const int&)’ marked ‘override’, but does not override
bool open(const string& name) override {
^~~~
make[2]: *** [VTop.mk:63: emulator.o] Error 1
make[2]: Leaving directory '/home/me/Documents/WorkSpace/riscv-sodor/emulator/rv32_1stage/obj_dir'
make[1]: *** [/home/me/Documents/WorkSpace/riscv-sodor/emulator/common/Makefile.include:104: emulator] Error 2
make[1]: Leaving directory '/home/me/Documents/WorkSpace/riscv-sodor/emulator/rv32_1stage'
make: *** [Makefile:108: emulator/rv32_1stage/emulator] Error 2
Thank you. I have the same issue.
Thank you. I have the same issue.
Hi, you could use librecores/riscv-sodor, these bugs are fixed there : )
Fixed by #42
string is provided by std::string
or the building process will be failed