Help regarding OpenCv and Visual Studio Express 10.0 in 64 bit Windows 7 System

I have built Opencv using Cmake and then I am trying to run this code:
// OpenCV_Helloworld.cpp : Defines the entry point for the console application.
// Created for build/install tutorial, Microsoft Visual C++ 2010 Express and OpenCV 2.1.0

#include <cv.h>
#include <tchar.h>
#include "cxcore.h"
#include "highgui.h"


int _tmain(int argc, _TCHAR* argv[])
{
IplImage *img = cvLoadImage("funny-pictures-cat-goes-pew.jpg");
cvNamedWindow("Image:",1);
cvShowImage("image:",img);

cvWaitKey();
cvDestroyWindow("Image:");
cvReleaseImage(&img);

return 0;
}
But the error I am getting is :
1>------ Build started: Project: OpenCV_HelloWorld1, Configuration: Debug x64 ------
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvReleaseImage referenced in function wmain
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvDestroyWindow referenced in function wmain
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvWaitKey referenced in function wmain
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvShowImage referenced in function wmain
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvNamedWindow referenced in function wmain
1>Open_HelloWorld1.obj : error LNK2019: unresolved external symbol cvLoadImage referenced in function wmain
1>C:\Users\Pratik\documents\visual studio 2010\Projects\OpenCV_HelloWorld1\x64\Debug\OpenCV_HelloWorld1.exe : fatal error LNK1120: 6 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have tried various combination i the net , please help me out
Looks like you're not linking against the libraries containing the functions cvReleaseImage, cvDestroyWindow, cvWaitKey, cvShowImage, cvNamedWindow and cvLoadImage.
I am very new to this , please kindly help me in doing so by taking the above example.
Regards,
tranquished
No more here, please. One thread only: http://www.cplusplus.com/forum/general/71110/
Topic archived. No new replies allowed.