Ask Your Question
0

Working binaries for windows

asked 2013-05-06 17:34:36 -0600

Foaly gravatar image

Hello everybody!

I have been working with OpenCV before, but I had to switch machines and my version of OpenCV got lost in the process. So I need a new one.

First I tryed to download the latest release for the website, but I got runtime errors, I was unable to solve. See this issue.

I already have some experience compiling librarys on my own, so downloaded the latest source and tryed to compile it myself with MinGW gcc 4.7.2 on my windows 8. I have been trying to do that for the past two days. I ran into a lot of difficulties. For example this issue or that I had to include some files manually and in the end there was a undefined reference I could not resolve.

To make a long story short, I almost ready to give up now. So what I'm asking is if somebody could please be so kind to upload a working install directory (include, lib, bin) of OpenCV 2.4.5 (or the lastest source I don't care) compiled with MinGW gcc 4.7 for windows(I also don't care about TBB or anything, I just want a working copy) so I can finally get my code working again.

I would be extremly thankful, if somebody could help me out here! Thanks in advance Foaly

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-07 03:21:45 -0600

If you download the openCV from main download site, you are given the prebuilt openCV libraries. Only thing that is missing are the required pdb files.

The needed lib and dll folders are in the build/include folder :)

However, to get your code to work, just ignore warnings that pdb files are not available.

edit flag offensive delete link more

Comments

As I said in my original post, whenever I use the prebuilt libraries I get a runtime error. All the detail are in this question. What do you mean with pdb files? I am using MinGW and Code::Blocks.

Foaly gravatar imageFoaly ( 2013-05-07 08:34:25 -0600 )edit
1

Ok, post says windows XP, this one windows 8, which is it? Start with including all libraries first, then use a select set of them. THis makes sure there are no library dll problems. Your code on top has NO include with highgui.hpp ... add this or interfacing is impossible.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-05-07 10:19:57 -0600 )edit

The problem appear for both my windows 8 and my windows xp. The including and link works fine, but once I run I get a crash saying 0xc0000142 on wind7 and 0xc0000005 on xp

Foaly gravatar imageFoaly ( 2013-05-07 10:57:51 -0600 )edit

Basically the error states nothing. Please go into debug mode and post the exact lines where everything crashes. Then and only then, people will be able to solve your problem.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-05-07 11:36:30 -0600 )edit

The callstack and all the details for the crash on xp are in the other question. The one on Windows 8 (my current machine, the xp is just an older one) behaves pretty much the same way. In debug mode it exits right after launching with a SIGSEGV fault. Here is the call stack: http://pastebin.com/MdnYF86E

Foaly gravatar imageFoaly ( 2013-05-07 12:15:41 -0600 )edit

Question Tools

Stats

Asked: 2013-05-06 17:34:36 -0600

Seen: 492 times

Last updated: May 07 '13