Ask Your Question
0

cannot extract openCV

asked Aug 27 '13

yum gravatar image

hi!i have downloaded several versions of openCV(2.4.2,2.4.3,2.4.6) but I am not able to extract any one of them(it give the error 0 cannot open path "c:\users\desktop\opencv.exe" as archive). I have installed visual studio 2012 on my PC and I am using Windows 7 64-bit

Can anyone help please?

Thanks

Preview: (hide)

Comments

Did you try a double click? It is an automated extractor that can be fired up. Also, place it in a folder under your C: drive and not on your desk. It (writing permissions on desktop) can be the reason why it doesn't work. Also execute it as administrator through launch options.

StevenPuttemans gravatar imageStevenPuttemans (Aug 27 '13)edit

Thanks for your reply! do i place the setup of openCV 2.4.2 in C:\? yes i tried double clicking but same error occurs. I also have admin rights :S

yum gravatar imageyum (Aug 27 '13)edit

Make a folder test under C:/ and place it in there. Normally everyone should have reading and writing rights there.

StevenPuttemans gravatar imageStevenPuttemans (Aug 27 '13)edit

i created a folder called test in C:\ then i tried extracting it..same error

yum gravatar imageyum (Aug 27 '13)edit

are you downloading the prebuilt packages for the correct system from the original website? http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.6/OpenCV-2.4.6.0.exe/download Just tried and this extracts perfectly on two W7 x64 systems.

StevenPuttemans gravatar imageStevenPuttemans (Aug 28 '13)edit

4 answers

Sort by » oldest newest most voted
1

answered Aug 28 '13

Moster gravatar image

Maybe the opencv exes simply get blocked by a stupid Antivirus you are using (although this should never happen). Try to deactivate it.

Preview: (hide)

Comments

That is also a possibility :D

StevenPuttemans gravatar imageStevenPuttemans (Aug 28 '13)edit
0

answered Aug 28 '13

Just to make sure, I tested this on two random pc's at work today. Downloaded the installer from the latest download link at http://opencv.org and then just double clicked the exe.

This was the result, which is exactly what should happen:

image description

Do you have any zipping software on your system? Mostly if extensions get screwed, malware or virusses are active on your system. Do a deep scan with software like malwarebytes anti malware just to be sure.

Also what you could try is to fix standard associations of extensions in windows by following this link.

Preview: (hide)
0

answered Aug 27 '13

AlexanderShishkov gravatar image

You should try to install 7-Zip.

Preview: (hide)

Comments

Hi! what is 7-zip?

yum gravatar imageyum (Aug 27 '13)edit

i downloaded 7-Zip and tried extracting openCV from it but no luck

yum gravatar imageyum (Aug 27 '13)edit
-1

answered Jan 22 '15

mucdev gravatar image

Your download is not finished. The exe file is broken. Try to download OpenCV from other host!

Preview: (hide)

Comments

sorry but this does not help anyone. he mentions that he has multiple versions downloaden. No way that those downloads are all not finished ...

StevenPuttemans gravatar imageStevenPuttemans (Jan 22 '15)edit

The problem is, the broken download will also be shown as not-broken. It's shown as an normal full-size .exe file. When people try to open the .exe file, the above error will pop out! In my case, there are 3 downloads of openCV---.exe. Only one of them with the full size has worked!

mucdev gravatar imagemucdev (Jan 22 '15)edit

Question Tools

Stats

Asked: Aug 27 '13

Seen: 6,799 times

Last updated: Aug 28 '13