Help understanding ResolveLibrary()

yeahtuna

Well-known member
I've managed to break compiling on my main development machine. Yesterday is worked, today it doesn't. I have a very unorthodox Arduino 1.8.19 installation.

It's installed as 'portable' to OneDrive, so I can access it one multiple machines (my main machine and my laptop). This have been working great for several months, but today when I went to compile on my main development machine (an empty new sketch, and any other sketch), I'm seeing in the following in the verbose compile output:
Code:
Alternatives for type_traits: []
ResolveLibrary(type_traits)
  -> candidates: []

In file included from C:\Users\robertOneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/WProgram.h:46:0,
                 from C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/Arduino.h:6,
                 from C:\Users\robert\AppData\Local\Temp\arduino_build_626530\sketch\test_t4.ino.cpp:1:
C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/wiring.h:45:23: fatal error: type_traits: No such file or directory

I can see the file there in...
Code:
C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\tools\arm\arm-none-eabi\include\c 1\5.4.1\ext

I can still compile just fine on my laptop, and on my main development machine, if I set the board type to one of the ardunio boards, things compile just fine. So I'm guessing there's something wrong with the some sort of include definition. Does anyone have any information on ResolveLibrary because I'm sure that will lead directly to the solution.
 
I've managed to break compiling on my main development machine. Yesterday is worked, today it doesn't. I have a very unorthodox Arduino 1.8.19 installation.

It's installed as 'portable' to OneDrive, so I can access it one multiple machines (my main machine and my laptop). This have been working great for several months, but today when I went to compile on my main development machine (an empty new sketch, and any other sketch), I'm seeing in the following in the verbose compile output:
Code:
Alternatives for type_traits: []
ResolveLibrary(type_traits)
  -> candidates: []

In file included from C:\Users\robertOneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/WProgram.h:46:0,
                 from C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/Arduino.h:6,
                 from C:\Users\robert\AppData\Local\Temp\arduino_build_626530\sketch\test_t4.ino.cpp:1:
C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\teensy\avr\cores\teensy3/wiring.h:45:23: fatal error: type_traits: No such file or directory

I can see the file there in...
Code:
C:\Users\robert\OneDrive\Arduino\arduino-1.8.19\hardware\tools\arm\arm-none-eabi\include\c 1\5.4.1\ext

I can still compile just fine on my laptop, and on my main development machine, if I set the board type to one of the ardunio boards, things compile just fine. So I'm guessing there's something wrong with the some sort of include definition. Does anyone have any information on ResolveLibrary because I'm sure that will lead directly to the solution.
Now my laptop can't compile either....Shoot me .
 
Have seen OneDrive building noted as an issue before ... make sure all files are stored locally? Right Click 'local copy' - wait for SYNC to complete - haven't done it for a day so not sure of the text. And it was for somebody else as Uninstalling OneDrive is what every machine user should do. OneDrive overlords have taken to removing local copies to their online service to make sure you don't get uppity thinking they are yours it seems,

Is the board really a Teensy3? Probably right board selected - but those are the notes at hand. Good Luck.
 
I was thinking that looked a bit off. I'll have a look. Maybe my cat was helping with development.

Likes like it's c++\something.

Does anyone know where I can get teensydruino 1.57?
 
Last edited:
It was c++\5.4.1. Changed it back and all is fine again. I'm not sure if it was me, the cat, a buggy OneDrive update, or something else. Thanks for the help guys. I was pulling my hair out yesterday.
 
Back
Top