Skip to content

Comments

Fix host driver build failure due to missing includes#68

Open
devttys wants to merge 2 commits intoMicroPhase:masterfrom
devttys:fix-missing-includes
Open

Fix host driver build failure due to missing includes#68
devttys wants to merge 2 commits intoMicroPhase:masterfrom
devttys:fix-missing-includes

Conversation

@devttys
Copy link

@devttys devttys commented Feb 11, 2024

Host driver fails to compile on the latest master:

[ 10%] Building CXX object lib/CMakeFiles/uhd.dir/cal/database.cpp.o
In file included from /home/tyrell/Coding/antsdr_uhd/host/lib/cal/database.cpp:7:
/home/tyrell/Coding/antsdr_uhd/host/include/uhd/cal/database.hpp:86:24: error: ‘uint8_t’ was not declared in this scope
   86 |     static std::vector<uint8_t> read_cal_data(const std::string& key,
      |                        ^~~~~~~

@gettyhub
Copy link

The fix it says is to add cstdint to header files. Not a problem on Ubuntu but trouble for other builds. But then that's not the only errors encountered. More follow after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants