Failed to cross-compile with mingw-w64 (Bug #3661)


Added by Alexey Gornostaev almost 11 years ago. Updated over 9 years ago.


Status:Open Start date:2014-04-23
Priority:Normal Due date:
Assignee:Roman Donchenko % Done:

0%

Category:build/install
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty:Easy HW Platform:x64
Pull request:

Description

https://github.com/Itseez/opencv/blob/master/modules/core/src/parallel.cpp

45: #if defined WIN32 || defined WINCE

should looks like

45: #if defined WIN32 || defined WINCE || defined _WIN32

cause SYSTEM_INFO structure is undefined here elsewhere:

454: #if defined WIN32 || defined _WIN32
455: SYSTEM_INFO sysinfo;


Associated revisions

Revision 94431c23
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3661 from StevenPuttemans:fix_models_2.4

History

Updated by Alexey Gornostaev almost 11 years ago

another one: highgui/src/cap_ffmpeg.cpp using HMODULE declaration but not includes windows-specific headers

Updated by Dmitry Retinskiy almost 11 years ago

Hi Roman,
could you check this problem?
Thanks.

  • Status changed from New to Open

Updated by Philippe FOUBERT almost 11 years ago

Hi,

Just for information: I am also using mingw-w64 on branch 'master' (3.0-dev) (update at least once a week) and I don't have any compilation problem.

Details:
  • mingw : gcc version 4.8.2, x86_64-win32-seh, Built by MinGW-W64 project
  • OS : Windows 7 Professionnel, Service Pack 1, 64 bits
  • branch : https://github.com/philippefoubert/opencv.git
  • computer: Intel core i7-3740QM CPU @2.70GHz

Regards,
Philippe.

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4734

Also available in: Atom PDF