aws-samples / amazon-kinesis-video-streams-webrtc-sdk-c-for-freertos

Apache License 2.0
37 stars 26 forks source link

Issue in building the code #22

Closed ayazalavi closed 2 years ago

ayazalavi commented 2 years ago

Hi,

When I try to run the command "idf.py build" in project directory then I get following error and bunch of warnings:

/Volumes/Projects/ESP-Projects/WebRTC-FREERTOS/main/lib/amazon-kinesis-video-streams-webrtc-sdk-c/src/include/kvs/common_defs.h:331:16: error: redefinition of typedef 'UINT32' with different type

then I get

ninja: build stopped: subcommand failed.
ninja failed with exit code 1
dhornacek-spindance commented 2 years ago

@ayazalavi Hey there, I remember having this problem when building with esp-idf v4.4 as well, did you find any solutions here?

ayazalavi commented 2 years ago

@ayazalavi Hey there, I remember having this problem when building with esp-idf v4.4 as well, did you find any solutions here?

Yes I disabled datachannel in cmake file and changed status constant to different name in entire codebase. Lots of work I did to achieve this.

dhornacek-spindance commented 2 years ago

Gotcha, I had a feeling I would have to change all the STATUS names. Thanks for the reply