Skip to content
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

compiling issue #13

Open
zewangnew opened this issue Jan 11, 2022 · 1 comment
Open

compiling issue #13

zewangnew opened this issue Jan 11, 2022 · 1 comment

Comments

@zewangnew
Copy link

I met the following two errors when I tried to build and install the package by typing "make"
Error 1: src/sim.cpp:192:76: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream’ and ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream’})
192 | str << "Sim: process = " << process() << " iteration = " << iteration() <<
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~
Error 2: /usr/include/c++/9/ostream:691:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream&>’
make: *** [Makefile:83: obj/sim.o] Error 1
Any help?
Thanks

@zewangnew
Copy link
Author

I temporarily passed compiling by blocking the content of sim::info. This error is an operator overloading issue but did not sort it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant