I am getting the error message
C:\Users\kogami\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1\arc-elf32\include\c++\4.8.5\bits\iostream:74: undefined reference to `std::ios_base::Init::~Init()'
at link time with version 1.8.1 with an Arduino 101 target.
I can see the ios_base.h include file at
C:\Users\kogami\AppData\Local\Arduino15\packages\Intel\tools\arc-elf32\1.6.9+1.0.1\arc-elf32\include\c++\4.8.5\bits
The error message also indicates that the reference is from the iostream in the installed library.
How can I include the necessary library to complete the build/link?
As you did not post your sketch it is going to be difficult to provide help.
The sketch is relatively simple, but I am trying to port an extensive amount of code into a library. The original code is Windows with more than a hundred files. I don't know if including all of the files will help.
It could be possible that there is a class method signature problem, but that is not apparent from the error message.
BTW I am using an Arduino 101 target.
The sketch is relatively simple
So post a simple program that exhibits the error.
This simple sketch shows the error.
sketch_apr14a.zip (262 Bytes)
#include <iostream>
Looks wrong
But it doesn't generate a file not found error. It compiles and brings in libraries, but when it brings in iostream, there is no library implementation of ios_base.
I have attached the full error log.
errorlog.txt (11.5 KB)
It compiles and brings in libraries,
Which version of the IDE are you using ?
1.8.1.
Just installed 1.8.2. Same problem.
I have been waiting for a week for some response to this issue. It seems like there is a module missing from the libraries files to support ios_base. Is there a patch for this?