i am trying to compile some source codes in eclipse based Vitis.
Unfortunately i am getting some errors - In previous projects with the same source codes they were not present . So i suspect it got something to do with the settings (of compiler, linker..)
conflicting declaration 'typedef unsigned int uint32_t'
conflicting declaration 'typedef unsigned int uint32_t'
The suggestion from this error is that uint32_t is already defined with a different definition.
Note that since C++11, uint32_t is a defined type in cstdint (which is included with most other include files) and for c, this is a defined type since C99 (defined in stdint.h> ).
You might need to comment out this definition of uint32_t.