compile error
ERROR: Exception:
Traceback (most recent call last):
File “d:\programs\python\python38-32\lib\site-packages\pip_internal\cli\base_command.py”, line 216, in _main
status = self.run(options, args)
File “d:\programs\python\python38-32\lib\site-packages\aip\build.py”, line 492, in run
raise Exception(print(‘compile error’))
Exception: None
Hi @ESP, Can you share more details regarding the issue? like when are you getting the error? what code you are using? What board you are using? etc… it will help others to understand the problem better.
Hi, I’m getting the same errors suddenly. Everything was going ok. Installed several firmwares and now i’m getting this.
I have tried uninstalling python enterelly. v3.9
C:\Users>aip list
‘packages’
Library Version Location
seeed-ardupy-ads1115 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-ads1115.git
seeed-ardupy-amg8833 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-amg8833.git
seeed-ardupy-bme280 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-bme280.git
seeed-ardupy-lcd1602 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-lcd1602.git
seeed-ardupy-lis3dhtr 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-lis3dhtr.git
seeed-ardupy-mlx9064x 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-MLX9064x.git
seeed-ardupy-mma7660 1.0.0 https://github.com/seeed-studio/seeed-ardupy-mma7660.git
seeed-ardupy-my9221 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-my9221.git
seeed-ardupy-p9813 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-p9813.git
seeed-ardupy-scd30 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-scd30.git
seeed-ardupy-si114x 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-si114x.git
seeed-ardupy-TFLidar 1.0.0 https://github.com/Seeed-Studio/seeed-ardupy-TFLidar.git
C:\Users>aip install Seeed-Studio/seeed-ardupy-ultrasonic-sensor
‘packages’
Downloading library…
Using cached https://github.com/Seeed-Studio/seeed-ardupy-ultrasonic-sensor/archive/master.zip
Downloading dependencies…
Using cached https://github.com//Seeed-Studio/Grove_Ultrasonic_Ranger/archive/master.zip
C:\Users>aip build
‘packages’
|--------------- Building Firmware for wio_terminal---------------|
…QSTR updated
…C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function get_point': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:51: multiple definition of
get_point’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:63: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function set_point': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:72: multiple definition of
set_point’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:84: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function cubicInterpolate': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:111: multiple definition of
cubicInterpolate’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:133: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function bicubicInterpolate': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:118: multiple definition of
bicubicInterpolate’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:148: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function get_adjacents_1d': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:129: multiple definition of
get_adjacents_1d’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:159: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function get_adjacents_2d': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:140: multiple definition of
get_adjacents_2d’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:171: first defined here
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\cbgmjazsmod_ardupy_mlx9064x.c.o: In function interpolate_image': C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-mlx9064x/mod_ardupy_mlx9064x.c:88: multiple definition of
interpolate_image’
C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\ipqeywxamod_ardupy_amg8833.c.o:C:\Users\Z440\AppData\Roaming\aip\modules\seeed-ardupy-amg8833/mod_ardupy_amg8833.c:100: first defined here
collect2.exe: error: ld returned 1 exit status
…C:\Users\Z440\AppData\Roaming\aip\ardupycore\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-objcopy: ‘C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\Ardupy’: No such file
C:\Users\Z440\AppData\Roaming\aip\ardupycore\Seeeduino\tools\arm-none-eabi-gcc\7-2017q4\bin\arm-none-eabi-size: ‘C:\Users\Z440\AppData\Local\Temp\tmppjsfjn9p\Ardupy’: No such file
compile error
ERROR: Exception:
Traceback (most recent call last):
File “c:\users\z440\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\base_command.py”, line 228, in _main
status = self.run(options, args)
File “c:\users\z440\appdata\local\programs\python\python39\lib\site-packages\aip\build.py”, line 492, in run
raise Exception(print(‘compile error’))
Exception: None
Mlx9064x and AMG8833 are the same type of sensor.There are some similarities on the interface, which leads to incompatibility, and the temporary solution is to remove one of them.We will also modify the repeated interface here. Thank you for your feedback. @Sleepin6
Thank you. How can I unload the firmware now?
Thank you very much. It worked!
Below we can see a few solutions that would help us try them in order and fix the problem.
Solution 01: Uninstall and reinstall the AIP client
To completely remove the Azure Information Protection client we need to follow the steps below:
Step 1. Sign out of all office Apps
Step 2. Open the Apps & features and select to Uninstall the Azure Information Protection Client
Step 3. Backup Windows Registry and then delete the key
Step 4. Delete the folder C:\Users{my user name}\AppData\Local\Microsoft\MSIP
Step 5. Remove Windows credentials from windows credential manager Jump .
Step 6. Restart computer
Step 7. Download and Install the Azure Information Protection client. You can do it by following the User Guide Jump .
Solution 02 : Check for any security group configured to AIP policy
If the first solution didn’t work for the issue, then we can try the next. In this case, we need to check if there is any security group configured to AIP policy, and this could be the reason that we are not able to apply labels to emails and documents.
We can find the security group by running the following PowerShell commands.
Solution 03 : The last solution most times solve the problem.
By following the steps bellow we will remove the credentials from the Windows Credential Manager and reset the MS365 Apps activation state.
Step 1. Sign out of all MS Office Apps
Step 2. Remove Windows credentials from windows credential manager Jump .
Step 3. Execute the commands below in an elevated Windows Command Prompt.
Microsoft Windows [Version 10.0.19041.508]
(c) 2020 Microsoft Corporation. All rights reserved.C:\Users<my username>cd C:\Program Files\Microsoft Office\Office16C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /dstatusMicrosoft (R) Windows Script Host Version 5.812
Step 4. Sign-in to MS365 Applications
Regards,
Rachel Gomez