Tuesday, July 3, 2012

Sapugaskanda Raja Maha Viharaya

Sapugaskanda Raja Maha Viharaya is located in Makola junction, Sapugaskanda (Gampaha District, Western Province, Sri Lanka). Few of these pictures show you all the beauty of this ancient temple.












Sunday, January 8, 2012

First Computer program and Functional Computer program

Grace Murray Hopper (1906- 1992) wrote the first functional computer program. It was for the Mark I computer developed in 1944. She developed the first fully automatic calculator.

However, the first program written but never used was by the woman Ada Byron. It was written for Charles Babbage's 'analytical engine' which wasn't completed.

Saturday, May 14, 2011

Relief ;-)

Completed my final year project through many difficulties. Thanks a lot for every one who helped me in various ways. :)

After my exams (from next month), I'll surely share the knowledge gained throughout the project, with you all.

Have a nice Day!!!

Sunday, January 23, 2011

Undefined reference to CVKnearest...... Issue.

Hi....


People who are using OpenCV may come across this issue. This Quick and Brief post is to help those who are still struggling with this compilation problem.


Issue is "undefined reference to `CvKNearest::CvKNearest(CvMat const*, CvMat const*, CvMat const*, bool, int)' collect2: ld returned 1 exit status"

In my case, I am using OpenCV with Qt. 

Things to be checked are,
  • header file ml.h should be in your source file.
  • ml library path and the ml library should be in your project properties (if you are using Visual Studio) or in .pro file (if using Qt).
You have done above steps and still getting the same issue.. :S What should you check next ??????

This is where I got stuck. I got the exact help from OpenCV community. What he said was 
If you are trying to use with GCC the precompiled binaries of OpenCV for Windows, it won't work for C++ functionality. Have you recompiled OpenCV with GCC? C++ binaries produced by MSVC and GCC and not compatible against each other "

In my case, I had used MinGW for compiling. Now I am using MSVC and problem solved. :)


This URL helps to add MSVC compiler to a Qt project.
http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-qmake.html

Have a nice DAY!!! :)

Saturday, January 1, 2011

2011

Wish you all a Happy New Year 2011. May all your dreams come true. :)

Amazing Products