install Canon EOS utility app on Mac without CD

Nobody knows why Canon restricts EOS utility app install only with original CD. Anybody who wanna install such an app owns a Canon camera. But some of them lost their CDs or bought a secondhand camera without CD.

To import Photos from your Canon DSLR, you need either a card reader or this app. Normally Canon only provides an updater of this app online. You have to keep the original CD to run this updater. I occasionally found this post to hack the updater.

First you download the latest updater app from Canon website. Then drag the app to desktop and show its contents. Navigate to Contents > Resources and remove the file “update.plist”. Now you can run this app as a normal installer.

That’s it.

Thanks to the author of this post.

http://www.northlight-images.co.uk/article_pages/install_canon_software.html

Comments(0)

C里mkdir

找了一圈, 坚信c里可以用mkdir, 而不用windows的createDirectory或者MFC的xxxx,

终于找到了, mkdir在 <direct.h>  里有.

记得小时候用TC的时候, 有着强烈的印象C有mkdir的. 没道理找不到的.

表说偶土.

Comments(0)

How to use OpenCV 2.0a in Visual Studio?

OpenCV 2.0 now uses CMake to organize the whole project. By default, it only provides linux library. So we need to compile it first.

Download Cmake for windows and install.

Go to C:\OpenCV2.0, execute the following cmd

 cmake . -G "Visual Studio 9 2008" 

Change "Visual Studio 9 2008" to your default compiler.

Cmake will generate a solution file (containing many projects) for you visual studio. Open it and build with “release”.

Add the following path to Tools–>Options–>Projects–>VC++ Directories–>Include files

C:\OpenCV2.0\include\opencv

Add following path to Tools–>Options–>Projects–>VC++ Directories–>Library files

C:\OpenCV2.0\lib\Release

When create a new project,

add following to “Project–>Properties–>Linker->Input–>Additional dependencies

cv200.lib cxcore200.lib highgui200.lib

Tested on OpenCV 2.0 on Visual Studio 2008

Related Post:

How to configue OpenCV 1.0 in Visual Studio – Reprice

Tags:

* Comments(30)

How to make QuickTime X play mkv files

I found a compatibility issue of perian playing mkv on QuickTime X. A lot of posts suggested re-installing QT 7. I happened to find this article introducing a very simple way to make quicktime X play MKV.

Here is how.

Edit QuickTime Player.app’s /Contents/info.plist with a plain text editor like textmate or textwrangler. At the end of the file, before </dict></plist>, add the following code

<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.movie</string>
</array>
<key>UTTypeDescription</key>
<string>Matroska Video File</string>
<key>UTTypeIconName</key>
<string>generic</string>
<key>UTTypeIdentifier</key>
<string>com.apple.quicktime.mkv</string>
<key>UTTypeReferenceURL</key>
<string>http://www.matroska.org/</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>mkv</string>
</array>
</dict>
</dict>
</array>

Open Terminal.app, run command

sudo touch  /Applications/QuickTime\ Player.app

That’s all!
I have tested on my quicktime X on snow leopard.

Tags:

Comments(0)