Page 1 of 1

Failing to run the AI examples

Posted: Thu May 20, 2021 10:25 am
by raphaelz
hello,

After installing SDK 3.8.1 and following al the instructions I have tried to run the AI examples, but they all got stuck with the same error, which I can't figure out what causing it.
The error lines are:

Code: Select all

/usr/bin/ld:/gap_sdk/tools/autotiler_v3/Autotiler/LibTile.a: file format not recognized; treating as linker script
/usr/bin/ld:/gap_sdk/tools/autotiler_v3/Autotiler/LibTile.a:1: syntax error
collect2: error: ld returned 1 exit status
model_rules.mk:78: recipe for target 'BUILD_MODEL_SQ8BIT/GenTile' failed
make: *** [BUILD_MODEL_SQ8BIT/GenTile] Error 1
Can you tell what causing the error and how can I fix it?

Thanks,
Raphael

Re: Failing to run the AI examples

Posted: Fri May 21, 2021 7:51 am
by kimberly
Hi!

We are indeed aware of this issue so I will look into it today. Are you by any chance the one that initiated the github issue and if not, are you doing a native install of the sdk or the docker.

Technically only the AIdeck_examples/GAP8/ai_examples should be using the autotiler but everything in images_processing_examples and test_functionalities do not use the autotilers. Do you have any problems with those?

Re: Failing to run the AI examples

Posted: Sun May 23, 2021 6:00 pm
by raphaelz
Yes, we are coworkers, and we have just solved it by installing the Autotiler from a new link (the last one was probably broken).
Anyway, thank you!

Re: Failing to run the AI examples

Posted: Mon May 24, 2021 11:16 am
by kimberly
Ah oke great!

I also put out an issue for the gapsdk to improve the error handling of the autotiler installation. Perhaps it will be fixed in the next sdk release!

https://github.com/GreenWaves-Technolog ... issues/227