Error building opencv latest svn in Mingw gcc 4 serials

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error building opencv latest svn in Mingw gcc 4 serials

ollydbg23
Does anyone successfully build the opencv library using Mingw Compiler
in windows?

It seems that before svn 1478, I can successfully build the whole
library, but reading image type was limited, because, 3dpart library
such as "libjpeg" was not enabled in these build.

After svn 1479, kecsup has added these 3dprat libraries to highgui
target, but I found that I can't build the highgui package anymore.

I have tried several version of Mingw gcc 4 serials, but both of them
compliant that ""undefined references to __cmshared_* and _Unwind_*
symbols"  in linkage to the highgui DLL.

I suspect there is something wrong with the gcc compiler, but I'm not
sure, because most of the 3rdpart source was in pure C code.  I have
attempt to change their name from *.c files to *.cpp and change the
cmakelists(( this will make g++.exe to compile them instead of
gcc.exe), but I still failed with more errors when compiling. Now, I
still get stuck and things made me so mad!

Can someone help for testing these builds?

A belief steps is:
1, download the svn code from sourceforge using tortoiseSVN.
2. use CMake to generate makefile for Mingw. (I'm using code::blocks,
so ,I also generate a code::blocks project).
3, build the whole project.


I have filed a bug report on sourceforge, for more detailed
information. see here:

https://sourceforge.net/tracker2/?func=detail&aid=2505882&group_id=22870&atid=376677

I also suggested some dev of mingw for help, they think it's a bug in
CMake script or something else. see here:

https://sourceforge.net/tracker2/?func=detail&aid=2505869&group_id=200665&atid=974439

Thank you.
I appreciate all the suggestions and comments.




Reply | Threaded
Open this post in threaded view
|

Re: Error building opencv latest svn in Mingw gcc 4 serials

ollydbg23
I have found the problem, and fixed it.
and fired a bug report here:

https://sourceforge.net/tracker2/?func=detail&aid=2512177&group_id=22870&atid=376677

Thank you!