Problems with the chrono library in NIOS II
Even though the includes in the bsp has the chrono library and #include<chrono> doesn't throw any error, when the library is used, there is always an error
For Example,
when I use "std::chrono::high_resolution_clock::duration timeout = std::chrono::seconds(0)" the following error is thrown:
Multiple markers at this line
- Type 'std::chrono::high_resolution_clock::duration' could not be
resolved
- Function 'seconds' could not be resolved.
I am using a NIOS II/e core in Quartus Prime Lite 18.0 for Max 10.
P.S. The exact same piece of code works in normal C++ environment but not in NIOS II environment.
Hi CaptainPrice15,
The screenshot is just to show the application is able to run with the chrono library.
Try to compile/build all even when you see the errors while editing the code.
Thanks.
Regards,
Aik Eu