Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Windows nightlies error (again) #4220

Closed
DX37 opened this issue Mar 1, 2017 · 5 comments
Closed

Windows nightlies error (again) #4220

DX37 opened this issue Mar 1, 2017 · 5 comments
Assignees

Comments

@DX37
Copy link
Contributor

DX37 commented Mar 1, 2017

On build.tox.chat:

In file included from src/platform/camera/directshow.cpp:25:0:
/usr/share/mingw-w64/include/amvideo.h:1518:5: error: ‘REFERENCE_TIME’ does not name a type
     REFERENCE_TIME AvgTimePerFrame;
     ^
/usr/share/mingw-w64/include/amvideo.h:1526:5: error: ‘REFERENCE_TIME’ does not name a type
     REFERENCE_TIME AvgTimePerFrame;
     ^
/usr/share/mingw-w64/include/amvideo.h:1547:5: error: ‘REFERENCE_TIME’ does not name a type
     REFERENCE_TIME AvgTimePerFrame;
     ^
In file included from src/platform/camera/directshow.cpp:28:0:
/usr/share/mingw-w64/include/dvdmedia.h:31:5: error: ‘REFERENCE_TIME’ does not name a type
     REFERENCE_TIME AvgTimePerFrame;
     ^
@DX37
Copy link
Contributor Author

DX37 commented Mar 13, 2017

This error still exists.
@tux3

@DX37
Copy link
Contributor Author

DX37 commented Mar 18, 2017

@zetok Looks like it's not builts after this - 80f5de3 - commit. The file is src/platform/camera/directshow.cpp

@Diadlo
Copy link
Member

Diadlo commented Mar 18, 2017

@fx37 It may be related with include order. Can you try to compile with old order?

#include <cstdint>
#include <objbase.h>
#include <strmif.h>
#include <amvideo.h>
#include <dvdmedia.h>
#include <uuids.h>
#include <cassert>
#include <QDebug>

@DX37
Copy link
Contributor Author

DX37 commented Mar 18, 2017

@DX37

I got msg, @Diadlo. I just arrived to home.

@DX37
Copy link
Contributor Author

DX37 commented Mar 18, 2017

Yeah, @Diadlo. It passes with that order. But after that it creates more errors with /src/net/autoupdate.cpp. Maybe I can create PR...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants