Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile issues for docker build #614

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

schroepf
Copy link
Contributor

Fixes a compile issue when building a docker image via

docker build -t vzlogger .

This leads to following error on the apline linux image which is used for the build:

In file included from /vzlogger/src/PushData.cpp:5:
 /vzlogger/include/PushData.hpp:18:27: error: 'int64_t' was not declared in this scope
    18 |         typedef std::pair<int64_t, double> DataTuple;
       |                           ^~~~~~~
 /vzlogger/include/PushData.hpp:14:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    13 | #include <utility> // for std::pair
   +++ |+#include <cstdint>

@conmarti
Copy link

tried the same today, had the same issue and came up with the same solution.
It worked in the past with older versions of gcc (g++)

@J-A-U J-A-U merged commit 7675a10 into volkszaehler:master Dec 18, 2023
2 checks passed
@schroepf schroepf deleted the fix/docker_build branch December 18, 2023 17:45
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.

3 participants