Closed mvxt closed 8 years ago
So... I honestly have no idea what the actual issue turned out to be. But I managed to fix it. I don't know which of these steps resolved the issue, but here's the full list of things I did:
OPT := -O3
To:
OPT := -O3 -std=gnu++11
My educated guess is that the option to set -std=gnu++11 was what fixed it. There shouldn't have been any conflict with previously installed libraries because smonteleone's script downloads the YAML and SystemC libraries separately into noxim. When I previously upgraded to noxim's latest version and installed it, I added in '-std=c++11' as a flag to OPT due to errors while making. This resulted in all of the errors and issues reported above.
Hope this helps someone!
Summary When I run noxim, I am returned an error saying it cannot find a YAML configuration file. The command I ran is this:
bin$ ./noxim -sim 40000 -warmup 5000 -dimx 8 -dimy 8 -buffer 2
This returns:No YAML configuration file found! Use -config to load examples from config_examples folder
If I run the command with the -config flag, then I get a segfault with a core dump.
bin$ ./noxim -config
returns:Segmentation fault (core dumped)
Finally, if I run the command giving it a config file as an argument, it returns a separate error.
./noxim -config ../config_examples/default_config.yaml
This returns:Steps To Recreate There were actually problems installing noxim. I run Ubuntu 16.04, and I ran the install script on this repo's README (see https://github.com/davidepatti/noxim/blob/master/other/setup/ubuntu.sh). The first time I ran it, there were errors due to certain files requiring compiler support for ISO C++ 2011 standard. Here is the error output:
So I went into the bin directory and modified the Makefile to include -std=c++11 flag in OPT, and then it compiled the rest of the files successfully, proceeding to break again on line 47 from the setup script.
Here is the output from an increased backtrace from gdb. I'm not sure what to make of it.
System Info lsb-release:
cpu:
Any help is much appreciated. I might try installing a previous version of noxim for now.