Skip to content

Improve support for Windows Embedded Compact#15059

Merged
alalek merged 2 commits intoopencv:3.4from
hugolm84:improved-support-for-wince
Jul 24, 2019
Merged

Improve support for Windows Embedded Compact#15059
alalek merged 2 commits intoopencv:3.4from
hugolm84:improved-support-for-wince

Conversation

@hugolm84
Copy link
Copy Markdown
Contributor

This pullrequest changes

This PR improves support for building OpenCV for Windows Embedded Compact 2013 and below.
I have tried to make this PR as small and concise as possible. Changes include:

  • Zlib: Do not redefine errno and fdopen for WINCE800
  • CMakeLists.txt: CMAKE_SYSTEM_NAME is only available after project() have been called
  • CMakeLists.txt: Added WINCE flag
  • Filesystem: Do not define OPENCV_HAVE_FILESYSTEM_SUPPORT if platform is WINCE
  • Glob: Only use W functions for WinAPI calls if platform is WINCE
  • System: Use NO_GETENV to determine if getenv calls is supported or not
  • System: Added code to get temp-path on WINCE

In addition: I have added platforms/wince:

  • arm-wince toolchain
  • headless overrides for CMake
  • readme

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good to me 👍

@alalek alalek merged commit 2ee00e7 into opencv:3.4 Jul 24, 2019
@alalek alalek mentioned this pull request Jul 25, 2019
dvd42 pushed a commit to dvd42/opencv that referenced this pull request Aug 6, 2019
* Improve support for Windows Embedded Compact

* Remove redundant set(WINCE true) and format CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants