Skip to content

Arduino IDE compiling error in aac_decoder.cpp library #531

Description

@amishrabbit

Hello there. While attempting to build/upload to a "Hackerbox # 70" hardware build (https://www.instructables.com/HackerBox-0070-Radio-Over-Internet/) of this project, the Arduino IDE 1.8.19 throws an error with this detail:

ESP32Radio\aac_decoder.cpp: In function 'void GenerateNoiseVector(int*, int*, int)':

aac_decoder.cpp:5297:41: error: invalid conversion from 'uint32_t*' {aka 'long unsigned int*'} to 'unsigned int*' [-fpermissive]

5297 | coef[i] = ((int32_t)Get32BitVal((uint32_t *)last)) >> 16;

  |                                         ^~~~~~~~~~~~~~~~

  |                                         |

  |                                         uint32_t* {aka long unsigned int*}

As an inexperienced developer who is just trying to follow directions, this has been a challenging project to complete. I'd welcome any guidance or assistance you can provide to work around this problem.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions