I have used the IoT Cloud for a while, but I got a new pc, and it says header files are not found when uploading Blink, or anything at all, but the offline ide work, But I need the IoT Cloud for my project, any help?
Hi @raminizar. I'm sorry about the problem with compiling in Arduino IoT Cloud. I'm going to ask you to post some additional information that might help us to identify the problem.
NOTE: These instructions will not solve the problem. They are only intended to gather more information about the problem.
Please do this:
- Attempt to upload the Blink sketch, just as you did before.
- Wait for the upload process to fail.
- You will see a button that looks like two pieces of paper at the top right corner of the black console panel below the "Arduino IoT Cloud" sketch panel. Click that button.
- Open a forum reply here by clicking the Reply button.
- Click the
<CODE/>
icon on the post composer toolbar.
This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press Ctrl+V.
This will paste the compilation output into the code block. - Move the cursor outside of the code tags before you add any additional text to your reply.
- Click the Reply button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt
file and then attach that file to a reply here:
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txt
format. - Open a forum reply here by clicking the Reply button.
- Click the "Upload" icon (
) on the post composer toolbar:
A dialog will open. - In the dialog, select the
.txt
file you saved. - Click the Open button.
- Click the Reply button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt
file onto the post composer field to attach it.
/usr/local/bin/arduino-cli compile --fqbn arduino:mbed_nano:nanorp2040connect --build-cache-path /tmp --output-dir /tmp/1408762309/build --build-path /tmp/arduino-build-3232EB4292BDB1099F7726B8B8F527BF -v --library /mnt/create-efs/webide/06/da/06dae0c21bf6e07576626eddc79e5576:raminizar/libraries_v2/tmp1676903569910599113 --library /mnt/create-efs/webide/06/da/06dae0c21bf6e07576626eddc79e5576:raminizar/libraries_v2/tmp1676905617808706354 /tmp/1408762309/Blink
FQBN: arduino:mbed_nano:nanorp2040connect
Using board 'nanorp2040connect' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.2
Using core 'arduino' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.2
Used platform Version Path
arduino:mbed_nano 4.0.2 /home/builder/.arduino15/packages/arduino/hardware/mbed_nano/4.0.2
Error during build: loading library from /mnt/create-efs/webide/06/da/06dae0c21bf6e07576626eddc79e5576:raminizar/libraries_v2/tmp1676903569910599113: invalid library: no header files found
i also looked in the debug console and found this?
{
"DownloadStatus": "Pending",
"Msg": "Unpacking tool windows-drivers"
}
{
"DownloadStatus": "Error",
"Msg": "remove C:\\Users\\Rami/.arduino-create/arduino/windows-drivers/1.8.0: The process cannot access the file because it is being used by another process."
}
it looks as if another program is using it even though i only have microsoft edge open
Hello again @raminizar. I apologize for this problem.
The Arduino Cloud maintainers have completed their investigation and we think the problem that caused the unexpected "invalid library: no header files found
" error should now be resolved. Please try compiling again in Arduino Cloud and then reply here to let us know whether or not you still get that unexpected error message.
Please let me know if you have any questions or concerns.
yep i just tried it and it works, sorry for the late reply
I'm glad it is working now. Thanks for taking the time to post an update!
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.