Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

hi there, i thought this would only happen to me ;)

checking WITH_WIN32UI in cmake should result in a preprocessor flag named HAVE_WIN32UI , but somehow this does not happen here ( xp, vs2009, opencv2.4.9 btw )

so, in your opencv.sln, fix the highgui project:

  • c++ / preprocessor defs , add HAVE_WIN32UI (for both debug & release!)
  • add modules/highgui/src/window_w32.cpp to that project (the actual window impl)
  • recompile

and please report back, so we can do a bug report on this !

hi there, i thought this would only happen to me ;)

checking WITH_WIN32UI in cmake should result in a preprocessor flag named HAVE_WIN32UI , but somehow this does not happen here ( xp, vs2009, opencv2.4.9 btw )

unfortunately, i don't know, how to fix the cmake issues, but i found a way to fix the resulting vcproj.

so, in your opencv.sln, fix the highgui project:

  • c++ / preprocessor defs , add HAVE_WIN32UI (for both debug & release!)
  • add modules/highgui/src/window_w32.cpp to that project (the actual window impl)
  • recompile

be aware, that all those changes will get overwritten, whenever you rerun cmake !

and please report back, so we can do a bug report on this !