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

Error on build for 3.4 with Visual Studio 2017 #13816

Open
pablolq opened this issue Feb 12, 2019 · 1 comment
Open

Error on build for 3.4 with Visual Studio 2017 #13816

pablolq opened this issue Feb 12, 2019 · 1 comment

Comments

@pablolq
Copy link

pablolq commented Feb 12, 2019

I am trying to build OpenCV 3.4 to use with UWP but I get errors saying method GetModuleHandleEx is not part of global namespace on file datafile.cpp

Error on build with Visual Studio 2017.
core/src/utils/datafile.cpp doesn't build for UWP (Windows Store 10.0 x64)
Error C2039 'GetModuleHandleEx': no es un miembro de '`global namespace'' opencv_world
Error C2065 'GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS': identificador no declarado opencv_world
opencvvs2017error

Originally posted by @pablolq in #7143 (comment)

@alalek
Copy link
Member

alalek commented Feb 12, 2019

UWP
GetModuleHandleEx

Mentioned functions are not a part of UWP API. Only native Win32.
Currently we don't support UWP builds. So feel free to propose PR for that if you want to get it fixed.

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

No branches or pull requests

2 participants