-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bench File Reading Error #73
Comments
Hello utdael, I would run #include <lorina/lorina.hpp>
#include <iostream>
int main()
{
using namespace lorina;
bench_reader reader;
text_diagnostics consumer;
diagnostic_engine diag( &consumer );
if ( read_bench( "c432.bench", reader, &diag ) == return_code::success )
{
std::cout << "parsing successful" << std::endl;
}
else
{
std::cout << "parsing failed" << std::endl;
}
} On my system, this approach seems to be able to read all of Maksim's benchmarks. What do you mean by "it isn't working"? Do you see a specific error message? Edit: I should point out that Best, |
Thank you for the quick response. However, we get an error that says "no such file or directory" for the #include <lorina/lorina.hpp> library. How can I go about compiling this design? |
Try the following steps: $ git clone git@github.com:hriener/lorina.git
Cloning into 'lorina'...
[...]
$ cd lorina
$ mkdir build
$ cd build
$ cmake .. -DLORINA_EXAMPLES=ON
-- The CXX compiler identification is ...
[...]
$ make
[ 50%] Building CXX object examples/CMakeFiles/pretty_print.dir/pretty_print.cpp.o
[100%] Linking CXX executable pretty_print
[100%] Built target pretty_print
$ ./example/pretty_print PATH_TO_YOUR_BENCH_FILE Two more notes:
|
Seems to be resolved. If not, then the issue can be re-opened... |
How do you run a bench file with lorina? Do you have to run it to read the bench file line by line? We downloaded the lorina library and are trying to run it to read the bench file and it isn't working. The bench files we are trying to read are found here. http://www.pld.ttu.ee/~maksim/benchmarks/iscas85/bench/
Thank you.
The text was updated successfully, but these errors were encountered: